kumar
kumar

Reputation: 9417

Flutter desktop support for reading serial port input

I what to build flutter desktop application for linux ubuntu. The application needs to read from the serial port of the desktop. The use case is I will be connecting a weight machine to my desktop using RS232. Are there any API available in flutter that can read the weight and show it in the application.

enter image description here

Upvotes: 1

Views: 7577

Answers (1)

Nishuthan S
Nishuthan S

Reputation: 1735

As far as I know, it's only available for IOS and Android.usb_serial: ^0.2.4 More details would be helpful if you provide what exactly you want to read for alternative solutions.

Edit:

check out flutter_libserialport: ^0.2.0 https://pub.dev/packages/flutter_libserialport/example libserialport: ^0.2.0+2 https://pub.dev/packages/libserialport

Upvotes: 4

Related Questions