serialport_plus

Last updated:

0 purchases

serialport_plus Image
serialport_plus Images
Add to Cart

Description:

serialport plus

serialport_plus #
A Flutter plugin integrated with Android-SerialPort-API.
This plugin works only for rooted Android devices.
Usage #
List devices #
List devices = await SerialportFlutter.listDevices();

copied to clipboard
List devices path #
List devices = await SerialportFlutter.listDevicesPath();

copied to clipboard
Open/Close device #
bool openResult = await SerialportFlutter.open('/your/device/path', baudrate, dataBits, parity, stopBits);
bool closeResult = await SerialportFlutter.close();
copied to clipboard
Write data to device #

SerialportFlutter.write(Uint8List.fromList("Write some data".codeUnits));
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.