ck send can

Sends out a CAN message.

Synopsis

can [OutputChannel] [--brs] [-d|--data] [--fdf] [-i|--id] [-l|--language] [--rtr]

Description

Sends out a CAN message.

Arguments

  • OutputChannel

    The identifier/name of the output channel to be used.

Options

  • --brs

    Send flexible data frame with bit rate switch.

  • -d|--data

    The message data, a byte array (hex format) passed as a string, e.g. 0001020304. (required)

  • --fdf

    Send message as flexible data frame.

  • -i|--id

    The message id. Prefix with 0x to indicate hex format. Suffix with x to indicate extended identifier. (required)

  • -l|--language

    Specify the preferred language to be used in all output strings. Default value is English (en).

  • --rtr

    Send message as remote request frame.

Examples

  • ck send can "CAN 1" --id 0xAB -d 0001020304