le_adc_interface.h
Go to the documentation of this file.
45 //--------------------------------------------------------------------------------------------------48 * Connect the current client thread to the service providing this API. Block until the service is52 * called before any other functions in this API. Normally, ConnectService is automatically called57 //--------------------------------------------------------------------------------------------------63 //--------------------------------------------------------------------------------------------------66 * Try to connect the current client thread to the service providing this API. Return with an error70 * called before any other functions in this API. Normally, ConnectService is automatically called77 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.78 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).81 //--------------------------------------------------------------------------------------------------87 //--------------------------------------------------------------------------------------------------93 * longer a connection to the service, and the functions in this API can't be used. For details, see98 //--------------------------------------------------------------------------------------------------105 //--------------------------------------------------------------------------------------------------109 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------118 //--------------------------------------------------------------------------------------------------121 //--------------------------------------------------------------------------------------------------129 //--------------------------------------------------------------------------------------------------le_result_t le_adc_ReadValue(const char *adcName, int32_t *adcValuePtr)le_result_t le_adc_TryConnectService(void)void le_adc_DisconnectService(void)void le_adc_ConnectService(void)