Previous PageTable Of Contents../index.htmlIndexNext Page

gl_getctinfo( )

Description | Example

Name:

int gl_getctinfo (int chan, CT_DEVINFO *ct_devinfop)

Inputs:

int chan

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

CT_DEVINFO *ct_devinfop

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

Returns:

0

  • Success.

-1

  • Error.

Includes:

gfsc.h

 

Top Of PageDescription

The gl_getctinfo( ) function returns digital timeslot device information.

This function retrieves the device information related to a channel on a CP Fax SC board. On return from the function, the CT_DEVINFO structure contains the relevant information. The CT_DEVINFO structure is declared as follows:

The valid values for each member of the CT_DEVINFO structure are defined in gfsc.h.

The ct_prodid field contains a valid CP Fax product identification number for the device. The ct_devfamily field specifies the device family and will contain one of the following values:

CT_DFCP4

/* GammaLink CP -4 family */

CT_DFCP6

/* GammaLink CP -6 family */

CT_DFCP12

/* GammaLink CP -12 family */

The ct_devmode field is not valid for the CP Fax Series card.

The ct_nettype field may contain either of the following values:

CT_NTT1

/* T1 configuration */

CT_NTE1

/* E1 configuration */

CT_NTNONE

The ct_busmode field may contain either of the following values:

CT_BMPEB

/* PCM Expansion Bus architecture */

CT_BMSCBUS

/* SCbus architecture */

The ct_busencoding field may contain either of the following values:

CT_BEULAW

/*Mu-law PCM encoding */

CT_BEALAW

/*A-law PCM encoding */

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