Back to LIN Commands
CMD_LDF_UPLOAD

Command: CMD_LDF_UPLOAD
Destination: SD_LIN
Destination Channel: 0

Description

Clients use this command to upload an LDF (LIN Description File) to the to be parsed (loaded) at a later time.


Command Data Format

Block Number Data padding
2 bytes 1 to MAXPAYLOAD - 6 bytes 0-3 bytes
Block Number
This is a sequence number that should start at zero for the first block of data and increment by one for each subsequent block of data uploaded.
Data
The data to be uploaded to the . The length of Data is the Data Length in the Frame Header minus 7. (4 bytes for the Command Header and 3 for the Block Number and Handle.)

note:
The LDF description command must be used to specify the LDF filename before this command is used to upload the file.


Response Data Format

none


Response Return Codes
RESP_OK Execution of the command was successful.
RESP_INVAL_PARAM Either the Block Number or the Handle is not valid.
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|