serialportsupportall 0.0.1
serialportsupportall: ^0.0.1 copied to clipboard
Provides a unified API for accessing serial ports on Windows (via Win32 API) and Android (via native USB/serial interfaces). Includes functions for reading, writing, and configuring serial devices.
serialportsupportall #
A cross-platform Dart library for serial port communication, supporting Windows (via Win32 API) and Android (via native USB/serial interfaces).
Features #
- ✅ Open and close serial ports
- ✅ Configure baud rate, parity, stop bits, and data bits
- ✅ Read data from serial devices
- ✅ Write data to serial devices
- ✅ Get list of available ports on Windows and Android
Getting Started #
Add the dependency to your pubspec.yaml:
dependencies:
serialportsupportall: ^0.0.1