le_antenna_interface.h
Go to the documentation of this file.
133 * le_antenna_AddStatusEventHandler() API adds a handler to be notified when the requested antenna161 //--------------------------------------------------------------------------------------------------164 * Connect the current client thread to the service providing this API. Block until the service is167 * For each thread that wants to use this API, either ConnectService or TryConnectService must be168 * called before any other functions in this API. Normally, ConnectService is automatically called173 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------182 * Try to connect the current client thread to the service providing this API. Return with an error185 * For each thread that wants to use this API, either ConnectService or TryConnectService must be186 * called before any other functions in this API. Normally, ConnectService is automatically called193 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.194 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).197 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------209 * longer a connection to the service, and the functions in this API can't be used. For details, see214 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------225 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------233 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------287 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------300 (306 //--------------------------------------------------------------------------------------------------314 //--------------------------------------------------------------------------------------------------321 //--------------------------------------------------------------------------------------------------329 //--------------------------------------------------------------------------------------------------339 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------386 //--------------------------------------------------------------------------------------------------396 //--------------------------------------------------------------------------------------------------405 //--------------------------------------------------------------------------------------------------415 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------434 //--------------------------------------------------------------------------------------------------438 //--------------------------------------------------------------------------------------------------445 //--------------------------------------------------------------------------------------------------456 //--------------------------------------------------------------------------------------------------466 //--------------------------------------------------------------------------------------------------478 //--------------------------------------------------------------------------------------------------488 //--------------------------------------------------------------------------------------------------501 //--------------------------------------------------------------------------------------------------le_result_t le_antenna_TryConnectService(void)antenna in short circuit: unknown state.Definition: le_antenna_interface.h:257antenna in closed circuit: presence of antenna.Definition: le_antenna_interface.h:260void 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:266le_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:284le_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:263le_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:226void(* le_antenna_StatusHandlerFunc_t)(le_antenna_ObjRef_t antennaRef, le_antenna_Status_t status, void *contextPtr)Definition: le_antenna_interface.h:300le_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)