altera2015 / usbserial

Flutter Android USB Serial plugin
BSD 3-Clause "New" or "Revised" License
121 stars 83 forks source link

PlatformException(UsbSerialPortAdapter) #24

Closed venil7 closed 3 years ago

venil7 commented 4 years ago

I'm getting E/flutter (29253): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(UsbSerialPortAdapter, Not an Serial device., null)

USB device:

    +-o ACR1252 Dual Reader@14200000  <class AppleUSBDevice, id 0x100016c10, registered, matched, active, busy 0 (6 ms), retain 19>
MinhCuongIT commented 4 years ago

Same to you. But I don't know the way to fix it.

altera2015 commented 4 years ago

Were you running this on IOS?

MinhCuongIT commented 4 years ago

I run it on Android API 25

ConProgramming commented 4 years ago

I also have this... is this package abandoned, or?

altera2015 commented 4 years ago

Not every serial adapter is supported, can you tell me exactly what hardware it is. Include the vid and pid.

ConProgramming commented 4 years ago

I'm trying to connect a DigitalPersona U.are.U 4500 Fingerprint Reader VID: 1466 PID: 10

ConProgramming commented 4 years ago

Calling UsbSerialDevice.isSupported(device) on the device returns false, so it looks your right... thanks for the quick reply though!

altera2015 commented 4 years ago

Yeah looking at the underlying library it is not included https://github.com/felHR85/UsbSerial