Skip to main content

usb_serial_next 0.2.0 copy "usb_serial_next: ^0.2.0" to clipboard
usb_serial_next: ^0.2.0 copied to clipboard

PlatformAndroid

Maintained replacement for usb_serial: Arduino, ESP32 and USB-UART adapters (FTDI, CP210x, CH34x, PL2303, CDC-ACM) on Android over USB OTG, no JitPack.

0.2.0 #

  • SerialPort, SerialException and SerialError moved to the new package serial_port_core, which this package exports, so that bluetooth_serial_next shares them; imports stay the same.
  • Breaking: SerialError has three new values for Bluetooth (adapterOff, notPaired, connectionFailed; a USB port never reports them), so a switch over it needs a default. SerialException.fromPlatform is gone; use SerialException.fromCode.

0.1.0 #

  • First release: USB serial on Android with usb-serial-for-android 3.11.0 inside the plugin (no JitPack). FTDI, CP210x, CH34x, PL2303 and CDC-ACM devices; device list, permission dialog, line settings and flow control, DTR/RTS and the other control lines, break, buffer purge, received data as a stream, plug and unplug events, the device that started the app, and SerialException with a SerialError for every failure.
  • Reads with 16 queued USB requests and writes in bulk transfers of up to 16 KB: about 820 KB/s in and 550 KB/s out with an ESP32-S3 on a Xiaomi 14T Pro.
0
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Maintained replacement for usb_serial: Arduino, ESP32 and USB-UART adapters (FTDI, CP210x, CH34x, PL2303, CDC-ACM) on Android over USB OTG, no JitPack.

Repository (GitHub)
View/report issues

Topics

#usb #serial #uart #arduino #esp32

License

MIT (license)

Dependencies

flutter, meta, serial_port_core

More

Packages that depend on usb_serial_next

Packages that implement usb_serial_next