aboutsummaryrefslogtreecommitdiff
path: root/client/peripheral_manager_client_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/peripheral_manager_client_impl.h')
-rw-r--r--client/peripheral_manager_client_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/peripheral_manager_client_impl.h b/client/peripheral_manager_client_impl.h
index 0eb144a..aba4739 100644
--- a/client/peripheral_manager_client_impl.h
+++ b/client/peripheral_manager_client_impl.h
@@ -24,6 +24,7 @@
#include "i2c_device_impl.h"
#include "led_impl.h"
#include "spi_device_impl.h"
+#include "uart_device_impl.h"
class PeripheralManagerClientImpl {
public:
@@ -46,6 +47,10 @@ class PeripheralManagerClientImpl {
std::unique_ptr<I2cDeviceImpl>* device);
int ListI2cBuses(std::vector<std::string>* buses);
+ int OpenUartDevice(const std::string& name,
+ std::unique_ptr<UartDeviceImpl>* device);
+ int ListUartDevices(std::vector<std::string>* buses);
+
private:
android::sp<android::os::IPeripheralManagerClient> client_;
android::sp<android::IBinder> lifeline_;