le_antenna_interface.h
Go to the documentation of this file.
80 * Moreover a current hardware protection circuitry is able to protect the power supply of that active antenna.92 * antenna diagnostic hardware design measuring the current to determine in which state the antenna is.130 * le_antenna_AddStatusEventHandler() API adds a handler to be notified when the requested antenna159 //--------------------------------------------------------------------------------------------------162 * Connect the current client thread to the service providing this API. Block until the service is165 * For each thread that wants to use this API, either ConnectService or TryConnectService must be166 * called before any other functions in this API. Normally, ConnectService is automatically called171 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------180 * Try to connect the current client thread to the service providing this API. Return with an error183 * For each thread that wants to use this API, either ConnectService or TryConnectService must be184 * called before any other functions in this API. Normally, ConnectService is automatically called191 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.192 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).195 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------207 * longer a connection to the service, and the functions in this API can't be used. For details, see212 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------248 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------277 //--------------------------------------------------------------------------------------------------281 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------298 (304 //--------------------------------------------------------------------------------------------------312 //--------------------------------------------------------------------------------------------------319 //--------------------------------------------------------------------------------------------------327 //--------------------------------------------------------------------------------------------------337 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------356 //--------------------------------------------------------------------------------------------------365 //--------------------------------------------------------------------------------------------------375 //--------------------------------------------------------------------------------------------------384 //--------------------------------------------------------------------------------------------------394 //--------------------------------------------------------------------------------------------------403 //--------------------------------------------------------------------------------------------------413 //--------------------------------------------------------------------------------------------------419 //--------------------------------------------------------------------------------------------------432 //--------------------------------------------------------------------------------------------------436 //--------------------------------------------------------------------------------------------------443 //--------------------------------------------------------------------------------------------------454 //--------------------------------------------------------------------------------------------------464 //--------------------------------------------------------------------------------------------------476 //--------------------------------------------------------------------------------------------------486 //--------------------------------------------------------------------------------------------------499 //--------------------------------------------------------------------------------------------------le_result_t le_antenna_TryConnectService(void)antenna in short circuit: unknown state.Definition: le_antenna_interface.h:255antenna in close circuit: presence of antenna.Definition: le_antenna_interface.h:258void 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:264le_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:282le_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:261le_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:224void(* le_antenna_StatusHandlerFunc_t)(le_antenna_ObjRef_t antennaRef, le_antenna_Status_t status, void *contextPtr)Definition: le_antenna_interface.h:298le_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)