Go to the source code of this file.
Typedefs | |
typedef struct le_mcc_profile_Obj * | le_mcc_profile_ObjRef_t |
typedef struct le_mcc_profile_StateChangeHandler * | le_mcc_profile_StateChangeHandlerRef_t |
typedef struct le_mcc_profile_CallEventHandler * | le_mcc_profile_CallEventHandlerRef_t |
typedef void(* | le_mcc_profile_StateChangeHandlerFunc_t )(le_mcc_profile_State_t newState, void *contextPtr) |
typedef void(* | le_mcc_profile_CallEventHandlerFunc_t )(le_mcc_call_ObjRef_t callRef, le_mcc_call_Event_t event, void *contextPtr) |
Enumerations | |
enum | le_mcc_profile_State_t { LE_MCC_PROFILE_NOT_AVAILABLE, LE_MCC_PROFILE_IDLE, LE_MCC_PROFILE_FORWARDED, LE_MCC_PROFILE_DND, LE_MCC_PROFILE_IN_USE } |
Legato Modem Call Control Profile include file.
Copyright (C) Sierra Wireless, Inc. 2014. Use of this work is subject to license.
typedef void(* le_mcc_profile_CallEventHandlerFunc_t)(le_mcc_call_ObjRef_t callRef, le_mcc_call_Event_t event, void *contextPtr) |
Handler for call state changes.
callRef | Call associated with the event. |
event | Call event. |
contextPtr |
typedef struct le_mcc_profile_CallEventHandler* le_mcc_profile_CallEventHandlerRef_t |
Reference type for le_mcc_profile_CallEventHandler handler ADD/REMOVE functions
typedef struct le_mcc_profile_Obj* le_mcc_profile_ObjRef_t |
Reference type to represent profiles capable sending and receiving calls.
typedef void(* le_mcc_profile_StateChangeHandlerFunc_t)(le_mcc_profile_State_t newState, void *contextPtr) |
Handler for profile state changes.
newState | New state profile. |
contextPtr |
typedef struct le_mcc_profile_StateChangeHandler* le_mcc_profile_StateChangeHandlerRef_t |
Reference type for le_mcc_profile_StateChangeHandler handler ADD/REMOVE functions
Enumeration to convey current status of a given profile.
le_mcc_profile_CallEventHandlerRef_t le_mcc_profile_AddCallEventHandler | ( | le_mcc_profile_ObjRef_t | profileRef, |
le_mcc_profile_CallEventHandlerFunc_t | handlerPtr, | ||
void * | contextPtr | ||
) |
le_mcc_profile_CallEventHandler handler ADD function
[in] | profileRef | The profile to update. |
[in] | handlerPtr | |
[in] | contextPtr |
le_mcc_profile_StateChangeHandlerRef_t le_mcc_profile_AddStateChangeHandler | ( | le_mcc_profile_ObjRef_t | profileRef, |
le_mcc_profile_StateChangeHandlerFunc_t | handlerPtr, | ||
void * | contextPtr | ||
) |
le_mcc_profile_StateChangeHandler handler ADD function
[in] | profileRef | The profile reference. |
[in] | handlerPtr | |
[in] | contextPtr |
le_mcc_call_ObjRef_t le_mcc_profile_CreateCall | ( | le_mcc_profile_ObjRef_t | profileRef, |
const char * | destinationPtr | ||
) |
Create a new call object with a destination telephone number.
le_mcc_call_Start()
must still initiate the call when ready.
[in] | profileRef | The profile to create a new call on. |
[in] | destinationPtr | The target number we are going to call. |
le_mcc_profile_ObjRef_t le_mcc_profile_GetByName | ( | const char * | profileNamePtr | ) |
Access a particular profile by name.
[in] | profileNamePtr | The name of the profile to search for. |
le_mcc_profile_State_t le_mcc_profile_GetState | ( | le_mcc_profile_ObjRef_t | profileRef | ) |
Used to determine the current state of a given profile.
[in] | profileRef | The profile reference to read. |
void le_mcc_profile_Release | ( | le_mcc_profile_ObjRef_t | profileRef | ) |
Must be called to release a Call Profile.
[in] | profileRef | The Call profile reference. |
void le_mcc_profile_RemoveCallEventHandler | ( | le_mcc_profile_CallEventHandlerRef_t | addHandlerRef | ) |
le_mcc_profile_CallEventHandler handler REMOVE function
[in] | addHandlerRef |
void le_mcc_profile_RemoveStateChangeHandler | ( | le_mcc_profile_StateChangeHandlerRef_t | addHandlerRef | ) |
le_mcc_profile_StateChangeHandler handler REMOVE function
[in] | addHandlerRef |
void le_mcc_profile_StartClient | ( | const char * | serviceInstanceName | ) |
Start the service for the client main thread
[in] | serviceInstanceName |
void le_mcc_profile_StopClient | ( | void | ) |
Stop the service for the current client thread