Previous PageTable Of Contents../index.htmlIndexNext Page

dt_settssigsim( )

Description | Cautions | Example | Errors | See Also

Name:

int dt_settssigsim(devh,bitmask)

Inputs:

int devh

  Digital Network Interface logical time slot device handle

 

unsigned short bitmask

  signaling bits to simultaneously clear and set

Returns:

0 on success
-1 on failure

Includes:

srllib.h
dtilib.h

Category:

Time Slot Signaling

Mode:

synchronous

Top Of PageDescription

The dt_settssigsim( ) allows simultaneous setting or clearing of transmit signaling bits on a Digital Network Interface time slot. The bitmask parameter specifies which signaling bits to change. To simultaneously set and clear the transmit signaling bits, the chosen values can be logically ORed together.

Parameter

Description

devh:

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

bitmask:

Specifies which signaling bits to change. All signaling bits may be changed with one function call if the bitmask values are logically ORed together as in the example. The possible values for the bitmask parameter are:

 

  DTB_AON - "A" signaling bit on

 

  DTB_AOFF - "A" signaling bit off

 

  DTB_BON - "B" signaling bit on

 

  DTB_BOFF - "B" signaling bit off

 

  DTB_CON - "C" signaling bit on (E-1 only)

 

  DTB_COFF - "C" signaling bit off (E-1 only)

 

  DTB_DON - "D" signaling bit on (E-1 only)

 

  DTB_DOFF - "D" signaling bit off (E-1 only)

 

All signaling bits may be changed with one function call if the bitmask values are ORed together

Top Of PageCautions

This function will fail if an invalid Digital Network Interface logical time slot device handle is specified.

Top Of PageExample

Top Of PageErrors

If the function returns -1, 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