le_data_interface.h
Go to the documentation of this file.
21 * The data connection service provides a basic API for requesting and releasing a data connection.27 * All the functions of this API are provided by the @b dataConnectionService application service.87 * and @c r+n+1. Technologies with ranks under @c r are not impacted. If the technology is already135 //--------------------------------------------------------------------------------------------------138 * Connect the current client thread to the service providing this API. Block until the service is141 * For each thread that wants to use this API, either ConnectService or TryConnectService must be142 * called before any other functions in this API. Normally, ConnectService is automatically called147 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------156 * Try to connect the current client thread to the service providing this API. Return with an error159 * For each thread that wants to use this API, either ConnectService or TryConnectService must be160 * called before any other functions in this API. Normally, ConnectService is automatically called167 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.168 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).171 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------183 * longer a connection to the service, and the functions in this API can't be used. For details, see188 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------211 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------238 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------258 (264 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------305 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------316 //--------------------------------------------------------------------------------------------------325 //--------------------------------------------------------------------------------------------------335 //--------------------------------------------------------------------------------------------------342 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------355 //--------------------------------------------------------------------------------------------------361 //--------------------------------------------------------------------------------------------------371 //--------------------------------------------------------------------------------------------------void le_data_ConnectService(void)void le_data_Release(le_data_RequestObjRef_t requestRef)void le_data_RemoveConnectionStateHandler(le_data_ConnectionStateHandlerRef_t addHandlerRef)le_data_RequestObjRef_t le_data_Request(void)struct le_data_RequestObj * le_data_RequestObjRef_tDefinition: le_data_interface.h:200le_result_t le_data_SetTechnologyRank(uint32_t rank, le_data_Technology_t technology)void(* le_data_ConnectionStateHandlerFunc_t)(const char *intfName, bool isConnected, void *contextPtr)Definition: le_data_interface.h:258le_data_Technology_t le_data_GetNextUsedTechnology(void)le_result_t le_data_TryConnectService(void)void le_data_DisconnectService(void)le_data_Technology_t le_data_GetTechnology(void)struct le_data_ConnectionStateHandler * le_data_ConnectionStateHandlerRef_tDefinition: le_data_interface.h:243le_data_Technology_t le_data_GetFirstUsedTechnology(void)le_data_ConnectionStateHandlerRef_t le_data_AddConnectionStateHandler(le_data_ConnectionStateHandlerFunc_t handlerPtr, void *contextPtr)