ACC Error Guide
X.25 Status and Completion Messages
Introduction
Chapter 484
VC UP status message. Status 123 also has an
associated data buffer which contains the Call Accept
packet information.
** ST26LCRSS (124) Local VC Reset initiated due to protocol exception
condition. This indicates that the ACC X.25 subsystem
has sent a Reset Request as the result of an exception
condition. For example, if an Interrupt packet that was
sent is not confirmed within T26 seconds.
ZxRESET_TO(125) VC Reset Request has timed out. That is, the
remote end of the link has not replied with a Reset
Confirmation packet within the allowed amount of
time (T22 timer).
**ZxCLR_CONF(126) Clear Confirmation packet received on VC. The
status message data buffer contains the clear
confirmation packet data.
The status code symbolic names are available to C application programs
by including the file /opt/acc/include/zcom/zx25status.h.
The statuses marked “**” are received by the application with the packet
data. These statuses are only received if the “notify application” option is
enabled for the virtual circuit terminal. The packet data layout is
described in /opt/acc/include/zcom/zcomx25.h for C as described in the
following diagrams.
The routine X25STAT may be called to convert any X.25 status codes to a
description. This is call compatible and may be used as a direct
replacement for the ZCOM Status call which is documented in the ACC
Programmer’s Reference Guide.
The C structure for the packet data layout is as follows:
#define X25PKDATALEN 512 /* Max len of facility + user data */
typedef struct {
uint16 x25pkdbit; /* Deliv. confm bit: ZX25_TRUE, ZX25_FALSE */
uint16 x25pkcaus; /* Cause code */
uint16 x25pkdiag; /* Diagnostic code */
uint16 x25pkdflg; /* Use call addr: ZX25_TRUE, ZX25_FALSE */
uint8 x25pkcald[8]; /* Called X.121 address */
uint16 x25pkgflg; /* Use calling addr: ZX25_TRUE, ZX25_FALSE */
uint8 x25pkclng[8]; /* Calling X.121 address */
uint16 x25pkflen; /* Facility data byte length */
uint16 x25pkulen; /* User data byte length */










