118 Global Call API for HMP on Windows Programming Guide — August 2006

Real Time Configuration Management

Figure 26. Run Time Configuration Procedure

Note: In Figure 26, for IP technology, only the gc_SetConfigData() function is supported for changing

the parameter values of a board device. See Section9.7.3 , “Getting or Setting Line Device

Configuration in Synchronous Mode”, on page 121.

9.7 Sample Scenarios Using the RTCM API Functions

This section shows the following examples in which the customer application uses the Global Call

RTCM API functions to get or set the configuration of various target objects. With the exception of

the last example, all of these apply to E1, T1 and ISDN technologies only. The examples include:

Getting or Setting GCLib Configuration in Synchronous Mode

Getting or Setting CCLib Configuration in Synchronous Mode

Application GlobalCall
Library
gc_Start ()
gc_CCLibNameToID ()
Load CCLib
Get CCLib ID
Create Target Data for Retrieving
CCLib Parameters
Get or Update Parameters of CCLib
Read Parameters from the Target Data
Block for the gc_GetConfigData () Function
gc_GetConfigData ()
or
gc_SetConfigData ()
gc_util_next_parm ()
Open a Time Slot and Load a Protocol
gc_OpenEx ()
gc_QueryConfigData ()
gc_QueryConfigData ()
Find the Protocol ID
Find the Parm Info (Set ID, Parm ID,
Data Type) by CDP Name
Create Target Data for
Retrieving the Protocol Parameters
Get or Change the Parameter Values of a Protocol
Read Parameters from the Target Data
Block for the gc_GetConfigData () Function
Create Target Data for Parameters of a Line Device
Get or Change Parameter Values of a Line Device
Read Parameters from the Target Data
Block for the gc_GetConfigData () Function
gc_util_insert_parm_ref () or
gc_util_insert_parm_val ()
gc_GetConfigData ()
or
gc_SetConfigData ()
gc_util_next_parm ()
gc_util_insert_parm_ref () or
gc_util_insert_parm_val ()
gc_GetConfigData ()
or
gc_SetConfigData ()
gc_util_next_parm ()
gc_util_insert_parm_ref () or
gc_util_insert_parm_val ()