le_mcc_interface.h
Go to the documentation of this file.
61 * another thread, they will each get different call references for the same call. So, when multiple62 * threads are being used to work with the same call, a comparison of the call references themselves98 * @todo Other Supplementary services will be available in a future release. Create simpler examples.102 * A sample code that implements a dialing call can be found in \b le_mccTest.c file (please refer133 //--------------------------------------------------------------------------------------------------136 * Connect the current client thread to the service providing this API. Block until the service is139 * For each thread that wants to use this API, either ConnectService or TryConnectService must be140 * called before any other functions in this API. Normally, ConnectService is automatically called145 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------154 * Try to connect the current client thread to the service providing this API. Return with an error157 * For each thread that wants to use this API, either ConnectService or TryConnectService must be158 * called before any other functions in this API. Normally, ConnectService is automatically called165 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.166 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).169 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------181 * longer a connection to the service, and the functions in this API can't be used. For details, see186 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------410 //--------------------------------------------------------------------------------------------------414 //--------------------------------------------------------------------------------------------------418 //--------------------------------------------------------------------------------------------------422 //--------------------------------------------------------------------------------------------------426 //--------------------------------------------------------------------------------------------------441 //--------------------------------------------------------------------------------------------------443 (449 //--------------------------------------------------------------------------------------------------459 //--------------------------------------------------------------------------------------------------467 //--------------------------------------------------------------------------------------------------478 //--------------------------------------------------------------------------------------------------485 //--------------------------------------------------------------------------------------------------503 //--------------------------------------------------------------------------------------------------510 //--------------------------------------------------------------------------------------------------519 //--------------------------------------------------------------------------------------------------526 //--------------------------------------------------------------------------------------------------530 * Output parameter is updated with the telephone number. If the Telephone number string length exceeds531 * the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until533 * Note that 'len' sould be at least equal to LE_MDMDEFS_PHONE_NUM_MAX_BYTES, otherwise LE_OVERFLOW542 //--------------------------------------------------------------------------------------------------555 //--------------------------------------------------------------------------------------------------564 //--------------------------------------------------------------------------------------------------571 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------587 //--------------------------------------------------------------------------------------------------599 //--------------------------------------------------------------------------------------------------606 //--------------------------------------------------------------------------------------------------619 //--------------------------------------------------------------------------------------------------626 //--------------------------------------------------------------------------------------------------628 * This function will disconnect, or hang up all the ongoing calls. Any active call handlers will635 //--------------------------------------------------------------------------------------------------641 //--------------------------------------------------------------------------------------------------643 * This function return the Calling Line Identification Restriction (CLIR) status on the specific654 //--------------------------------------------------------------------------------------------------664 //--------------------------------------------------------------------------------------------------666 * This function set the Calling Line Identification Restriction (CLIR) status on the specific call.674 //--------------------------------------------------------------------------------------------------684 //--------------------------------------------------------------------------------------------------695 //--------------------------------------------------------------------------------------------------705 //--------------------------------------------------------------------------------------------------709 //--------------------------------------------------------------------------------------------------716 //--------------------------------------------------------------------------------------------------725 //--------------------------------------------------------------------------------------------------732 //--------------------------------------------------------------------------------------------------741 //--------------------------------------------------------------------------------------------------748 //--------------------------------------------------------------------------------------------------757 //--------------------------------------------------------------------------------------------------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)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:315le_mcc_CallEventHandlerRef_t le_mcc_AddCallEventHandler(le_mcc_CallEventHandlerFunc_t handlerPtr, void *contextPtr)Remote party ended the call (Normal Call Clearing).Definition: le_mcc_interface.h:240le_result_t le_mcc_GetCallWaitingService(bool *activePtr)Far end is now alerting its user (outgoing call).Definition: le_mcc_interface.h:209cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:345le_result_t le_mcc_TryConnectService(void)le_mcc_CallRef_t le_mcc_Create(const char *phoneNumPtr)le_result_t le_mcc_Delete(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:339le_result_t le_mcc_SetCallWaitingService(bool active)void le_mcc_DisconnectService(void)Local party ended the call (Normal Call Clearing).Definition: le_mcc_interface.h:237le_result_t le_mcc_HangUpAll(void)int32_t le_mcc_GetPlatformSpecificTerminationCode(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:369void(* le_mcc_CallEventHandlerFunc_t)(le_mcc_CallRef_t callRef, le_mcc_Event_t event, void *contextPtr)Definition: le_mcc_interface.h:443le_result_t le_mcc_Start(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:366Definition: le_mcc_interface.h:394bool le_mcc_IsConnected(le_mcc_CallRef_t callRef)struct le_mcc_CallEventHandler * le_mcc_CallEventHandlerRef_tDefinition: le_mcc_interface.h:423cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:375cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:306cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:357Call has been established, and is media is active.Definition: le_mcc_interface.h:212le_result_t le_mcc_HangUp(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:342cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:333cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:300le_mcc_TerminationReason_t le_mcc_GetTerminationReason(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:336void le_mcc_RemoveCallEventHandler(le_mcc_CallEventHandlerRef_t addHandlerRef)le_result_t le_mcc_Answer(le_mcc_CallRef_t callRef)Definition: le_mcc_interface.h:390cf. 3GPP 24.008 10.5.3.6Definition: le_mcc_interface.h:387cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:318le_result_t le_mcc_GetRemoteTel(le_mcc_CallRef_t callRef, char *telPtr, size_t telPtrNumElements)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:309le_result_t le_mcc_SetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t clirStatus)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:291