Go to the source code of this file.
Typedefs | |
typedef struct le_mcc_call_Obj * | le_mcc_call_ObjRef_t |
Functions | |
void | le_mcc_call_StartClient (const char *serviceInstanceName) |
void | le_mcc_call_StopClient (void) |
void | le_mcc_call_Delete (le_mcc_call_ObjRef_t callRef) |
le_result_t | le_mcc_call_Start (le_mcc_call_ObjRef_t callRef) |
bool | le_mcc_call_IsConnected (le_mcc_call_ObjRef_t callRef) |
le_result_t | le_mcc_call_GetRemoteTel (le_mcc_call_ObjRef_t callRef, char *telPtr, size_t telPtrNumElements) |
le_mcc_call_TerminationReason_t | le_mcc_call_GetTerminationReason (le_mcc_call_ObjRef_t callRef) |
le_audio_StreamRef_t | le_mcc_call_GetTxAudioStream (le_mcc_call_ObjRef_t callRef) |
le_audio_StreamRef_t | le_mcc_call_GetRxAudioStream (le_mcc_call_ObjRef_t callRef) |
le_result_t | le_mcc_call_Answer (le_mcc_call_ObjRef_t callRef) |
le_result_t | le_mcc_call_HangUp (le_mcc_call_ObjRef_t callRef) |
le_result_t | le_mcc_call_HangUpAll (void) |
Legato Modem Call Control include file.
Copyright (C) Sierra Wireless, Inc. 2014. Use of this work is subject to license.
typedef struct le_mcc_call_Obj* le_mcc_call_ObjRef_t |
Reference type for managing active calls.
enum le_mcc_call_Event_t |
Enumeration of the possible events that may be reported to a call event handler.
Enumeration of the possible reasons for call termination.
le_result_t le_mcc_call_Answer | ( | le_mcc_call_ObjRef_t | callRef | ) |
Answers incoming call.
[in] | callRef | The call reference. |
void le_mcc_call_Delete | ( | le_mcc_call_ObjRef_t | callRef | ) |
Call to free up a call reference.
[in] | callRef | The call object to free. |
le_result_t le_mcc_call_GetRemoteTel | ( | le_mcc_call_ObjRef_t | callRef, |
char * | telPtr, | ||
size_t | telPtrNumElements | ||
) |
Display the remote party telephone number associated with the call.
Output parameter is updated with the telephone number. If the Telephone number string length exceeds the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until 'len-1' characters and a null-character is implicitly appended at the end of 'telPtr'.
[in] | callRef | The call reference to read from. |
[out] | telPtr | The telephone number string. |
[in] | telPtrNumElements |
le_audio_StreamRef_t le_mcc_call_GetRxAudioStream | ( | le_mcc_call_ObjRef_t | callRef | ) |
Called to get the received audio stream. All audio received from the other end of the call is received on this stream.
[in] | callRef | The call reference to read from. |
le_mcc_call_TerminationReason_t le_mcc_call_GetTerminationReason | ( | le_mcc_call_ObjRef_t | callRef | ) |
Called to get the termination reason.
[in] | callRef | The call reference to read from. |
le_audio_StreamRef_t le_mcc_call_GetTxAudioStream | ( | le_mcc_call_ObjRef_t | callRef | ) |
Called to get the transmitted audio stream. All audio generated on this end of the call is sent on this stream.
[in] | callRef | The call reference to read from. |
le_result_t le_mcc_call_HangUp | ( | le_mcc_call_ObjRef_t | callRef | ) |
Disconnect, or hang up, the specifed call. Any active call handlers will be notified.
[in] | callRef | The call to end. |
le_result_t le_mcc_call_HangUpAll | ( | void | ) |
This function will disconnect, or hang up all the ongoing calls. Any active call handlers will be notified.
bool le_mcc_call_IsConnected | ( | le_mcc_call_ObjRef_t | callRef | ) |
Allow the caller to know if the given call is actually connected or not.
[in] | callRef | The call reference to read. |
le_result_t le_mcc_call_Start | ( | le_mcc_call_ObjRef_t | callRef | ) |
Start a call attempt.
Asynchronous due to possible time to connect.
As the call attempt proceeds, the profile's registered call event handler receives events.
[in] | callRef | Reference to the call object. |
void le_mcc_call_StartClient | ( | const char * | serviceInstanceName | ) |
Start the service for the client main thread
[in] | serviceInstanceName |
void le_mcc_call_StopClient | ( | void | ) |
Stop the service for the current client thread