RF24Mesh icon indicating copy to clipboard operation
RF24Mesh copied to clipboard

Sort poll responses by RPD signal

Open TMRh20 opened this issue 8 months ago • 4 comments

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.

TMRh20 avatar Jun 19 '24 15:06 TMRh20