Gateway should close serial port if /dev/ttyUSB0 device disappears. Otherwise OS reconnects USB device as /dev/ttyUSB1, because gateway holds an open file descriptor to /dev/ttyUSB0. Gateway should close connection if device is no longer available. This should be a part of Watchdog code discussed in #39.
Gateway should close serial port if /dev/ttyUSB0 device disappears. Otherwise OS reconnects USB device as /dev/ttyUSB1, because gateway holds an open file descriptor to /dev/ttyUSB0. Gateway should close connection if device is no longer available. This should be a part of Watchdog code discussed in #39.