altera2015 / usbserial

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

Can we send hexa to the serial port instead of uint8? #89

Closed momyuke closed 1 year ago

momyuke commented 1 year ago

Right now, i tried to build an app which send the hexa data to the other machine. But when I tried send the data, the package asking a Uint8List data. Is UsbSerial Package have a workaround to send the hexa data to the other machine?

I really appreciate if you have a workaround for my problem.

Thank you.

altera2015 commented 1 year ago

The library supports sending uin8 (aka binary data). So it's up to the application to convert it to the proper encoding.