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 refer152 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------162 * Connect the current client thread to the service providing this API. Block until the service is165 * For each thread that wants to use this API, either ConnectService or TryConnectService must be166 * called before any other functions in this API. Normally, ConnectService is automatically called171 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------180 * Try to connect the current client thread to the service providing this API. Return with an error183 * For each thread that wants to use this API, either ConnectService or TryConnectService must be184 * called before any other functions in this API. Normally, ConnectService is automatically called193 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).196 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------206 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants209 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------222 * longer a connection to the service, and the functions in this API can't be used. For details, see227 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------238 //--------------------------------------------------------------------------------------------------241 //--------------------------------------------------------------------------------------------------245 //--------------------------------------------------------------------------------------------------248 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------255 //--------------------------------------------------------------------------------------------------264 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------292 //--------------------------------------------------------------------------------------------------303 //--------------------------------------------------------------------------------------------------310 //--------------------------------------------------------------------------------------------------328 //--------------------------------------------------------------------------------------------------335 //--------------------------------------------------------------------------------------------------344 //--------------------------------------------------------------------------------------------------351 //--------------------------------------------------------------------------------------------------355 * Output parameter is updated with the telephone number. If the Telephone number string length exceeds356 * the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until358 * Note that 'len' sould be at least equal to LE_MDMDEFS_PHONE_NUM_MAX_BYTES, otherwise LE_OVERFLOW367 //--------------------------------------------------------------------------------------------------378 //--------------------------------------------------------------------------------------------------387 //--------------------------------------------------------------------------------------------------394 //--------------------------------------------------------------------------------------------------406 //--------------------------------------------------------------------------------------------------413 //--------------------------------------------------------------------------------------------------425 //--------------------------------------------------------------------------------------------------432 //--------------------------------------------------------------------------------------------------445 //--------------------------------------------------------------------------------------------------452 //--------------------------------------------------------------------------------------------------454 * This function will disconnect, or hang up all the ongoing calls. Any active call handlers will461 //--------------------------------------------------------------------------------------------------467 //--------------------------------------------------------------------------------------------------469 * This function return the Calling Line Identification Restriction (CLIR) status on the specific481 //--------------------------------------------------------------------------------------------------490 //--------------------------------------------------------------------------------------------------492 * This function set the Calling Line Identification Restriction (CLIR) status on the specific call.500 //--------------------------------------------------------------------------------------------------509 //--------------------------------------------------------------------------------------------------521 //--------------------------------------------------------------------------------------------------530 //--------------------------------------------------------------------------------------------------534 //--------------------------------------------------------------------------------------------------541 //--------------------------------------------------------------------------------------------------550 //--------------------------------------------------------------------------------------------------557 //--------------------------------------------------------------------------------------------------566 //--------------------------------------------------------------------------------------------------573 //--------------------------------------------------------------------------------------------------582 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------600 //--------------------------------------------------------------------------------------------------607 //--------------------------------------------------------------------------------------------------616 //--------------------------------------------------------------------------------------------------le_result_t le_mcc_Start(le_mcc_CallRef_t callRef)void le_mcc_RemoveCallEventHandler(le_mcc_CallEventHandlerRef_t handlerRef)int32_t le_mcc_GetPlatformSpecificTerminationCode(le_mcc_CallRef_t callRef)LE_FULL_API void le_mcc_SetServerDisconnectHandler(le_mcc_DisconnectHandler_t disconnectHandler, void *contextPtr)le_mcc_CallEventHandlerRef_t le_mcc_AddCallEventHandler(le_mcc_CallEventHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_mcc_GetRemoteTel(le_mcc_CallRef_t callRef, char *telPtr, size_t telPtrSize)le_result_t le_mcc_SetCallWaitingService(bool active)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_ActivateCall(le_mcc_CallRef_t callRef)le_mcc_CallRef_t le_mcc_Create(const char *LE_NONNULL phoneNumPtr)bool le_mcc_IsConnected(le_mcc_CallRef_t callRef)le_result_t le_mcc_TryConnectService(void)le_result_t le_mcc_HangUpAll(void)le_result_t le_mcc_GetCallWaitingService(bool *activePtr)void(* le_mcc_CallEventHandlerFunc_t)(le_mcc_CallRef_t callRef, le_mcc_Event_t event, void *contextPtr)Definition: le_mcc_common.h:212struct le_mcc_CallEventHandler * le_mcc_CallEventHandlerRef_tDefinition: le_mcc_common.h:198void le_mcc_ConnectService(void)le_result_t le_mcc_SetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t clirStatus)le_result_t le_mcc_Answer(le_mcc_CallRef_t callRef)le_result_t le_mcc_GetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t *clirStatusPtrPtr)le_result_t le_mcc_GetAmrWbCapability(bool *enabledPtr)le_result_t le_mcc_Delete(le_mcc_CallRef_t callRef)void(* le_mcc_DisconnectHandler_t)(void *)Definition: le_mcc_interface.h:157void le_mcc_DisconnectService(void)le_result_t le_mcc_SetAmrWbCapability(bool enable)