User`s guide

136 DC 900-1317J
ADCCP NRM Programmer’s Guide
D.7 station-config-packet
Packet Description
This packet is used to configure a station on a link. The data field consists of a data
structure with the following format:
WORD Description Values
---- ----------- ------
0 bit 0 Enable XID/RID (option 1) 0=no, 1=yes
0 bit 1 Enable REJ (option 2) 0=no, 1=yes
0 bit 2 Enable SREJ (option 3) 0=no, 1=yes
0 bit 3 Enable UI (option 4) 0=no, 1=yes
0 bit 4 Enable SIM/RIM (option 5) 0=no, 1=yes
0 bit 5 Enable UP (option 6) 0=no, 1=yes
0 bit 6 Enable extended address (option 7) 0=no, 1=yes
0 bit 7 Delete response I-frames (option 8) 0=no, 1=yes
0 bit 8 Delete command I-frames (option 9) 0=no, 1=yes
0 bit 9 Enable extended sequencing(option 10) 0=no, 1=yes
0 bit 10 Delete RSET (option 11) 0=no, 1=yes
0 bits 11-15 reserved 0
1 byte 0 Transmit window size 1-7
(if word 0 bit 9=yes, range = 1-127)
1 byte 1 SREJ Threshold 0-value of window size
2 Maximum I-frame data length 0-buffer size set by
set-buf-size-packet
3 byte 0 Local address length 0-127
(if word 0 bit 6=yes, range = 0-128)
3 byte 1 Remote address length 0-127
(if word 0 bit 6=yes, range = 0-128)
4-5 Local address array 0-
6-7 Remote address array 0-
Packet Header
Freeway (DLI api only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = 32 (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_CFG_LINK
iProtModifier = 1
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = protocol session number from "attach-packet"
usProtSequence = 0
usProtXparms[0] = non-zero station id
usProtXparms[1] = 16