le_mcc_interface.h
Go to the documentation of this file.
66 * another thread, they will each get different call references for the same call. So, when multiple67 * threads are being used to work with the same call, a comparison of the call references themselves70 * The Adaptive Multi Rate (AMR) is an audio compression format optimized for speech coding and used72 * An AMR Narrowband that encodes a bandwidth of 200--3400 Hz signals at variable bitrates ranging76 * le_mcc_SetAmrWbCapability() function enables or disables the AMR Wideband supported capability.111 * @todo Other Supplementary services will be available in a future release. Create simpler examples.115 * A sample code that implements a dialing call can be found in \b le_mccTest.c file (please refer147 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------154 //--------------------------------------------------------------------------------------------------157 * Connect the current client thread to the service providing this API. Block until the service is160 * For each thread that wants to use this API, either ConnectService or TryConnectService must be161 * called before any other functions in this API. Normally, ConnectService is automatically called166 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------175 * Try to connect the current client thread to the service providing this API. Return with an error178 * For each thread that wants to use this API, either ConnectService or TryConnectService must be179 * called before any other functions in this API. Normally, ConnectService is automatically called188 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).191 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------201 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants204 //--------------------------------------------------------------------------------------------------211 //--------------------------------------------------------------------------------------------------217 * longer a connection to the service, and the functions in this API can't be used. For details, see222 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------233 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------243 //--------------------------------------------------------------------------------------------------247 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------259 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------287 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------305 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------330 //--------------------------------------------------------------------------------------------------339 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------350 * Output parameter is updated with the telephone number. If the Telephone number string length exceeds351 * the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until353 * Note that 'len' sould be at least equal to LE_MDMDEFS_PHONE_NUM_MAX_BYTES, otherwise LE_OVERFLOW362 //--------------------------------------------------------------------------------------------------373 //--------------------------------------------------------------------------------------------------382 //--------------------------------------------------------------------------------------------------389 //--------------------------------------------------------------------------------------------------401 //--------------------------------------------------------------------------------------------------408 //--------------------------------------------------------------------------------------------------420 //--------------------------------------------------------------------------------------------------427 //--------------------------------------------------------------------------------------------------440 //--------------------------------------------------------------------------------------------------447 //--------------------------------------------------------------------------------------------------449 * This function will disconnect, or hang up all the ongoing calls. Any active call handlers will456 //--------------------------------------------------------------------------------------------------462 //--------------------------------------------------------------------------------------------------464 * This function return the Calling Line Identification Restriction (CLIR) status on the specific476 //--------------------------------------------------------------------------------------------------485 //--------------------------------------------------------------------------------------------------487 * This function set the Calling Line Identification Restriction (CLIR) status on the specific call.495 //--------------------------------------------------------------------------------------------------504 //--------------------------------------------------------------------------------------------------516 //--------------------------------------------------------------------------------------------------525 //--------------------------------------------------------------------------------------------------529 //--------------------------------------------------------------------------------------------------536 //--------------------------------------------------------------------------------------------------545 //--------------------------------------------------------------------------------------------------552 //--------------------------------------------------------------------------------------------------561 //--------------------------------------------------------------------------------------------------568 //--------------------------------------------------------------------------------------------------577 //--------------------------------------------------------------------------------------------------584 //--------------------------------------------------------------------------------------------------595 //--------------------------------------------------------------------------------------------------602 //--------------------------------------------------------------------------------------------------611 //--------------------------------------------------------------------------------------------------void le_mcc_ConnectService(void)le_result_t le_mcc_GetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t *clirStatusPtrPtr)le_result_t le_mcc_ActivateCall(le_mcc_CallRef_t callRef)le_mcc_CallEventHandlerRef_t le_mcc_AddCallEventHandler(le_mcc_CallEventHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_mcc_GetCallWaitingService(bool *activePtr)le_result_t le_mcc_TryConnectService(void)le_mcc_CallRef_t le_mcc_Create(const char *LE_NONNULL phoneNumPtr)le_result_t le_mcc_Delete(le_mcc_CallRef_t callRef)le_result_t le_mcc_SetCallWaitingService(bool active)void le_mcc_DisconnectService(void)le_result_t le_mcc_HangUpAll(void)int32_t le_mcc_GetPlatformSpecificTerminationCode(le_mcc_CallRef_t callRef)le_result_t le_mcc_Start(le_mcc_CallRef_t callRef)le_result_t le_mcc_GetAmrWbCapability(bool *enabledPtr)bool le_mcc_IsConnected(le_mcc_CallRef_t callRef)le_result_t le_mcc_SetAmrWbCapability(bool enable)LE_FULL_API void le_mcc_SetServerDisconnectHandler(le_mcc_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_mcc_RemoveCallEventHandler(le_mcc_CallEventHandlerRef_t handlerRef)le_result_t le_mcc_HangUp(le_mcc_CallRef_t callRef)le_mcc_TerminationReason_t le_mcc_GetTerminationReason(le_mcc_CallRef_t callRef)le_result_t le_mcc_Answer(le_mcc_CallRef_t callRef)le_result_t le_mcc_GetRemoteTel(le_mcc_CallRef_t callRef, char *telPtr, size_t telPtrSize)le_result_t le_mcc_SetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t clirStatus)void(* le_mcc_DisconnectHandler_t)(void *)Definition: le_mcc_interface.h:152