Is there a way to re-initialize the Lora P2P radio without resetting or re-powering RAK3172 running RUI3 4.0.1.
Or is there a way to see if radio is running properly?
The reason is that sometimes on random power cycles the uC reboots and sets P2P parameters and runs custom Arduino firmware but the radio does not always restart and no longer receives any Radio events.
I believe there is no way for you to re-initialize the LoRa transceiver without resetting the module. There might be few not so elegant workaround on this issue (reset in certain interval, auxiliary device that will just send a heartbeat TX, etc.). But the best solution is to get on the root cause why RX wont suddenly respond to incoming LoRa packets.
Btw, if the device stop responding the LoRa signals, are the parameters still correct (if there is a way to check those without resetting)? Like if the parameters: SF, DR, CR, Freq, etc…are still ok? Maybe you can share the code and we can figure out something on the sequence in the code that can potentially cause it?
Thank you for your thoughts.
I am able to re-initialize(or reset the uC & radio) with AT commands. i.e. ATZ , AT+NWM=0 etc
I was needing a way to reset the radio without restarting the firmware that is running.
Also, without external AT commands because the running device will not be connected to a terminal.