Back to LIN Commands
CMD_GET_NODE_SIGNALS

Command: CMD_GET_NODE_SIGNALS
Destination: SD_LIN
Destination Channel: 0

Description

Clients use this command to retrieve the signal names published by a node defined in the LDF (LIN Description File) that has been parsed.


Command Data Format

Node padding
variable 0-3 bytes

Node
The name of the node from which the published signals will be returned. The name is a null terminated string.


Response Data Format

Number Signal Name . . . padding
2 bytes variable . . . 0-3 bytes

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

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

 

notes:
The signal name is returned as a null terminated string that is repeated as necessary until all of the signals published by the node are listed.

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, the node is not defined in the LDF or too many signals are present to fit the response.
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|