PREV TOC HOME INDEX NEXT


9.8.1 Getting or Setting GCLib Configuration in Synchronous Mode

The Global Call RTCM feature allows the customer application to retrieve or change the default configuration of a GCLib even before any line device is opened. Figure 36 shows the procedure for synchronous mode.

Figure 36. Getting or Setting GCLib Configuration in Synchronous Mode

The following describes the procedure for getting or setting the configuration of the GCLib in synchronous mode:

  1. Load the GCLib (after the gc_Start( ) function is called).
  2. Create the target object data (a GC_PARM_BLK data structure) with the appropriate set ID, parm ID, value size, and value, if applicable, by calling the Global Call utility functions gc_util_insert_ref( ) or gc_util_insert_val( ). See the Global Call API Library Reference for more information.
  3. Call the gc_GetConfigData( ) or gc_SetConfigData( ) function with: target_type = GCTGT_GCLIB_SYSTEM
    target_id = 0
    time_out = 0
    mode = EV_SYNC
  4. If the gc_GetConfigData( ) function returns successfully, then obtain the individual parameter data by calling the gc_util_get_next_parm( ) function. If an error occurs, call the gc_ErrorInfo( ) function to find the error and correct it.

PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2002, Intel Corporation
All rights reserved
This page generated November, 2002