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 notified101 //--------------------------------------------------------------------------------------------------105 //--------------------------------------------------------------------------------------------------108 //--------------------------------------------------------------------------------------------------111 * Connect the current client thread to the service providing this API. Block until the service is114 * For each thread that wants to use this API, either ConnectService or TryConnectService must be115 * called before any other functions in this API. Normally, ConnectService is automatically called120 //--------------------------------------------------------------------------------------------------126 //--------------------------------------------------------------------------------------------------129 * Try to connect the current client thread to the service providing this API. Return with an error132 * For each thread that wants to use this API, either ConnectService or TryConnectService must be133 * called before any other functions in this API. Normally, ConnectService is automatically called142 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).145 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------155 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants158 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------171 * longer a connection to the service, and the functions in this API can't be used. For details, see176 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------187 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------278 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------300 //--------------------------------------------------------------------------------------------------310 //--------------------------------------------------------------------------------------------------316 //--------------------------------------------------------------------------------------------------325 //--------------------------------------------------------------------------------------------------329 //--------------------------------------------------------------------------------------------------LE_FULL_API void le_lpt_SetServerDisconnectHandler(le_lpt_DisconnectHandler_t disconnectHandler, void *contextPtr)le_lpt_EDrxParamsChangeHandlerRef_t le_lpt_AddEDrxParamsChangeHandler(le_lpt_EDrxParamsChangeHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_lpt_GetNetworkProvidedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t *eDrxValuePtr)le_result_t le_lpt_SetEDrxState(le_lpt_EDrxRat_t rat, le_onoff_t activation)struct le_lpt_EDrxParamsChangeHandler * le_lpt_EDrxParamsChangeHandlerRef_tDefinition: le_lpt_common.h:58void(* le_lpt_DisconnectHandler_t)(void *)Definition: le_lpt_interface.h:106le_result_t le_lpt_TryConnectService(void)le_result_t le_lpt_GetNetworkProvidedPagingTimeWindow(le_lpt_EDrxRat_t rat, uint8_t *pagingTimeWindowPtr)void le_lpt_RemoveEDrxParamsChangeHandler(le_lpt_EDrxParamsChangeHandlerRef_t handlerRef)void le_lpt_DisconnectService(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_common.h:67le_result_t le_lpt_GetRequestedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t *eDrxValuePtr)le_result_t le_lpt_SetRequestedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t eDrxValue)void le_lpt_ConnectService(void)