le_antenna_interface.h
Go to the documentation of this file.
137 * le_antenna_AddStatusEventHandler() API adds a handler to be notified when the requested antenna171 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------178 //--------------------------------------------------------------------------------------------------181 * Connect the current client thread to the service providing this API. Block until the service is184 * For each thread that wants to use this API, either ConnectService or TryConnectService must be185 * called before any other functions in this API. Normally, ConnectService is automatically called190 //--------------------------------------------------------------------------------------------------196 //--------------------------------------------------------------------------------------------------199 * Try to connect the current client thread to the service providing this API. Return with an error202 * For each thread that wants to use this API, either ConnectService or TryConnectService must be203 * called before any other functions in this API. Normally, ConnectService is automatically called212 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).215 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------225 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants228 //--------------------------------------------------------------------------------------------------235 //--------------------------------------------------------------------------------------------------241 * longer a connection to the service, and the functions in this API can't be used. For details, see246 //--------------------------------------------------------------------------------------------------253 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------264 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------286 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------297 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------313 //--------------------------------------------------------------------------------------------------322 //--------------------------------------------------------------------------------------------------331 //--------------------------------------------------------------------------------------------------340 //--------------------------------------------------------------------------------------------------349 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------376 //--------------------------------------------------------------------------------------------------385 //--------------------------------------------------------------------------------------------------394 //--------------------------------------------------------------------------------------------------401 //--------------------------------------------------------------------------------------------------412 //--------------------------------------------------------------------------------------------------416 //--------------------------------------------------------------------------------------------------423 //--------------------------------------------------------------------------------------------------434 //--------------------------------------------------------------------------------------------------443 //--------------------------------------------------------------------------------------------------455 //--------------------------------------------------------------------------------------------------464 //--------------------------------------------------------------------------------------------------477 //--------------------------------------------------------------------------------------------------void le_antenna_RemoveStatusEventHandler(le_antenna_StatusEventHandlerRef_t handlerRef)le_result_t le_antenna_GetShortLimit(le_antenna_ObjRef_t antennaRef, uint32_t *shortLimitPtr)le_result_t le_antenna_GetExternalAdc(le_antenna_ObjRef_t antennaRef, int8_t *adcIdPtr)le_result_t le_antenna_GetStatus(le_antenna_ObjRef_t antennaRef, le_antenna_Status_t *statusPtr)void(* le_antenna_DisconnectHandler_t)(void *)Definition: le_antenna_interface.h:176le_result_t le_antenna_SetExternalAdc(le_antenna_ObjRef_t antennaRef, int8_t adcId)le_result_t le_antenna_SetShortLimit(le_antenna_ObjRef_t antennaRef, uint32_t shortLimit)struct le_antenna_StatusEventHandler * le_antenna_StatusEventHandlerRef_tDefinition: le_antenna_common.h:84LE_FULL_API void le_antenna_SetServerDisconnectHandler(le_antenna_DisconnectHandler_t disconnectHandler, void *contextPtr)le_antenna_ObjRef_t le_antenna_Request(le_antenna_Type_t antennaType)le_antenna_StatusEventHandlerRef_t le_antenna_AddStatusEventHandler(le_antenna_ObjRef_t antennaRef, le_antenna_StatusHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_antenna_TryConnectService(void)void le_antenna_DisconnectService(void)le_result_t le_antenna_SetOpenLimit(le_antenna_ObjRef_t antennaRef, uint32_t openLimit)void(* le_antenna_StatusHandlerFunc_t)(le_antenna_ObjRef_t antennaRef, le_antenna_Status_t status, void *contextPtr)Definition: le_antenna_common.h:94void le_antenna_ConnectService(void)le_result_t le_antenna_GetOpenLimit(le_antenna_ObjRef_t antennaRef, uint32_t *openLimitPtr)le_result_t le_antenna_GetType(le_antenna_ObjRef_t antennaRef, le_antenna_Type_t *antennaTypePtr)