ck send lin-request

Writes a LIN message header to the LIN bus. A slave in the system is then expected to fill in the header with data. Only available in master mode.

Synopsis

ck send lin-request
    <OUTPUT_CHANNEL_NAME_OR_ID>
    [--url <String>]
    [--api-key <String>]
    [--language <en|zh|ja>]
    -i|--id <MESSAGE_ID>

ck send lin-request -h|--help

Arguments

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

Options

  • --url
    Specify the URL of the CanKingService if connecting to a remote host. Falls back to the CANKING_REMOTE_URL environment variable. If not specified, the command will connect to a local CanKingService instance.

  • --api-key
    API key required when connecting to a remote CanKingService instance. Falls back to the CANKING_REMOTE_API_KEY environment variable.

  • --language
    Specify the preferred language to be used in all output strings. Default value is English (en). Supported languages are English (en), Chinese (zh), and Japanese (ja).

  • -i|--id (required)
    The message id. Prefix with 0x to indicate hex format. Valid identifiers are 0-63.

Examples

ck send lin-request "LIN 1" -i 1
ck send lin-request "LIN 1" --id 0x3F