le_data_interface.h
Go to the documentation of this file.
23 * The data connection service provides a basic API for requesting and releasing a data connection.29 * All the functions of this API are provided by the @b dataConnectionService application service.89 * and @c r+n+1. Technologies with ranks under @c r are not impacted. If the technology is already138 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------148 * Connect the current client thread to the service providing this API. Block until the service is151 * For each thread that wants to use this API, either ConnectService or TryConnectService must be152 * called before any other functions in this API. Normally, ConnectService is automatically called157 //--------------------------------------------------------------------------------------------------163 //--------------------------------------------------------------------------------------------------166 * Try to connect the current client thread to the service providing this API. Return with an error169 * For each thread that wants to use this API, either ConnectService or TryConnectService must be170 * called before any other functions in this API. Normally, ConnectService is automatically called179 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).182 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------192 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants195 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------208 * longer a connection to the service, and the functions in this API can't be used. For details, see213 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------238 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------259 //--------------------------------------------------------------------------------------------------263 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------273 (282 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------297 //--------------------------------------------------------------------------------------------------301 //--------------------------------------------------------------------------------------------------308 //--------------------------------------------------------------------------------------------------316 //--------------------------------------------------------------------------------------------------322 //--------------------------------------------------------------------------------------------------326 //--------------------------------------------------------------------------------------------------333 //--------------------------------------------------------------------------------------------------342 //--------------------------------------------------------------------------------------------------351 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------364 //--------------------------------------------------------------------------------------------------371 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------387 //--------------------------------------------------------------------------------------------------void le_data_ConnectService(void)void le_data_Release(le_data_RequestObjRef_t requestRef)le_data_RequestObjRef_t le_data_Request(void)struct le_data_RequestObj * le_data_RequestObjRef_tDefinition: le_data_interface.h:239void le_data_RemoveConnectionStateHandler(le_data_ConnectionStateHandlerRef_t handlerRef)le_result_t le_data_SetTechnologyRank(uint32_t rank, le_data_Technology_t technology)le_data_Technology_t le_data_GetNextUsedTechnology(void)le_result_t le_data_TryConnectService(void)void le_data_DisconnectService(void)void(* le_data_ConnectionStateHandlerFunc_t)(const char *intfName, bool isConnected, void *contextPtr)Definition: le_data_interface.h:273void le_data_SetServerDisconnectHandler(le_data_DisconnectHandler_t disconnectHandler, void *contextPtr)le_data_Technology_t le_data_GetTechnology(void)void(* le_data_DisconnectHandler_t)(void *)Definition: le_data_interface.h:143struct le_data_ConnectionStateHandler * le_data_ConnectionStateHandlerRef_tDefinition: le_data_interface.h:264le_data_Technology_t le_data_GetFirstUsedTechnology(void)le_data_ConnectionStateHandlerRef_t le_data_AddConnectionStateHandler(le_data_ConnectionStateHandlerFunc_t handlerPtr, void *contextPtr)