Conversation
- 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
|
Just posting an excerpt from datasheet (v2) as a reference:
I can think of 2 flaws here:
Since the RPD is really only meant for hardware testing (& the obvious increase in compile size), I really don't think this is a good idea for production. |
|
Hmm, I'm not sure we need to wait, it says it can be read anytime during the receive period AND is latched upon reception. The code ensures a valid packet has been received, so it should be latched. I think that takes care of most concerns. It seems to work when looking at the results too. I think you are right though that this is not meant for production on NRF24. I might still keep playing with this and leave the PR open for a while, because the NRF52x I believe can actually get the actual dBm and of course sort the requests by dBm. It could also handle more poll responses. I've been extensively testing connectivity and packet loss on two busy mesh networks, so looking for more ways to improve things. |
|
It would make more sense on nRF5x radios. Maybe we could |
|
Yeah, that's what I've done for testing, now to see if it makes much of a difference... |
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.
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.