|
Optimized RF24Network Layer v2.0.5
2024 - Optimized RF24 Network Layer for NRF24L01 & NRF52x radios
|
Go to the source code of this file.
Macros | |
| #define | NETWORK_DEFAULT_ADDRESS 04444 |
| A reserved valid address for use with RF24Mesh (when a mesh node requests an assigned address) | |
| #define | NETWORK_MULTICAST_ADDRESS 0100 |
| A sentinel address value for multicasting purposes. | |
| #define | NETWORK_AUTO_ROUTING 070 |
| A sentinel value for internally indicating that the frame should be automatically routed as necessary. | |
| #define | SLOW_ADDR_POLL_RESPONSE 10 |
| Adds a delay to node prior to transmitting NETWORK_ADDR_RESPONSE messages. | |
| #define | NUM_PIPES 6 |
| #define | RF24NetworkMulticast |
| When defined, this will allow the use of multicasting messages. | |
| #define | MAX_PAYLOAD_SIZE 144 |
| Maximum size of fragmented network frames and fragmentation cache. | |
| #define | MAIN_BUFFER_SIZE (MAX_PAYLOAD_SIZE + FRAME_HEADER_SIZE) |
| The allocated size of the incoming frame buffer. | |
| #define | ENABLE_DYNAMIC_PAYLOADS |
| #define NETWORK_DEFAULT_ADDRESS 04444 |
A reserved valid address for use with RF24Mesh (when a mesh node requests an assigned address)
| #define NETWORK_MULTICAST_ADDRESS 0100 |
A sentinel address value for multicasting purposes.
| #define NETWORK_AUTO_ROUTING 070 |
A sentinel value for internally indicating that the frame should be automatically routed as necessary.
| #define SLOW_ADDR_POLL_RESPONSE 10 |
Adds a delay to node prior to transmitting NETWORK_ADDR_RESPONSE messages.
By default this is undefined for speed. This defined number of milliseconds is only applied to the master node when replying to a child trying to connect to the mesh network.
| #define NUM_PIPES 6 |
The number of 'pipes' available for addressing in the current device Networks with NRF24L01 devices only have 6 pipes NRF52x networks support up to 8 pipes
| #define RF24NetworkMulticast |
When defined, this will allow the use of multicasting messages.
| #define MAX_PAYLOAD_SIZE 144 |
Maximum size of fragmented network frames and fragmentation cache.
DISABLE_FRAGMENTION truncates the actual transmitted payload to 24 bytes (which is also the default behavior on ATTiny devices). | #define MAIN_BUFFER_SIZE (MAX_PAYLOAD_SIZE + FRAME_HEADER_SIZE) |
The allocated size of the incoming frame buffer.
This is the user-cache, where incoming data is stored. Data is stored using Frames: Header (8 bytes) + Message_Size (2 bytes) + Message_Data (? bytes)
| #define ENABLE_DYNAMIC_PAYLOADS |
Enable dynamic payloads - If using different types of nRF24L01 modules, some may be incompatible when using this feature