User`s guide
74 DC 900-1343D
DDCMP Programmer’s Guide
C.7 receive-data-packet
Packet Description
This packet is received for data from a remote application, for acknowledgment of some
sent commands and for ICP exceptions.
Packet Header
Freeway (DLI only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_READ
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = length of data & protocol header
(used for non-DLI only)]
usICPCommand = DLI_ICP_CMD_READ
iICPStatus = - 0 or error value
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_PROT_RECV_DATA
iProtModifier = - 0 for data, else see Table C–1 below
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = protocol session number from “attach-packet”
usProtSequence = 0
usProtXParms[0] = 0
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
without DLI.
Data
Data received from remote application if iProtModifier = 0