Skip to content

[Reliability Improvement] Radio Watch Dog Timer #1019

@wel97459

Description

@wel97459

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions