We have a custom java program that controls/manages our xbee pro 900hp mesh network. It does so using an xbee modem connected via usb to a windows computer. We used windows because we also wanted to be able to use xtcu and xbee network manager on this computer which aren’t available for Linux to my knowledge.
We are running into problems where sometimes the computer loses power and reboots. When this happens we sometimes lose connection to the usb port the xbee is connected to even though the program auto restarts. I have to manually disable and reenable the com port to get it to work.
Does anyone have suggestions to prevent this issue or how to go about automatically disabling/reenabling the com port the xbee is connected to?