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 themselves68 * can't be used to tell whether or not they refer to the same call. The callRefs of the thread will71 * The Adaptive Multi Rate (AMR) is an audio compression format optimized for speech coding and used73 * An AMR Narrowband that encodes a bandwidth of 200--3400 Hz signals at variable bitrates ranging77 * le_mcc_SetAmrWbCapability() function enables or disables the AMR Wideband supported capability.112 * @todo Other Supplementary services will be available in a future release. Create simpler examples.116 * A sample code that implements a dialing call can be found in \b le_mccTest.c file (please refer148 //--------------------------------------------------------------------------------------------------152 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------158 * Connect the current client thread to the service providing this API. Block until the service is161 * For each thread that wants to use this API, either ConnectService or TryConnectService must be162 * called before any other functions in this API. Normally, ConnectService is automatically called167 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------176 * Try to connect the current client thread to the service providing this API. Return with an error179 * For each thread that wants to use this API, either ConnectService or TryConnectService must be180 * called before any other functions in this API. Normally, ConnectService is automatically called189 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).192 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------202 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants205 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------218 * longer a connection to the service, and the functions in this API can't be used. For details, see223 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------241 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------248 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------263 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------324 //--------------------------------------------------------------------------------------------------331 //--------------------------------------------------------------------------------------------------340 //--------------------------------------------------------------------------------------------------347 //--------------------------------------------------------------------------------------------------351 * Output parameter is updated with the telephone number. If the Telephone number string length exceeds352 * the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until354 * Note that 'len' sould be at least equal to LE_MDMDEFS_PHONE_NUM_MAX_BYTES, otherwise LE_OVERFLOW363 //--------------------------------------------------------------------------------------------------374 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------402 //--------------------------------------------------------------------------------------------------409 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------428 //--------------------------------------------------------------------------------------------------441 //--------------------------------------------------------------------------------------------------448 //--------------------------------------------------------------------------------------------------450 * This function will disconnect, or hang up all the ongoing calls. Any active call handlers will457 //--------------------------------------------------------------------------------------------------463 //--------------------------------------------------------------------------------------------------465 * This function return the Calling Line Identification Restriction (CLIR) status on the specific477 //--------------------------------------------------------------------------------------------------486 //--------------------------------------------------------------------------------------------------488 * This function set the Calling Line Identification Restriction (CLIR) status on the specific call.496 //--------------------------------------------------------------------------------------------------505 //--------------------------------------------------------------------------------------------------517 //--------------------------------------------------------------------------------------------------526 //--------------------------------------------------------------------------------------------------530 //--------------------------------------------------------------------------------------------------537 //--------------------------------------------------------------------------------------------------546 //--------------------------------------------------------------------------------------------------553 //--------------------------------------------------------------------------------------------------562 //--------------------------------------------------------------------------------------------------569 //--------------------------------------------------------------------------------------------------578 //--------------------------------------------------------------------------------------------------585 //--------------------------------------------------------------------------------------------------596 //--------------------------------------------------------------------------------------------------603 //--------------------------------------------------------------------------------------------------612 //--------------------------------------------------------------------------------------------------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:153