flutter_libserialport icon indicating copy to clipboard operation
flutter_libserialport copied to clipboard

Serial port hot plug

Open ZKXU opened this issue 2 years ago • 5 comments

Hi, does this lib support the serial port hot plug? if not, could you please help to give me some suggestion about how to implement this? Thanks for your support!

ZKXU avatar Mar 26 '22 13:03 ZKXU

Could you provide more info about what your are trying to achieve?

lucafabbri avatar Feb 21 '24 12:02 lucafabbri

I think what is being asked for is to have a stream to listen to for changes in state for when a device is attached too or disconnected from a serial port.

maks avatar Mar 15 '24 01:03 maks

yes, im troubled with this too

JabalnurIT avatar Mar 19 '24 17:03 JabalnurIT

I would also be interested in this functionality, so that I wouldn't have to periodically check all opened ports before I connect my device.

ElHyperion avatar Apr 29 '24 13:04 ElHyperion

Its Linux specific, but I was able to add basic support for my application using the udev package from Canonical to listen for USB device hotplug, though of course this won't work with non Linux OS's or non USB UARTs, but at least for my case it works.

maks avatar May 01 '24 00:05 maks