tbird20d / grabserial

Grabserial - python-based serial dump and timing program - good for embedded Linux development
GNU General Public License v2.0
195 stars 77 forks source link

Restart after disconnect #39

Closed jetholloway closed 4 years ago

jetholloway commented 4 years ago

Hi Tim,

(Note: this is my second pull request made today for grabserial, so it might make sense to look at the other one first. The other one (#38 ) is also much simpler -- some minor bug fixes.)

This pull request allows grabserial to handle disconnections of the serial device. I.e. if you have a USB UART, and you unplug it from the USB port.

Example usage: grabserial -S -a ...

tbird20d commented 4 years ago

This looks like a nice feature. Thanks.

As for suggested enhancements - it might be good to add something explaining how this works in READM.md.

-- Tim