isdnInfo(D4isdn)
isdnInfo --
ISDN status code parameter
Synopsis
#include <sys/types.h>
#include <sys/scoisdn.h>
typedef isdnWord_t isdnInfo_t;
Description
The info parameter provides status and error
information to the application. For each error that can be
detected by a controller, a unique value is defined. These
values are independent of the context of the error.
SCO ISDN drivers should not generate information
values other than those defined here. However, in case of
future extensions of possible information values, an application
should interpret any info value, except the informative
value class, as an indication that the corresponding request was
rejected by the ISDN driver.
This parameter is used by:
ISDN_CONNECT.ISDN_CONF(D7isdn)
ISDN_DISCONNECT.ISDN_CONF(D7isdn)
ISDN_ALERT.ISDN_CONF(D7isdn)
ISDN_INFO.ISDN_CONF(D7isdn)
ISDN_CONNECT_B3.ISDN_CONF(D7isdn)
ISDN_DISCONNECT_B3.ISDN_CONF(D7isdn)
ISDN_DATA_B3.ISDN_CONF(D7isdn)
ISDN_RESET_B3.ISDN_CONF(D7isdn)
ISDN_LISTEN.ISDN_CONF(D7isdn)
ISDN_FACILITY.ISDN_CONF(D7isdn)
ISDN_SELECT_B_PROTOCOL.ISDN_CONF(D7isdn)
The following five info value classes are defined; the
first indicates that the corresponding message was successfully
processed, the others indicate error conditions.
Informative values (0x00xx)
ISDN_INFOCODE00_OK-
0x0000: Request accepted
ISDN_INFOCODE00_BADNCPI-
0x0001: NCPI not supported, ignored
ISDN_INFOCODE00_NOSYS-
0x0002: flags not supported, ignored
ISDN_INFOCODE00_EXIST-
0x0003: Alert already sent by another application
ISDN_REGISTER errors (0x10xx)
ISDN_INFOCODE10_TMAPPS-
0x1001: Too many applications
ISDN_INFOCODE10_SBSIZE-
0x1002: Logical block size too small
ISDN_INFOCODE10_BTLARGE-
0x1003: Buffer too large
ISDN_INFOCODE10_BTSMALL-
0x1004: Message buffer too small
ISDN_INFOCODE10_INVALLC-
0x1005: Allowable logical connections exceeded
ISDN_INFOCODE10_RSVD-
0x1006: Reserved
ISDN_INFOCODE10_BUSY-
0x1007: Internal busy
ISDN_INFOCODE10_RESERR-
0x1008: OS resource error
ISDN_INFOCODE10_NOCAPI-
0x1009: ISDN not installed
ISDN_INFOCODE10_NOEXT-
0x100a: Controller does not support external equipment
ISDN_INFOCODE10_ONLYEXT-
0x100b: Controller supports only external equipment
See also the
ISDN_REGISTER
ISDN ioctl manual page.
Message exchange function errors (0x11xx)
ISDN_INFOCODE11_BADAPP-
0x1101: Illegal application
ISDN_INFOCODE11_BADCMD-
0x1102: Illegal cmd/subcmd/length
ISDN_INFOCODE11_FULL-
0x1103: Queue full
ISDN_INFOCODE11_EMPTY-
0x1104: Queue is empty
ISDN_INFOCODE11_OVFL-
0x1105: Queue overflow
ISDN_INFOCODE11_INVAL-
0x1106: Unknown notification param
ISDN_INFOCODE11_BUSY-
0x1107: Internal busy
ISDN_INFOCODE11_RESERR-
0x1108: OS resource error
ISDN_INFOCODE11_NOCAPI-
0x1109: ISDN not installed
ISDN_INFOCODE11_NOEXT-
0x110a: Controller does not support external equipment
ISDN_INFOCODE11_ONLYEXT-
0x110b: Controller supports only external equipment
Resource/coding problems (0x20xx)
ISDN_INFOCODE20_ESTATE-
0x2001: Message not supported in current state
ISDN_INFOCODE20_EPLCI-
0x2002: Illegal controller, PLCI, or NCCI
ISDN_INFOCODE20_NOPLCI-
0x2003: Out of PLCI resources
ISDN_INFOCODE20_NONCCI-
0x2004: Out of NCCI resources
ISDN_INFOCODE20_NOLIS-
0x2005: Out of LISTEN resources
ISDN_INFOCODE20_NOFAX-
0x2006: Out of FAX resources
ISDN_INFOCODE20_EPARAM-
0x2007: Illegal message parameter coding
Requested services errors (0x30xx)
ISDN_INFOCODE30_B1PROT-
0x3001: B1 protocol not supported
ISDN_INFOCODE30_B2PROT-
0x3002: B2 protocol not supported
ISDN_INFOCODE30_B3PROT-
0x3003: B3 protocol not supported
ISDN_INFOCODE30_B1PARAM-
0x3004: B1 proto parameter not supported
ISDN_INFOCODE30_B2PARAM-
0x3005: B2 proto parameter not supported
ISDN_INFOCODE30_B3PARAM-
0x3006: B3 proto parameter not supported
ISDN_INFOCODE30_BPROTO-
0x3007: B proto combination not supported
ISDN_INFOCODE30_NCIP-
0x3008: NCPI not supported
ISDN_INFOCODE30_CIP-
0x3009: CIP not supported
ISDN_INFOCODE30_FLAGS-
0x300a: flags not supported
ISDN_INFOCODE30_FACILITY-
0x300b: facility not supported
ISDN_INFOCODE30_DATALEN-
0x300c: data len not supported in protocol
ISDN_INFOCODE30_RESET-
0x300d: reset not supported in protocol
References
Intro(D4isdn),
Intro(D7isdn)
``SCO ISDN adapter drivers'' in Developing MDI network adapter drivers
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005