My setup is one nRF24L01 used as master control and 20 RF24 slaves that sometimes act as sensors (transmitting to the master) and sometimes act as receivers as the master figures out what to do with the data it received.
After reading countless lines of code and too many, sometimes conflicting descriptions about pipes and addresses, I realize this (for me) is still a confusing mess, and that there is no definitive, detailed text clarifying the pipes/address biz. And...Im not going to read Nordic's 78-page data sheet. So my solution to my ongoing headache is using channels - one per each receiver.
This would seem to require that the master has one 40-bit address, say 0xF0F0F0F001LL, and all the slaves each have this same 40-bit address, but they reside on separate channels. The same pipe 0 is always used for transmit and receive no matter who is doing what. The master loops thru all the specific channels (20) in void loop().
So if this is possible, and not totally beyond stupid, after using radio.setChannel(xxx), must there be a delay(xx)? I suppose when the slaves on their different channels are in transmit mode that setRetries(15,15) might be appropriate.
Please comment, hopefully with suggestions. Thanx in advance.