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 antenna167 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------174 //--------------------------------------------------------------------------------------------------177 * Connect the current client thread to the service providing this API. Block until the service is180 * For each thread that wants to use this API, either ConnectService or TryConnectService must be181 * called before any other functions in this API. Normally, ConnectService is automatically called186 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------195 * Try to connect the current client thread to the service providing this API. Return with an error198 * For each thread that wants to use this API, either ConnectService or TryConnectService must be199 * called before any other functions in this API. Normally, ConnectService is automatically called208 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).211 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------221 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants224 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------237 * longer a connection to the service, and the functions in this API can't be used. For details, see242 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------253 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------263 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------275 //--------------------------------------------------------------------------------------------------278 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------293 //--------------------------------------------------------------------------------------------------300 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------327 //--------------------------------------------------------------------------------------------------336 //--------------------------------------------------------------------------------------------------345 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------363 //--------------------------------------------------------------------------------------------------372 //--------------------------------------------------------------------------------------------------381 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------397 //--------------------------------------------------------------------------------------------------408 //--------------------------------------------------------------------------------------------------412 //--------------------------------------------------------------------------------------------------419 //--------------------------------------------------------------------------------------------------430 //--------------------------------------------------------------------------------------------------439 //--------------------------------------------------------------------------------------------------451 //--------------------------------------------------------------------------------------------------460 //--------------------------------------------------------------------------------------------------473 //--------------------------------------------------------------------------------------------------le_result_t le_antenna_TryConnectService(void)LE_FULL_API void le_antenna_SetServerDisconnectHandler(le_antenna_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_antenna_RemoveStatusEventHandler(le_antenna_StatusEventHandlerRef_t handlerRef)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)le_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)le_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)le_result_t le_antenna_SetShortLimit(le_antenna_ObjRef_t antennaRef, uint32_t shortLimit)le_result_t le_antenna_SetExternalAdc(le_antenna_ObjRef_t antennaRef, int8_t adcId)void(* le_antenna_DisconnectHandler_t)(void *)Definition: le_antenna_interface.h:172le_antenna_StatusEventHandlerRef_t le_antenna_AddStatusEventHandler(le_antenna_ObjRef_t antennaRef, le_antenna_StatusHandlerFunc_t handlerPtr, void *contextPtr)