User`s guide
D: ADCCP NRM Detailed Command and Response Headers
DC 900-1317J 145
D.14 station-init-packet (optional)
Packet Description
This packet is valid only if option 5 (station-config-packet) has been enabled. This
packet is used to change station operation to the initialization state. Depending on the
value in the
iProtModifier field the local and remote station’s operation states can be
changed or just the local station’s operation state can be changed. While in this state
unformatted data may be sent or received. Unformatted data is raw information
bounded by flags and terminated with a frame check sequence (FCS) field. The user
adopts total responsibility for defining and adhering to the link-level protocol used in
initialization state.
Packet Header
Freeway (DLI api only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = 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_STATION_INIT
iProtModifier = - 0 local and remote station
- 1 just local station
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 with-
out DLI.
Data
None.