User`s guide

132 DC 900-1317J
ADCCP NRM Programmer’s Guide
D.4 set-buffer-size-packet
Packet Description
This packet is used to set an ICP Message buffer size. The iProtModifier field consists of
the maximum data size (as the number of 64 byte pages). The valid range is - 8192.
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_SET_BUF_SIZE
iProtModifier = number of 64-byte pages required
usProtLinkID = 0
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.
Packet Exchanges
usProtCommand sent usProtCommand received
------------------ ----------------------
DLI_PROT_SET_BUF_SIZE DLI_PROT_RECV_BUF_SIZE
(see "set-buf-size-ack-packet" below)