le_antenna_interface.h
Go to the documentation of this file.
135 * le_antenna_AddStatusEventHandler() API adds a handler to be notified when the requested antenna163 //--------------------------------------------------------------------------------------------------166 * Connect the current client thread to the service providing this API. Block until the service is169 * 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 called175 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------184 * Try to connect the current client thread to the service providing this API. Return with an error187 * For each thread that wants to use this API, either ConnectService or TryConnectService must be188 * called before any other functions in this API. Normally, ConnectService is automatically called195 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.196 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).199 //--------------------------------------------------------------------------------------------------205 //--------------------------------------------------------------------------------------------------211 * longer a connection to the service, and the functions in this API can't be used. For details, see216 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------235 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------281 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------300 //--------------------------------------------------------------------------------------------------302 (308 //--------------------------------------------------------------------------------------------------316 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------331 //--------------------------------------------------------------------------------------------------341 //--------------------------------------------------------------------------------------------------350 //--------------------------------------------------------------------------------------------------360 //--------------------------------------------------------------------------------------------------369 //--------------------------------------------------------------------------------------------------379 //--------------------------------------------------------------------------------------------------388 //--------------------------------------------------------------------------------------------------398 //--------------------------------------------------------------------------------------------------407 //--------------------------------------------------------------------------------------------------417 //--------------------------------------------------------------------------------------------------423 //--------------------------------------------------------------------------------------------------436 //--------------------------------------------------------------------------------------------------440 //--------------------------------------------------------------------------------------------------447 //--------------------------------------------------------------------------------------------------458 //--------------------------------------------------------------------------------------------------468 //--------------------------------------------------------------------------------------------------480 //--------------------------------------------------------------------------------------------------490 //--------------------------------------------------------------------------------------------------503 //--------------------------------------------------------------------------------------------------le_result_t le_antenna_TryConnectService(void)antenna in short circuit: unknown state.Definition: le_antenna_interface.h:259antenna in closed circuit: presence of antenna.Definition: le_antenna_interface.h:262void le_antenna_RemoveStatusEventHandler(le_antenna_StatusEventHandlerRef_t addHandlerRef)void le_antenna_ConnectService(void)le_result_t le_antenna_GetType(le_antenna_ObjRef_t antennaRef, le_antenna_Type_t *antennaTypePtr)le_result_t le_antenna_GetExternalAdc(le_antenna_ObjRef_t antennaRef, int8_t *adcIdPtr)le_result_t le_antenna_GetOpenLimit(le_antenna_ObjRef_t antennaRef, uint32_t *openLimitPtr)Definition: le_antenna_interface.h:268le_result_t le_antenna_GetStatus(le_antenna_ObjRef_t antennaRef, le_antenna_Status_t *statusPtr)le_antenna_ObjRef_t le_antenna_Request(le_antenna_Type_t antennaType)struct le_antenna_StatusEventHandler * le_antenna_StatusEventHandlerRef_tDefinition: le_antenna_interface.h:286le_result_t le_antenna_GetShortLimit(le_antenna_ObjRef_t antennaRef, uint32_t *shortLimitPtr)void le_antenna_DisconnectService(void)le_result_t le_antenna_SetOpenLimit(le_antenna_ObjRef_t antennaRef, uint32_t openLimit)antenna in open circuit: there is no antenna.Definition: le_antenna_interface.h:265le_result_t le_antenna_SetShortLimit(le_antenna_ObjRef_t antennaRef, uint32_t shortLimit)struct le_antenna_Obj * le_antenna_ObjRef_tDefinition: le_antenna_interface.h:228void(* le_antenna_StatusHandlerFunc_t)(le_antenna_ObjRef_t antennaRef, le_antenna_Status_t status, void *contextPtr)Definition: le_antenna_interface.h:302le_result_t le_antenna_SetExternalAdc(le_antenna_ObjRef_t antennaRef, int8_t adcId)le_antenna_StatusEventHandlerRef_t le_antenna_AddStatusEventHandler(le_antenna_ObjRef_t antennaRef, le_antenna_StatusHandlerFunc_t handlerPtr, void *contextPtr)