Previous PageTable Of Contents../index.htmlIndexNext Page

ATDT_TSSGBIT( )

Description | Cautions | Example | Errors | See Also

Name:

long ATDT_TSSGBIT(devh)

Inputs:

int devh

  Digital Network Interface logical time slot device handle

Returns:

state of time slot signaling bits
AT_FAILURE if failure

Includes:

srllib.h
dtilib.h

Category:

Extended Attribute

Mode:

synchronous

Top Of PageDescription

The ATDT_TSSGBIT( ) function retrieves the current state of the transmit and receive signaling bits for the time slot specified by devh.

Parameter

Description

devh:

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

The returned bitmask represents the following signaling bits:

To determine the state of the signaling bits for the specified time slot, perform a logical AND operation on the byte buffer and the defines, as demonstrated in the example below.

Top Of PageCautions

  1. This function will fail if an invalid Digital Network Interface logical time slot device handle is specified.
  2. The transmit signaling bits are only valid when the device is in signaling insertion mode.

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