nRF24 / RF24Network

OSI Layer 3 Networking for nRF24L01(+) and nRF52x on Arduino and Raspberry Pi
https://nrf24.github.io/RF24Network/
GNU General Public License v2.0
358 stars 164 forks source link

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

Closed xdxita closed 3 months ago

xdxita commented 8 months ago

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!

2bndy5 commented 8 months ago

How to prevent an unwanted node to join the network?

Use a different channel for each network. Meaning,

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.

TMRh20 commented 5 months ago

Are any "security" features available?

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