Previous PageTable Of Contents../index.htmlIndexNext Page

ATDT_BDMODE( )

Description | Cautions | Example | Errors | See Also

Name:

long ATDT_BDMODE(devh)

Inputs:

int devh

  Digital Network Interface logical board device handle

Returns:

signaling mode of all Digital Network Interface time slots
AT_FAILURE if failure

Includes:

srllib.h
dtilib.h

Category:

Extended Attribute

Mode:

synchronous

Top Of PageDescription

The ATDT_BDMODE( ) function returns the current mode of every time slot on the specified Digital Network Interface device.

Parameter

Description

devh:

Specifies the valid Digital Network Interface logical board device handle returned by a call to dt_open( )

For T-1 applications, the mode is returned as a long integer where bits 0 to 23 represent the mode of Digital Network Interface time slots 1 to 24.

For E-1 applications, the mode is returned as a long integer where bits 0 to 29 represent the mode of Digital Network Interface time slots 1 to 30.

The following signaling mode defines are provided in dtilib.h:

To determine the mode of a time slot, compare the returned value with the provided defines.

Top Of PageCautions

  1. This function will fail if an invalid Digital Network Interface logical board device handle is specified.
  2. For returned values to be valid, you must call dt_setsigmod( ) first
  3. Wink signaling cannot be transmitted on a voice device channel (see the Voice Software Reference for Linux or Windows).

Top Of PageExample

Top Of PageErrors

If the function returns AT_FAILURE, use the SRL Standard Attribute function ATDV_LASTERR( ) to obtain the error code or use ATDV_ERRMSGP( ) to obtain a descriptive error message. See Appendix A - Standard Runtime Library for more information on SRL functions. The error codes returned by ATDV_LASTERR( ) are:

Error defines can be found in the file dtilib.h.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated November, 2001