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 notified96 //--------------------------------------------------------------------------------------------------100 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------106 * Connect the current client thread to the service providing this API. Block until the service is109 * For each thread that wants to use this API, either ConnectService or TryConnectService must be110 * called before any other functions in this API. Normally, ConnectService is automatically called115 //--------------------------------------------------------------------------------------------------121 //--------------------------------------------------------------------------------------------------124 * Try to connect the current client thread to the service providing this API. Return with an error127 * For each thread that wants to use this API, either ConnectService or TryConnectService must be128 * called before any other functions in this API. Normally, ConnectService is automatically called137 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).140 //--------------------------------------------------------------------------------------------------146 //--------------------------------------------------------------------------------------------------150 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants153 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------166 * longer a connection to the service, and the functions in this API can't be used. For details, see171 //--------------------------------------------------------------------------------------------------178 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------211 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------217 (232 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------272 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------294 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------316 //--------------------------------------------------------------------------------------------------328 //--------------------------------------------------------------------------------------------------338 //--------------------------------------------------------------------------------------------------344 //--------------------------------------------------------------------------------------------------353 //--------------------------------------------------------------------------------------------------357 //--------------------------------------------------------------------------------------------------le_lpt_EDrxParamsChangeHandlerRef_t le_lpt_AddEDrxParamsChangeHandler(le_lpt_EDrxParamsChangeHandlerFunc_t handlerPtr, void *contextPtr)struct le_lpt_EDrxParamsChangeHandler * le_lpt_EDrxParamsChangeHandlerRef_tDefinition: le_lpt_interface.h:208le_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:101void le_lpt_DisconnectService(void)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)void(* le_lpt_EDrxParamsChangeHandlerFunc_t)(le_lpt_EDrxRat_t rat, le_onoff_t activation, uint8_t eDrxValue, uint8_t pagingTimeWindow, void *contextPtr)Definition: le_lpt_interface.h:217void le_lpt_SetServerDisconnectHandler(le_lpt_DisconnectHandler_t disconnectHandler, void *contextPtr)