feat(android): add non-root impl

This commit is contained in:
John Zhao
2019-02-12 09:54:02 +08:00
parent b35d55309d
commit 4b8b7f707c
31 changed files with 4052 additions and 97 deletions

View File

@@ -2,9 +2,6 @@
# Device class to communicate with MYNT® EYE device
device = interface +c {
# Query devices
static query(): list<device_usb_info>;
# Create the device instance
static create(info: device_usb_info): device;

View File

@@ -1,12 +1,22 @@
# Device USB information
device_usb_info = record {
# Device index
index: i32;
# Device name
# Vendor id
vid: i32;
# Product id
pid: i32;
# File descriptor
fd: i32;
# Bus number
bus_num: i32;
# Dev number
dev_num: i32;
# Usb file system path
usb_fs: string;
# Product name
name: string;
# Device serial number
sn: string;
# Serial number
serial: string;
}
# Device model