usbserial icon indicating copy to clipboard operation
usbserial copied to clipboard

Error in the example

Open paulobreim opened this issue 1 year ago • 6 comments

I am trying to run the example showed in the lib and I am getting the follow error.

Screenshot_20231001_165431

What is wrong?

tks

paulobreim avatar Oct 01 '23 19:10 paulobreim

Hi, what platform are you running the code on? The plugin is written for android, so running it on ios, linux or windows might result in the error shown above.

rockerer avatar Dec 12 '23 15:12 rockerer

I tested with linux and android. I didn't notice it was only for Android.

Is there any prospect of it working on Windows?

tks

paulobreim avatar Dec 12 '23 22:12 paulobreim

AFAIK it is not planned, but @altera2015 might say more about the plans regarding his package.

You might be interested in using one of the following packages, which support serial communication for linux and/or windows:

If there are more people interested in extending this package to support windows / linux / ios it might be possible to do so.

rockerer avatar Dec 13 '23 11:12 rockerer

TKS, I will check this libs.

I want to make a application to share USB over the internet. I saw some apps in the internet, but nor open.

paulobreim avatar Dec 13 '23 14:12 paulobreim

Do you need a graphical userinterface for this purpose or why are you using flutter?

I think, it's easier to use a language like python, c++ or Golang to achieve this goal, if you don't need the UI. These languages might have an even better (or even native) support for the serial connection and support different approaches to share the connection over the internet.

rockerer avatar Dec 14 '23 15:12 rockerer

Hi @paulobreim, we discussed about the issue and i think there is no reason to keep this issue open anymore. Would you mind closing this issue. Thanks

rockerer avatar Apr 02 '24 09:04 rockerer