Command: CMD_SEND_ID
Destination: SD_LIN
Destination Channel: Channel Number
Description
Clients use this command to send a Frame ID on the LIN bus via the master node being emulated by the .
Command Data Format
Frame Name Frame ID padding variable 1 byte 0-3 bytes
Frame Name
The name of the frame which will be transmitted on the LIN bus. A special value of an empty string (a single null character) will cause the command to use the optional Frame ID value instead. If the Frame Name, a null terminated string, is not empty, the Frame ID is ignored.
Frame ID
The Frame ID which will be transmitted on the LIN bus. This value is ignored unless the Frame Name is an empty string (a single null character).
note:
There is a check to insure that the master node is being emulated by the LIN card. If the master node is not being emulated, a response of RESP_INVAL_PARAM is returned.
Response Data Format
none
Response Return Codes
RESP_OK Execution of the command was successful. RESP_INVAL_PARAM No LDF (LIN Description File) has been parsed or the Frame Name does not exist in the LDF. RESP_UNSUPPORTED This command is not supported on the specified channel. RESP_UNREG The specified source channel is not registered with the server. RESP_UNKNOWN_ERR An unknown error occurred.