Closed spacehuhn closed 4 years ago
That parameter does seem more intuitive compared to -s
, and yes detecting new devices plugged in while in the --no-auto
mode does sound good, but as far as numbing the ports goes: I wanted to leave it a little bit more open (eg. user is able to type in any path they like) in case a port isn't detected by Huhnitor for some reason.
but as far as numbing the ports goes: I wanted to leave it a little bit more open (eg. user is able to type in any path they like) in case a port isn't detected by Huhnitor for some reason.
I'd say we can do both like
[0] /dev/ttyUSB0
[1] /dev/ttyS3
typing /dev/ttyUSB0
would work just like 0
.
Making it as easy as possible for the user.
I guess we'd have to think of a way to distinguish user input between the number and a real serial port.
Yeah a sort of hybrid sounds perfect.
This is how I imagine it:
A parameter, maybe
--no-auto
disables to auto connect feature. So that if a new port was detected, it just gets added/printed to the previous port selection list.