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 themselves104 * @todo Other Supplementary services will be available in a future release. Create simpler examples.108 * A sample code that implements a dialing call can be found in \b le_mccTest.c file (please refer139 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------146 //--------------------------------------------------------------------------------------------------149 * Connect the current client thread to the service providing this API. Block until the service is152 * For each thread that wants to use this API, either ConnectService or TryConnectService must be153 * called before any other functions in this API. Normally, ConnectService is automatically called158 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------167 * Try to connect the current client thread to the service providing this API. Return with an error170 * For each thread that wants to use this API, either ConnectService or TryConnectService must be171 * called before any other functions in this API. Normally, ConnectService is automatically called180 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).183 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------193 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants196 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------209 * longer a connection to the service, and the functions in this API can't be used. For details, see214 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------225 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------375 //--------------------------------------------------------------------------------------------------379 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------387 //--------------------------------------------------------------------------------------------------391 //--------------------------------------------------------------------------------------------------400 //--------------------------------------------------------------------------------------------------402 (411 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------429 //--------------------------------------------------------------------------------------------------440 //--------------------------------------------------------------------------------------------------447 //--------------------------------------------------------------------------------------------------465 //--------------------------------------------------------------------------------------------------472 //--------------------------------------------------------------------------------------------------481 //--------------------------------------------------------------------------------------------------488 //--------------------------------------------------------------------------------------------------492 * Output parameter is updated with the telephone number. If the Telephone number string length exceeds493 * the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until495 * Note that 'len' sould be at least equal to LE_MDMDEFS_PHONE_NUM_MAX_BYTES, otherwise LE_OVERFLOW504 //--------------------------------------------------------------------------------------------------515 //--------------------------------------------------------------------------------------------------524 //--------------------------------------------------------------------------------------------------531 //--------------------------------------------------------------------------------------------------543 //--------------------------------------------------------------------------------------------------550 //--------------------------------------------------------------------------------------------------562 //--------------------------------------------------------------------------------------------------569 //--------------------------------------------------------------------------------------------------582 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------591 * This function will disconnect, or hang up all the ongoing calls. Any active call handlers will598 //--------------------------------------------------------------------------------------------------604 //--------------------------------------------------------------------------------------------------606 * This function return the Calling Line Identification Restriction (CLIR) status on the specific618 //--------------------------------------------------------------------------------------------------627 //--------------------------------------------------------------------------------------------------629 * This function set the Calling Line Identification Restriction (CLIR) status on the specific call.637 //--------------------------------------------------------------------------------------------------646 //--------------------------------------------------------------------------------------------------658 //--------------------------------------------------------------------------------------------------667 //--------------------------------------------------------------------------------------------------671 //--------------------------------------------------------------------------------------------------678 //--------------------------------------------------------------------------------------------------687 //--------------------------------------------------------------------------------------------------694 //--------------------------------------------------------------------------------------------------703 //--------------------------------------------------------------------------------------------------710 //--------------------------------------------------------------------------------------------------719 //--------------------------------------------------------------------------------------------------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:309le_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:259le_result_t le_mcc_GetCallWaitingService(bool *activePtr)Far end is now alerting its user (outgoing call).Definition: le_mcc_interface.h:234cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:329le_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)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:325le_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:257le_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:345le_result_t le_mcc_Start(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:343Definition: le_mcc_interface.h:362bool le_mcc_IsConnected(le_mcc_CallRef_t callRef)struct le_mcc_CallEventHandler * le_mcc_CallEventHandlerRef_tDefinition: le_mcc_interface.h:388cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:349cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:303cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:337void le_mcc_RemoveCallEventHandler(le_mcc_CallEventHandlerRef_t handlerRef)void(* le_mcc_CallEventHandlerFunc_t)(le_mcc_CallRef_t callRef, le_mcc_Event_t event, void *contextPtr)Definition: le_mcc_interface.h:402Call has been established, and is media is active.Definition: le_mcc_interface.h:236le_result_t le_mcc_HangUp(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:327cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:321cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:299le_mcc_TerminationReason_t le_mcc_GetTerminationReason(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:323le_result_t le_mcc_Answer(le_mcc_CallRef_t callRef)Definition: le_mcc_interface.h:359le_result_t le_mcc_GetRemoteTel(le_mcc_CallRef_t callRef, char *telPtr, size_t telPtrSize)cf. 3GPP 24.008 10.5.3.6Definition: le_mcc_interface.h:357cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:311void le_mcc_SetServerDisconnectHandler(le_mcc_DisconnectHandler_t disconnectHandler, void *contextPtr)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:305le_result_t le_mcc_SetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t clirStatus)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:293void(* le_mcc_DisconnectHandler_t)(void *)Definition: le_mcc_interface.h:144