User`s guide
172 DC 900-1317J
ADCCP NRM Programmer’s Guide
D.36 recv-link-except-packet
Packet Description
The ICP uses this packet to report operational exceptions on the link or station.
Packet Header
Freeway (DLI api only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_READ
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = 16 (used for non DLI api only)]
usICPCommand = DLI_ICP_CMD_READ
iICPStatus = - 0 or DLI return status
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_PROT_RECV_LINK_EXCEPTION
iProtModifier = 1 Data Poll Timeout (only on NRM secondary
stations)
= 2 Data Poll Resumed (only on active NRM
secondary stations)
= 3 Retry Limit Exceeded
= 4 Flags Synch. Lost (only on link with a
configured secondary station)
= 7 DCD Lost
= 8 DCD Gained
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = protocol session number from "attach-packet"
usProtSequence = 0
usProtXparms[0] = 0 or non-zero station id
usProtXparms[1] = 0
Note
The Freeway header is used only with DLI (it is not applicable for
DLITE), and the
usLength field of the ICP header is used only with-
out DLI.
Data
None