nRF24 / RF24Mesh

OSI Layer 7 Mesh Networking for RF24Network & nrf24L01+ & nrf52x devices
http://nrf24.github.io/RF24Mesh
GNU General Public License v2.0
422 stars 153 forks source link

Enhance checkConnection() function #240

Closed TMRh20 closed 3 months ago

TMRh20 commented 3 months ago

checkConnection() function:

This should enhance stability a bit by raising the connection check attempts to 3.

It should also enhance the actual connection check by returning immediately and not retrying if a -2 is received (not in list or default address).

Furthermore it actually verifies that the returned RF24Network address matches the existing RF24Network address.

2bndy5 commented 3 months ago

cherry-picked to v1.x

2bndy5 commented 3 months ago

Did you want to try that new bump-n-release workflow? Or do you have some more pleasant surprises in store?

TMRh20 commented 3 months ago

I'm planning to do a little more coding over the next week or so, so lets see if I come up with anything else. This one I just came across while glancing at the code...