ck update linchannel

Updates an existing LIN Channel node in the current measurement setup.

Synopsis

ck update linchannel
    <CHANNEL_NAME_OR_ID>
    [--url <String>]
    [--api-key <String>]
    [--language <en|zh|ja>]
    [--name <NODE_NAME>]
    [-r|--bit-rate <BIT_RATE>]
    [-v|--protocol-version <1.3|2.0|2.1|2.2>]
    [-m|--master <True|False>]
    [-d|--database <LDF_FILE>]
    [-t|--schedule-table <SCHEDULE_TABLE_NAME>]
    [--lin-message-info <True|False>]

ck update linchannel -h|--help

Arguments

  • CHANNEL_NAME_OR_ID
    The name or identifier of the LIN Channel node to update.

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).

  • --name
    New name for the node.

  • -r|--bit-rate
    The bit rate in bits per second, 1000-20000.

  • -v|--protocol-version
    The LIN protocol version, 1.3, 2.0, 2.1 or 2.2.

  • -m|--master
    Connect to the bus as master.

  • -d|--database
    The LDF database file to get schedule table definition from.

  • -t|--schedule-table
    Name of the schedule table to be used if this channel is master.

  • --lin-message-info
    Record LIN Message Info.

Examples

ck update linchannel "LIN 1" --bit-rate 9600
ck update linchannel "LIN 1" --protocol-version 2.0 --master true
ck update linchannel 1875f340-a9c4-4d5b-993c-b08ce4bdfca2 --name "LIN channel 1"