le_lpt_interface.h
Go to the documentation of this file.
37 * its circuitry off during the extended DRX period to save power. During the extended DRX period,51 * the Paging Time Window. These parameters are negotiated between the device and the network during64 * The requested Paging Time Window cannot be set, but the network-provided value can be retrieved69 * A handler can also be registered with le_lpt_AddEDrxParamsChangeHandler() in order to be notified97 //--------------------------------------------------------------------------------------------------101 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------107 * Connect the current client thread to the service providing this API. Block until the service is110 * For each thread that wants to use this API, either ConnectService or TryConnectService must be111 * called before any other functions in this API. Normally, ConnectService is automatically called116 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------125 * Try to connect the current client thread to the service providing this API. Return with an error128 * For each thread that wants to use this API, either ConnectService or TryConnectService must be129 * called before any other functions in this API. Normally, ConnectService is automatically called138 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).141 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------151 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants154 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------167 * longer a connection to the service, and the functions in this API can't be used. For details, see172 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------312 //--------------------------------------------------------------------------------------------------321 //--------------------------------------------------------------------------------------------------325 //--------------------------------------------------------------------------------------------------le_lpt_EDrxParamsChangeHandlerRef_t le_lpt_AddEDrxParamsChangeHandler(le_lpt_EDrxParamsChangeHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_lpt_GetNetworkProvidedPagingTimeWindow(le_lpt_EDrxRat_t rat, uint8_t *pagingTimeWindowPtr)le_result_t le_lpt_GetNetworkProvidedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t *eDrxValuePtr)le_result_t le_lpt_GetRequestedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t *eDrxValuePtr)void(* le_lpt_DisconnectHandler_t)(void *)Definition: le_lpt_interface.h:102void le_lpt_DisconnectService(void)LE_FULL_API void le_lpt_SetServerDisconnectHandler(le_lpt_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_lpt_SetEDrxState(le_lpt_EDrxRat_t rat, le_onoff_t activation)le_result_t le_lpt_TryConnectService(void)void le_lpt_RemoveEDrxParamsChangeHandler(le_lpt_EDrxParamsChangeHandlerRef_t handlerRef)le_result_t le_lpt_SetRequestedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t eDrxValue)void le_lpt_ConnectService(void)