RF24Network icon indicating copy to clipboard operation
RF24Network copied to clipboard

[Q] How to create multiple networks in the same area/range?

Open xdxita opened this issue 11 months ago • 2 comments

Hello! Thanks for this great library. I'm waiting for my nRF24 modules to arrive, in the meantime I'm getting used to the code. From what I've read so far, it wouldn't be possible, but..

Is it possible to have 2 or more networks each one with it's master and nodes both networks are in range of each other. How to prevent an unwanted node to join the network? Are any "security" features available?

Thanks!

xdxita avatar Mar 15 '24 16:03 xdxita

How to prevent an unwanted node to join the network?

Use a different channel for each network. Meaning,

  • all nodes (+ master) in network A use channel 90
  • all nodes (+ master) in network A use channel 100

See RF24::setChannel()

Are any "security" features available?

No, it was designed like that on purpose. You are free to implement your own security measures, but we don't support such endeavors.

2bndy5 avatar Mar 15 '24 17:03 2bndy5

Are any "security" features available?

Technically yes, with NRF52x devices, encryption and authentication is supported and built into the library. With NRF24, no.

TMRh20 avatar Jun 14 '24 11:06 TMRh20