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

36 Chapter3
Using HDLC/LAP-B (ABM) Protocol
Status and Error Messages
Status and Err or Messages
HDLC/LAP-B(ABM)makesuseofarangeofmessagestatuscodesand
unsolicited status messages, other than the standard status codes
described in the ACC Error Guide.
The definitions for these status codes are located in
/usr/include/zcomstatus.h
and
/usr/include/zcom/zx25status.h
.
Terminal Request Status Codes
Thefollowingstatusesarereturnedinresponsetoarequesttocreate,
delete, enable, disable, activate or deactivate a terminal. Although these
are a part of the standard status set, they are not used by all protocols,
and have a particular significance within HDLC/LAP-B (ABM).
0 TM_OK No error detected
Therequestwassuccessfullyprocessed.Inthecaseof
enabling or disabling the terminal, this does not mean
that the link has been established or disconnected. The
link status is reported via unsolicited status messages.
1 TM_MUST_DSBL Terminal must be disabled
This status code is returned in response to a terminal
delete request. Before deleting a terminal, it must be
disabled and the
ST25DSBL
unsolicited status message
must have been received.
12 TM_PROT_REJ Protocol detected error
TM_PROT_REJ
is returned in response to a terminal
enable request when the configuration specified by the
poll, select and option words is invalid. In addition to
returning TM_PROT_REJ, the protocol generates a
ST25ENF unsolicited status message. For
configuration information, see Chapter 4 , “Protocol
Specific Configuration.”
14 TM_TABLE_SIZE Protocol table sizes too small
The configured terminal table size is too small to allow
LAP-B to run. This status is returned in response to a
terminal creation r equest.