Open on7lds opened 5 years ago
Is it possible to stop MMDVMHost from starting if the selected device is not available in the system ?
MMDVMHost will start and when the port is not active when starting, it will run without display. Would you prefer to not start MMDVMHost in that case ?
Always fill the MMDVM Display Type: Port dropdown with the possible devices, even if they are not present or active at that moment. Also, when not present or not active, show it in the dropdown e.g. '/dev/ttyUSB0 (not present now)' or '/dev/ttyNextionDriver (not active now)' This will prevent showing 'none' as port when the configured port is (temporary) unavailable: e.g. user forgot to plug in the USB/serial convertor or NextionDriver is not running. It will also help users not being too confused when restoring a configuration on a host which lacks the selected port because of restoring to different hardware (e.g. /dev/ttyS0)