ACC HDLC/LAP-B (ABM) User's Guide

40 Chapter3
Using HDLC/LAP-B (ABM) Protocol
Status and Error Messages
The following status messages are used by the protocol on E1/T1
hardware to return data in response to a control write:
88 ST25L2STAT Statistics upload
Thismessageissentinresponsetoa
CW_STATS
control
write. The data buffer contains a
x25l2stat_type
structure
(defined in
/usr/include/zcom/zcomx25.h
).
89 ST25REVCD Revision code upload
Thismessageissentinresponsetoa
CW_REVCODE
control write. The data buffer contains a single byte
which is the current protocol version. Currently, this is
11.
Write Completion Status Codes
The following statuses are returned i n response to write reques ts.
Although these are a part of the standard status set, they are not used by
all protocols, and have a particular significance within this protocol.
0 IO_OK No error detected
The request was successfully transmitted and
acknowledged by the remote side.
1 IO_DSBL Terminal disabled
The terminal must be enabled before it will accept
write or control write requests.
22 IO_LNK_DSC Link disconnected
An unrecoverable error o ccurred while this request was
waitingtobesentortobeacknowledgedbytheremote
side. The transmit request has been flushed.
23 IO_LNK_RST Link reset
A recoverable error occurred while this request was
wai ting to be acknowledged by the remote side. The
transmit request has been flushed.