Is it possible to restart XBee with command when power on?
According to this document (and others) : https://www.digi.com/resources/documentation/digidocs/pdfs/90002002.pdf there is no command to reboot the module.But a litle trick you can try, is to use one of the GPIO of your module to do a hard reset of your module like so :







simulate this circuit &ndash; Schematic created using CircuitLab

But of course the best way is to find what causes the errors !