Closed vnlevanduoc closed 5 years ago
I tried adding one parameter "ftdi" to the "device.create ()" function, the program reported the connection
But I want to send and receive back as a byte, what do I use?
in the default android library set "android.hardware.usb" I have previously seen the "connection.bulkTransfer (usbEndpointOut, send, send.length, SEND_TIMEOUT) method;"
Are there similar functions in this library?
This library is higher level than the bulkTransfer call. UsbSerial provides a wrapper layer exposing the Serial USB devices, not the raw devices.
Hello guys!
I am learning about USB serial in Flutter language and see that your library is supporting this issue
But I import the library and run the example code, I get an error like this
When running to the section: "_port = await device.create ();" then it reports an error "[ERROR: flutter / lib / ui / ui_dart_state.cc (148)] Unhandled Exception: PlatformException (UsbSerialPortAdapter, Not an Serial device., Null)"
Link driver: http://www.abacuselectrics.com/usbsoft.htm
Can you support me?
p / s: please I am not fluent in English so thanks to google translation, I hope you guys will apologize
THANK YOU!