le_adc_interface.h
Go to the documentation of this file.
44 //--------------------------------------------------------------------------------------------------47 * Connect the current client thread to the service providing this API. Block until the service is51 * called before any other functions in this API. Normally, ConnectService is automatically called56 //--------------------------------------------------------------------------------------------------62 //--------------------------------------------------------------------------------------------------65 * Try to connect the current client thread to the service providing this API. Return with an error69 * called before any other functions in this API. Normally, ConnectService is automatically called76 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.77 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).80 //--------------------------------------------------------------------------------------------------86 //--------------------------------------------------------------------------------------------------92 * longer a connection to the service, and the functions in this API can't be used. For details, see97 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------108 //--------------------------------------------------------------------------------------------------112 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------120 //--------------------------------------------------------------------------------------------------128 //--------------------------------------------------------------------------------------------------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)