le_mcc_interface.h
Go to the documentation of this file.
63 * another thread, they will each get different call references for the same call. So, when multiple64 * threads are being used to work with the same call, a comparison of the call references themselves100 * @todo Other Supplementary services will be available in a future release. Create simpler examples.104 * A sample code that implements a dialing call can be found in \b le_mccTest.c file (please refer135 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 * Connect the current client thread to the service providing this API. Block until the service is148 * For each thread that wants to use this API, either ConnectService or TryConnectService must be149 * called before any other functions in this API. Normally, ConnectService is automatically called154 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------163 * Try to connect the current client thread to the service providing this API. Return with an error166 * For each thread that wants to use this API, either ConnectService or TryConnectService must be167 * called before any other functions in this API. Normally, ConnectService is automatically called176 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).179 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------189 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants192 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------205 * longer a connection to the service, and the functions in this API can't be used. For details, see210 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------371 //--------------------------------------------------------------------------------------------------375 //--------------------------------------------------------------------------------------------------379 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------387 //--------------------------------------------------------------------------------------------------396 //--------------------------------------------------------------------------------------------------398 (407 //--------------------------------------------------------------------------------------------------417 //--------------------------------------------------------------------------------------------------425 //--------------------------------------------------------------------------------------------------436 //--------------------------------------------------------------------------------------------------443 //--------------------------------------------------------------------------------------------------461 //--------------------------------------------------------------------------------------------------468 //--------------------------------------------------------------------------------------------------477 //--------------------------------------------------------------------------------------------------484 //--------------------------------------------------------------------------------------------------488 * Output parameter is updated with the telephone number. If the Telephone number string length exceeds489 * the value of 'len' parameter, the LE_OVERFLOW error code is returned and 'telPtr' is used until491 * Note that 'len' sould be at least equal to LE_MDMDEFS_PHONE_NUM_MAX_BYTES, otherwise LE_OVERFLOW500 //--------------------------------------------------------------------------------------------------511 //--------------------------------------------------------------------------------------------------520 //--------------------------------------------------------------------------------------------------527 //--------------------------------------------------------------------------------------------------536 //--------------------------------------------------------------------------------------------------543 //--------------------------------------------------------------------------------------------------555 //--------------------------------------------------------------------------------------------------562 //--------------------------------------------------------------------------------------------------575 //--------------------------------------------------------------------------------------------------582 //--------------------------------------------------------------------------------------------------584 * This function will disconnect, or hang up all the ongoing calls. Any active call handlers will591 //--------------------------------------------------------------------------------------------------597 //--------------------------------------------------------------------------------------------------599 * This function return the Calling Line Identification Restriction (CLIR) status on the specific610 //--------------------------------------------------------------------------------------------------619 //--------------------------------------------------------------------------------------------------621 * This function set the Calling Line Identification Restriction (CLIR) status on the specific call.629 //--------------------------------------------------------------------------------------------------638 //--------------------------------------------------------------------------------------------------650 //--------------------------------------------------------------------------------------------------659 //--------------------------------------------------------------------------------------------------663 //--------------------------------------------------------------------------------------------------670 //--------------------------------------------------------------------------------------------------679 //--------------------------------------------------------------------------------------------------686 //--------------------------------------------------------------------------------------------------695 //--------------------------------------------------------------------------------------------------702 //--------------------------------------------------------------------------------------------------711 //--------------------------------------------------------------------------------------------------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:305le_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:255le_result_t le_mcc_GetCallWaitingService(bool *activePtr)Far end is now alerting its user (outgoing call).Definition: le_mcc_interface.h:230cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:325le_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:321le_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:253le_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:341le_result_t le_mcc_Start(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:339Definition: le_mcc_interface.h:358bool le_mcc_IsConnected(le_mcc_CallRef_t callRef)struct le_mcc_CallEventHandler * le_mcc_CallEventHandlerRef_tDefinition: le_mcc_interface.h:384cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:345cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:299cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:333void 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:398Call has been established, and is media is active.Definition: le_mcc_interface.h:232le_result_t le_mcc_HangUp(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:323cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:317cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:295le_mcc_TerminationReason_t le_mcc_GetTerminationReason(le_mcc_CallRef_t callRef)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:319le_result_t le_mcc_Answer(le_mcc_CallRef_t callRef)Definition: le_mcc_interface.h:355le_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:353cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:307void le_mcc_SetServerDisconnectHandler(le_mcc_DisconnectHandler_t disconnectHandler, void *contextPtr)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:301le_result_t le_mcc_SetCallerIdRestrict(le_mcc_CallRef_t callRef, le_onoff_t clirStatus)cf. 3GPP 24.008 Annex HDefinition: le_mcc_interface.h:289void(* le_mcc_DisconnectHandler_t)(void *)Definition: le_mcc_interface.h:140