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 notified81 * and the requested Active Time value which are defined in 3GPP TS 27.007 version 12.7.0 Release 12.107 //--------------------------------------------------------------------------------------------------111 //--------------------------------------------------------------------------------------------------114 //--------------------------------------------------------------------------------------------------117 * Connect the current client thread to the service providing this API. Block until the service is120 * For each thread that wants to use this API, either ConnectService or TryConnectService must be121 * called before any other functions in this API. Normally, ConnectService is automatically called126 //--------------------------------------------------------------------------------------------------132 //--------------------------------------------------------------------------------------------------135 * Try to connect the current client thread to the service providing this API. Return with an error138 * For each thread that wants to use this API, either ConnectService or TryConnectService must be139 * called before any other functions in this API. Normally, ConnectService is automatically called148 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).151 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------161 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants164 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------177 * longer a connection to the service, and the functions in this API can't be used. For details, see182 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------196 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------247 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------301 //--------------------------------------------------------------------------------------------------313 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------329 //--------------------------------------------------------------------------------------------------338 //--------------------------------------------------------------------------------------------------342 //--------------------------------------------------------------------------------------------------349 //--------------------------------------------------------------------------------------------------359 //--------------------------------------------------------------------------------------------------366 //--------------------------------------------------------------------------------------------------376 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------393 //--------------------------------------------------------------------------------------------------406 //--------------------------------------------------------------------------------------------------416 //--------------------------------------------------------------------------------------------------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:77void(* le_lpt_DisconnectHandler_t)(void *)Definition: le_lpt_interface.h:112le_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:86le_result_t le_lpt_GetRequestedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t *eDrxValuePtr)le_result_t le_lpt_SetPmMode(le_lpt_PMMode_t mode)le_result_t le_lpt_SetRequestedEDrxValue(le_lpt_EDrxRat_t rat, uint8_t eDrxValue)void le_lpt_ConnectService(void)le_result_t le_lpt_GetPSMValue(uint8_t *rqstPeriodicRauPtr, uint8_t *rqstGprsRdyTimerPtr, uint8_t *rqstPeriodicTauPtr, uint8_t *rqstActiveTimerPtr)le_result_t le_lpt_SetPSMValue(uint8_t rqstPeriodicRau, uint8_t rqstGprsRdyTimer, uint8_t rqstPeriodicTau, uint8_t rqstActiveTimer)le_result_t le_lpt_SetPSMState(le_onoff_t activation)