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
353 stars 163 forks source link

how to support 8 pipes (on nRF5x devices) #201

Open 2bndy5 opened 1 year ago

2bndy5 commented 1 year ago

Concerning future ventures with the nRF5x ESB, I was thinking that 8 pipes shouldn't be too hard to support.

2bndy5 commented 1 year ago

We could augment the mesh handshake info to additionally contain data that indicates to master the number of pipes supported.

There is still some reserved space in the network sys codes, so we could add a NETWORK_NODE_PROPERTIES sys code to the network layer protocol. This sys code could then be used to confirm the connection after master has leased the address. My main concern is when this feature is used with a node running an older version of the lib.

TMRh20 commented 1 year ago

I've given this some thought and with the increase in code size etc, I'm not sure its a good idea. RF24Mesh will still compile and run on ATTiny, even though you can't do much with it, and I would like to keep it that way.

I think on the third point, it might be kind of difficult to support a mixed network if some use differing amounts of pipes. It would be way easier to either have an nrf24l01 or nrf52840 network.

2bndy5 commented 1 year ago

It would be way easier to either have an nrf24l01 or nrf52840 network.

So, what if all code that supports 8 pipes is #ifdef out? That way the same lib cab be used for different networks.

TMRh20 commented 1 year ago

That would work. It would be interesting to get it working with a mixed network but again not sure what it would take.On Jan 3, 2023, at 11:31 AM, Brendan @.***> wrote:

It would be way easier to either have an nrf24l01 or nrf52840 network.

So, what if all code that supports 8 pipes is #ifdef out? That way the same lib cab be used for different networks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

TMRh20 commented 2 weeks ago

I think we have the first two items picked off, its just a matter of if we want to support mixed networks. I don't really want to lol.

2bndy5 commented 2 weeks ago

You already convinced me that mixed networks is a venture more risky than it is worth. I (& likely other long-time users) would be comfortable with an ifdef solution instead.