Optimized RF24Network Layer v2.0.2
2024 - Optimized RF24 Network Layer for NRF24L01 & NRF52x radios
Loading...
Searching...
No Matches
Advanced Configuration

RF24Network offers many features, some of which can be configured by editing the RF24Network_config.h file

Configuration Option Description
#define RF24NetworkMulticast This option allows nodes to send and receive multicast payloads.
Nodes with multicast enabled can also be configured to relay multicast payloads on to further multicast levels.
See ESBNetwork::multicastRelay
#define DISABLE_FRAGMENTATION Fragmentation is enabled by default, and uses an additional 144 bytes of memory.
#define MAX_PAYLOAD_SIZE 144 The maximum size of payloads defaults to 144 bytes. If used with RF24toTUN and two Raspberry Pi, set this to 1500
#define DISABLE_USER_PAYLOADS This option will disable user-caching of payloads entirely. Use with RF24Ethernet to reduce memory usage. (TCP/IP is an external data type, and not cached)
#define ENABLE_SLEEP_MODE Uncomment this option to enable sleep mode for AVR devices. (ATTiny,Uno, etc)
#define ENABLE_NETWORK_STATS Enable counting of all successful or failed transmissions, routed or sent directly
#define NUM_PIPES Define the number of pipes for addressing. The max value is generally hardware dependant. NRF24 supports 6 pipes, NRF52x supports 8 pipes
#define MAX_FRAME_SIZE Found in RF24Network.h, this allows users to set the maximum frame size used internally. NRF24 supports 32-bytes, NRF52x supports 123-bytes, or 111 if encryption is enabled