3.1.17. gc_SetAlarmParm( )
The gc_SetAlarmParm( ) function can be used to set QoS threshold values. The function parameter values in this context are:
- linedev: The media device handle, retrieved using the gc_GetResourceH( ) function. See Section 4.7.1, "Retrieving the Media Device Handle" for more information.
- aso_id: The alarm source object ID. Set to ALARM_SOURCE_ID_NETWORK_ID
- ParmSetID: Must be set to ParmSetID_qosthreshold_alarm.
- alarm_parm_list: A pointer to an ALARM_PARM_FIELD structure. The alarm_parm_number field is not used. The alarm_parm_data field is of type GC_PARM, which is a union. In this context, the type used is void *pstruct, and is cast as a pointer to an IPM_QOS_THRESHOLD_DATA structure, which contains the parameters representing threshold values. See the IPM_QOS_THRESHOLD_DATA structure in the IP Media Library Software Reference for more information.
- mode: Must be set to EV_SYNC.
- Note: Applications must include the ipmlib.h and gcipmlib.h header files before Global Call can be used to set or retrieve QoS threshold values.
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation