Previous PageTable Of Contents../index.htmlIndexNext Page

ATDX_BDTYPE( )

Description | Cautions | Example | Errors

Name:

long ATDX_BDTYPE(dev)

Inputs:

int dev

  valid Dialogic board or channel device handle

Returns:

board or channel device type if successful
AT_FAILURE if error

Includes:

srllib.h
dxxxlib.h

Category:

Extended Attribute

Top Of PageDescription

The ATDX_BDTYPE( ) function returns the board type for the device specified in dev.

A typical use would be to determine whether or not the device can support particular features, such as Call Analysis.

The function parameter is defined as follows:

Parameter

Description

dev

specifies the valid Dialogic device handle obtained when a board or channel was opened using dx_open( ).

Possible return values are the following:

DI_D20BD

  • D/20 Board Device

DI_D21BD

  • D/21 Board Device

DI_D40BD

  • D/40 Board Device

DI_D41BD

  • D/41 Board Device

DI_D20CH

  • D/20 Channel Device

DI_D21CH

  • D/21 Channel Device

DI_D40CH

  • D/40 Channel Device

DI_D41CH

  • D/41 Channel Device
NOTE:
DI_41BD and DI_41CH will be returned for the D/121 board, which emulates three D/41 boards. DI_41BD and DI_41CH will be returned: for the D/160SC-LS board which emulates four D/41 boards; for the D/240SC and D/240SC-T1 boards which emulate six D/41 boards; and for the D/300SC-E1 and D/320SC boards which emulate eight D/41 boards

Top Of PageCautions

None.

Top Of PageExample

Top Of PageErrors

This function will fail and return AT_FAILURE if an invalid board or channel device handle is specified in dev.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002