candbc_ccp_cmd

Purpose:

Instruct the CanDbc Driver to send a cpp command message.

Enter:

candbc_ccp_cmd <CCP _COMMAND> [data] [-C=n]

Where:

CCP_COMMAND

Specify one of the following commands: 

  • CCP_CONNECT
  • CCP_SET_MTA
  • CCP_DISCONNECT
  • CCP_ENABLE_DEBUG
  • CCP_DISABLE_DEBUG

data

Optional. Specify a hex string that represents data for the command.

-c

Optional. Specify the channel if both channels on are being used on an AC2 Card and the same CAN message can be sent from both channels.

Example:

candbc_ccp_cmd CCP_CONNECT
Send the message on the default channel.

candbc_ccp_cmd CCP_SET_META “0x01000000” -c=1
Send the message on a second channel.

candbc_ccp_cmd CCP_DISCONNECT
Send the message the on the default channel.

Notes:

 

See Also:

Can Bus Interface Setup and Use