Previous PageTable Of Contents../index.htmlIndexNext Page

gl_getxmitslot( )

Description | Example

Name:

int gl_getxmitslot (int chan, SC_TSINFO *tsinfop)

Inputs:

int chan

  • Purpose: GDK channel.
  • Range: 1 -- n, where n is the number of installed fax channels.

SC_TSINFO* tsinfop

  • Purpose: Pointer to SCbus timeslots information.
  • Range: N/A.

Returns:

0

  • Success.

-1

  • Error.

Includes:

gfsc.h

 

Top Of PageDescription

The gl_getxmitslot( ) function returns SCbus timeslot connected to digital timeslot transmit.

This function connects the external SCbus timeslot to the transmit of a channel on a CP Fax SC board. On return from the function, the SC_TSINFO structure contains the number of SCbus timeslots that are connected to the transmit of the local fax timeslot and a pointer to the array that contains the SCbus timeslots (between 1 and 1024). The SC_TSINFO structure is declared as follows:

This function fails if an invalid channel is specified. This function fails if called on a device in PEB mode.

NOTE:
A CP Fax SC fax channel can only transmit on one external SCbus timeslot. The SC_TSINFO structure is used to provide uniformity among SCbus timeslot access functions for all SCSA devices.

Top Of PageExample


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002