canMatch - Match received CAN message

Test if a particular CAN message has been received.

Usage:

- command: canMatch <port> <msgId> [<b> <b> ...]
  [extractKey: <key>]
  [retry: <retryCount>]

Argument

Description

port

PLT CAN interface; currently only CAN0 is available.

msgId

CAN Message Arbitration ID. Can be specified as a decimal, hex, or binary number, depending on prefix. Use 0x for hex and 0b for binary. If no prefix is specified, the value will be interpreted as decimal.

b

Payload bytes. Each byte can be specified as a decimal, hex, or binary number, depending on prefix. Use 0x for hex and 0b for binary. If no prefix is specified, the value will be interpreted as decimal.

key

Key in which to store the matching CAN message (optional)

retryCount

Number of times to retry the test step (optional)