-
Notifications
You must be signed in to change notification settings - Fork 331
Description
I have been noticing a edge case where the radio chip is unable to receive packets sent to the node rendering it totally unavailable (think Repeater or Room Server).
This get triggered by a brownout condition of the LORA radio chip.
And in my case happens when the battery management system re-establish power to the node after going into a battery dead state.
Testing was done with a bench supply, and using the current limit to make a brownout condition when sending a packet to the node via a companion. Node use in the test was a Waveshare-RP2040.
See proposed changes here.
The idea is to see if the node receives any packets on the mesh, and if none are received in one advert interval we can assume that the radio is in a state that can't receive.
Rebooting the board maybe a bit drastic, but also maybe the best way to make sure the node is in a good known state.