User`s guide

Dialogic
®
System Release 6.0 PCI for Windows
®
Release Update, Rev 62 — January 30, 2008 134
Dialogic Corporation
/* used for gc_GetConfigData() in */
/* asynchronous mode */
int target_type; /* Target type */
long target_id; /* Target ID */
} GC_RTCM_EVTDATA, *GC_RTCM_EVTDATAP;
The addition of the target_type and target_id fields enables applications to easily identify
the DM3 protocol object associated with an event. The change is backward-compatible
with usage in current applications. Note that the line_dev and crn accessed by the
evtdatap pointer in the METAEVENT structure are zero for DM3 protocol target objects.
New Data Structures for CAS Signals
New data structures are defined in the gclib.h file that are used by the
gc_SetConfigData( ) and gc_GetConfigData( ) functions to retrieve/modify the CAS
signal definitions associated with a PDK protocol.
As a convenience that enables the user to enter a new CAS signal definition and retrieve
the current CAS signal definition, the fields in these data structures strictly follow the same
sequence as the CAS signal definitions in the PDK CDP file. Since CAS signal defines in
the CDP file apply to both DM3 and Springware Boards, some time parameters may not
be supported on DM3 Boards. Also, ASCII characters are used to represent signal bit
codes in the data structures. For example, “11xx” represents signal bits 11xx (where x
represents “don't care”). All time parameters have units in milliseconds with a resolution of
4 milliseconds.
The following define for the size of the CAS signal bits string is common to all three
structures following:
#define GCVAL_CAS_CODE_SIZE 0x5 /* The size of CAS Signal code in string */
CAS Transition Signal
/* Data structure for CAS Transition signal */
typedef struct {
char PreTransCode[GCVAL_CAS_CODE_SIZE]; /* ABCD pre-transition code */
char PostTransCode[GCVAL_CAS_CODE_SIZE]; /* ABCD post-transition code */
unsigned short PreTransInterval; /* The minimum time for the duration
of the pre-transition (in msec)*/
unsigned short PostTransInterval; /* The minimum time for the duration
of the post-transition (in msec)*/
unsigned short PreTransIntervalNom; /* The nominal time for the duration
of the pre-transition (in msec).
Ignored in DM3: always 0 */
unsigned short PostTransIntervalNom; /* The nominal time for the duration
of the post-transition (in msec).
Ignored in DM3: always 0 */
} GC_CASPROT_TRANS;
CAS Pulse Signal
/* Data structure of CAS Pulse signal */
typedef struct {
char OffPulseCode[GCVAL_CAS_CODE_SIZE]; /* ABCD pulse off code */
char OnPulseCode[GCVAL_CAS_CODE_SIZE]; /* ABCD pulse on code */
unsigned short PrePulseInterval; /* The minimum time for the duration