le_cellnet_interface.h
Go to the documentation of this file.
23 * If all of the above conditions are met, then the service indicates that the network is available.73 * - is blocked, Cellular Network Service just log an error and did not try to enter the puk code.97 //--------------------------------------------------------------------------------------------------100 * Connect the current client thread to the service providing this API. Block until the service is103 * For each thread that wants to use this API, either ConnectService or TryConnectService must be104 * called before any other functions in this API. Normally, ConnectService is automatically called109 //--------------------------------------------------------------------------------------------------115 //--------------------------------------------------------------------------------------------------118 * Try to connect the current client thread to the service providing this API. Return with an error121 * For each thread that wants to use this API, either ConnectService or TryConnectService must be122 * called before any other functions in this API. Normally, ConnectService is automatically called129 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.130 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).133 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------145 * longer a connection to the service, and the functions in this API can't be used. For details, see150 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------191 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------209 (214 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------241 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------255 //--------------------------------------------------------------------------------------------------259 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------281 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------302 //--------------------------------------------------------------------------------------------------void(* le_cellnet_StateHandlerFunc_t)(le_cellnet_State_t state, void *contextPtr)Definition: le_cellnet_interface.h:209le_result_t le_cellnet_TryConnectService(void)void le_cellnet_DisconnectService(void)void le_cellnet_Release(le_cellnet_RequestObjRef_t cellNetRef)le_cellnet_StateEventHandlerRef_t le_cellnet_AddStateEventHandler(le_cellnet_StateHandlerFunc_t handlerPtr, void *contextPtr)le_cellnet_RequestObjRef_t le_cellnet_Request(void)void le_cellnet_ConnectService(void)struct le_cellnet_StateEventHandler * le_cellnet_StateEventHandlerRef_tDefinition: le_cellnet_interface.h:196struct le_cellnet_RequestObj * le_cellnet_RequestObjRef_tDefinition: le_cellnet_interface.h:162void le_cellnet_RemoveStateEventHandler(le_cellnet_StateEventHandlerRef_t addHandlerRef)le_result_t le_cellnet_GetSimPinCode(le_sim_Id_t simId, char *pinCode, size_t pinCodeNumElements)le_result_t le_cellnet_SetSimPinCode(le_sim_Id_t simId, const char *pinCode)