Back to Signal Conversion Commands
CMD_CNVT_GET_SIG_NAMES

Command:              CMD_CNVT_GET_SIG_NAMES
Destination: SD_CNVT
Destination Channel: 0

Description

Clients use this command to retrieve the signal names of a message defined in the XML file that has been parsed.


Command Data Format

Message Name Padding
variable 0-3 bytes

Message Name
The name of a message contained in the XML signal conversion configuration file previously read. (Formatted as a null terminated string.)


Response Data Format

Number First Signal . . . Last Signal padding
2 bytes variable . . . variable 0-3 bytes

Number
The number of signal names to follow. (network byte order)

Signal
The name of the signal as a null terminated string.

 

note:
The signal names are variable lengths. Each name is terminated with a null character, making it a standard C string. This enables the use of strcpy() and length() when working with the names.


Response Return Codes

RESP_OK Execution of the command was successful.
RESP_INVAL_PARAM No LDF (LIN Description File) has been parsed.
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|