The CT_DEVINFO structure supplies information about the SCX160 SCxbus Adapter device. This structure is used by the SCbus routing functions identified by the suffix, _getctinfo( ). On return from the function, the CT_DEVINFO structure contains the relevant information and is defined as follows:
typedef struct {
unsigned long ct_prodid;
unsigned char ct_devfamily;
unsigned char ct_devmode;
unsigned char ct_nettype;
unsigned char ct_busmode;
unsigned char ct_busencoding;
unsigned char ct_rfu[7]; /* reserved for future use */
} CT_DEVINFO;
Valid values for each of the members of the CT_DEVINFO structure are defined in the dxxxlib.h and scxlib.h header files.
The ct_prodid field contains a valid Dialogic product identification number for the device [length: 4 (unsigned long)]:
The ct_devfamily specifies the device family [length: 1 (unsigned char)] and contains the following:
The ct_devmode field does not apply. The ct_nettype field specifies the type of network interface for the device [length: 1 (unsigned char)]. The only valid value is:
The ct_busmode specifies the bus architecture used to communicate with other devices in the system [length: 1 (unsigned char)]:
The ct_busencoding field describes the PCM encoding used on the bus [length: 1 (unsigned char)] and is not valid for SCX160 SCxbus Adapters.
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation