Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 479
channel/time slot device information — CT_DEVINFO
CT_DEVINFO
channel/time slot device information
typedef struct ct_devinfo {
unsigned long ct_prodid; /* product ID */
unsigned char ct_devfamily; /* device family */
unsigned char ct_devmode; /* device mode */
unsigned char ct_nettype; /* network interface */
unsigned char ct_busmode; /* bus architecture */
unsigned char ct_busencoding; /* bus encoding */
union {
unsigned char ct_RFU[7]; /* reserved */
struct {
unsigned char ct_prottype;
} ct_net_devinfo;
} ct_ext_devinfo;
} CT_DEVINFO;
!
!!
! Description
The CT_DEVINFO data structure supplies information about a device. This structure is used by
time division multiplexing (TDM) bus routing functions identified by the suffix _getxmitslot( ). On
return from the function, CT_DEVINFO contains the relevant device and device configuration
information.
The valid values for each field of the CT_DEVINFO structure are defined in ctinfo.h, which is
referenced by dxxxlib.h.
!
!!
! Field Descriptions
DM3 Boards
On DM3 boards, the fields of the CT_DEVINFO data structure are described as follows:
ct_prodid
Contains a valid product identification number for the device [length: 4 (unsigned long)].
ct_devfamily
Specifies the device family [length: 1 (unsigned char)]. Possible values are:
CT_DFDM3 – DM3 device
CT_DFHMPDM3 – HMP device (Host Media Processing)
ct_devmode
Specifies the device mode [length: 1 (unsigned char)] that is valid only for a D/xx or VFX/xx
board. Possible values are:
CT_DMRESOURCE – DM3 voice device in flexible routing configuration
CT_DMNETWORK – DM3 network device or DM3 voice device in fixed routing
configuration
For information on flexible routing and fixed routing, see the Voice API Programming Guide.
ct_nettype
Specifies the type of network interface for the device [length: 1 (unsigned char)]. Possible
values are: