RF24Mesh - Automated Networking for nrf24L01 radios v2.0.0
TMRh20 2020 - A user friendly mesh overlay for sensor neworks using RF24Network
No Matches
Classes | Macros | Typedefs
RF24Mesh.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include "RF24Mesh_config.h"
#include <RF24.h>
#include <RF24Network.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.


class  ESBMesh< network_t, radio_t >
struct  ESBMesh< network_t, radio_t >::addrListStruct
 A struct for storing a nodeID and an address in a single element of the ESBMesh::addrList array. More...


#define MESH_ADDR_LOOKUP   196
#define MESH_ADDR_RELEASE   197
#define MESH_ID_LOOKUP   198
#define MESH_BLANK_ID   65535
Advanced Operation

For advanced configuration and usage of the mesh

#define MESH_CALLBACK    if (meshCallback) meshCallback();


typedef ESBMesh< ESBNetwork< RF24 >, RF24 > RF24Mesh

Detailed Description

Class declaration for RF24Mesh

Definition in file RF24Mesh.h.

Macro Definition Documentation


#define MESH_ADDR_LOOKUP   196

Network/Mesh Response Types The network will determine whether to automatically acknowledge payloads based on their type RF24Mesh uses pre-defined system types for interacting with RF24Network at the system level

Definition at line 25 of file RF24Mesh.h.


#define MESH_ADDR_RELEASE   197

Definition at line 26 of file RF24Mesh.h.


#define MESH_ID_LOOKUP   198

Definition at line 27 of file RF24Mesh.h.


#define MESH_BLANK_ID   65535

Definition at line 29 of file RF24Mesh.h.


#define MESH_CALLBACK    if (meshCallback) meshCallback();

Definition at line 251 of file RF24Mesh.h.

Typedef Documentation

◆ RF24Mesh

typedef ESBMesh<ESBNetwork<RF24>, RF24> RF24Mesh

A type definition of the template class ESBMesh to maintain backward compatibility.

RF24 radio(7, 8);
RF24Network network(radio);
RF24Mesh mesh(radio, network);
// is equivalent to
ESBMesh<ESBNetwork<RF24>, RF24> mesh(radio, network);

Definition at line 384 of file RF24Mesh.h.