mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
android: first working device comm no root
This commit is contained in:
@@ -39,9 +39,10 @@ private:
|
||||
neodevice_t& device;
|
||||
libusb_context *ctx = nullptr;
|
||||
libusb_device_handle *libusbDeviceHandle = nullptr;
|
||||
|
||||
inline static std::unordered_map<int,libusb_device_handle*> systemFDs; //android FD, libusb handle
|
||||
|
||||
static constexpr int ep_in_addr = 0x83;
|
||||
static constexpr int ep_out_addr = 0x02;
|
||||
bool openStatus = false;
|
||||
void readTask() override;
|
||||
void writeTask() override;
|
||||
bool fdIsValid();
|
||||
|
||||
Reference in New Issue
Block a user