User guide
188 DC 900-1338I
Protocol Software Toolkit Programmer Guide
9.3.2 Internal Test Message
The test command is a diagnostic tool used by the client application. Data is written to
the SPS in the data area following a protocol header. The utility task immediately
returns this data to the client application.
The following is an example of the format of the ICP and protocol headers received by
the SPS:
ICP_HDR
count = size of protocol header (16 bytes) plus size of data
command = DLI_ICP_CMD_WRITE_EXP
params[0] = return node number assigned by msgmux or the ICP driver
PROT_HDR
command = DLI_ICP_CMD_TEST
DATA AREA = sample data
9.3.3 Internal Ping
The ping command provides a way for the client application to verify that the SPS is up
and running. This message is passed from the utility task to the protocol task before
being returned to the client application as an acknowledgment.
The following is an example of the format of the ICP and protocol headers received by
the SPS:
ICP_HDR
count = size of protocol header (16 bytes)
command = DLI_ICP_CMD_PING
params[0] = return node number assigned by msgmux or the ICP driver
PROT_HDR
command = DLI_ICP_CMD_PING