canSend - Send CAN message

Send a CAN data frame.

Usage:

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

Argument

Description

port

CAN port name: CAN0, CAN1, CAN2, etc.

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.

nofd

Send Classic CAN frame, on a port configured for CAN-FD.

key

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

retryCount

Number of times to retry the test step (optional)

Examples