RF24Mesh
RF24Mesh copied to clipboard
Sort poll responses by RPD signal
I've been playing around more with the mesh layer, and figured it was about time to play around with the RPD results since we are now caching and utilizing poll requests.
Basically it will order Address Requests by signal strength, requesting an address from nodes that have responded with a strong signal first, leaving the weaker nodes for last.
- Gather RPD results when receiving POLL responses
- When requesting an address, request from nodes that have responded with signal > 65dB first, then the weaker nodes if that fails
I'm still playing around with this one, but initial testing looks good!
Not sure if we want to incorporate this into the library, but figured I'd post my code for discussion.