User`s guide

D: ADCCP NRM Detailed Command and Response Headers
DC 900-1317J 157
D.24 write-unnum-data-packet (or write-unnum-eom-data-packet)
Packet Description
This packet is valid only if the client has enabled option 4 (station-config-packet) for the
specified station. For NRM stations bit 0 in the
iProtModifier field indicates whether
more data packets follow. If the data packet is sent as part of an NRM primary station
broadcast the ICP switched to RNR polling and allows the client 1 or 2 seconds after
broadcast completion to send more data before reverting to normal (RR) polling auto-
matically. If the data is sent via a NRM secondary station and the stations transmit win-
dow is still open, the ICP transmits the data in a response I-frame with the f-bit reset to
zero. Bit 1 and bit 2 of the
iProtModifier field determine the frame addressing mode.
Packet Header
Freeway (DLI api only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = length of data + 16 (used for non DLI api only)]
usICPCommand = DLI_ICP_CMD_WRITE
iICPStatus = 0 - for Big Endian Clients or
= 0x4000 - for Little Endian Clients
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_PROT_SEND_UNNUMBERED_DATA
(or DLI_PROT_SEND_UNNUMBERED_DATA_EOM)
iProtModifier = 0 normal addressing/final frame
1 normal addressing/ more data to follow
2 selective broadcast/final frame
3 selective broadcast/ more data to follow
4 general broadcast/final frame
5 general broadcast/more data to follow
6 or 7 ERROR
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = protocol session number from "attach-packet"
usProtSequence = userMarker (user-chosen marker)
usProtXparms[0] = - 0 for broadcast addressing (gen. or sel.)
- nonzero station id for normal addressing
usProtXparms[1] = size of data (in bytes)
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.