Back to LIN Commands
CMD_STORE_DATA

Command: CMD_STORE_DATA
Destination: SD_LIN
Destination Channel: Channel Number

Description

Clients use this command to store data bytes for a frame that is published by a node being emulated by the .


Command Data Format

Frame Name Frame ID Data padding
variable 1 byte 2-8 bytes 0-3 bytes

Frame Name
The name of the frame for which the information will be stored. 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 for which the information will be stored. This value is ignored unless the Frame Name is an empty string (a single null character).

Data
All of the data bytes for the frame being stored.



notes:

The data supplied with this command is saved by the slave task on the LIN card. When the master task sends the frame ID, the card responds with this data.

There is no check to insure that the node that publishes this data is being emulated by the .


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.

|Top|