Previous PageTable Of Contents../index.htmlIndexNext Page


ScBus APIs With DM3 Boards

Using SCBus mode with DM3 boards requires special function calls (_Ex functions). The CP SCBus API bypasses the dispatcher by accessing a file and communicating directly with the driver. These _Ex functions "remap" the existing CP/ScBus API function calls to redirect the SC Bus back to the Dispatcher.

GDK developers must recomplile their applications after using the _Ex functions.

NOTE:
You must allocate the ScBus timeslot prior to starting a fax session. Perform these steps:

I. Call the gl_listen function prior to submitting a queue record (Qrec) using GFQANSWER_IMMEDIATELY or GFQDIAL_SEND. This eliminates error code 3830 (GX0_NODIAL or no dial tone detected prior to dialing).

II. Use the gl_unlisten function call to free the ScBus timeslot when the line is disconnected. Please note that gl_listen and gl_unlisten will always return a --1 (not in the sample provided, but in the original file included in the install).

The _Ex functions are available under \fax\gl_scbus.cpp. These five macros should be defined in your header file before they can be remapped to the appropriate function:

The following is an example of a header file defining the _Ex functions:

The following is the gl_scbus.ccp source code:


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