RF24Mesh - Automated Networking for nrf24L01 & nrf52x radios v2.0.2
2024 - A user friendly mesh overlay for sensor neworks using RF24Network
Loading...
Searching...
No Matches
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.

Classes

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...
 

Macros

#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();
 

Typedefs

typedef ESBMesh< ESBNetwork< RF24 >, RF24 > RF24Mesh
 

Detailed Description

Class declaration for RF24Mesh

Definition in file RF24Mesh.h.

Macro Definition Documentation

◆ MESH_ADDR_LOOKUP

#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.

◆ MESH_ADDR_RELEASE

#define MESH_ADDR_RELEASE   197

Definition at line 26 of file RF24Mesh.h.

◆ MESH_ID_LOOKUP

#define MESH_ID_LOOKUP   198

Definition at line 27 of file RF24Mesh.h.

◆ MESH_BLANK_ID

#define MESH_BLANK_ID   65535

Definition at line 29 of file RF24Mesh.h.

◆ MESH_CALLBACK

#define MESH_CALLBACK    if (meshCallback) meshCallback();

Definition at line 260 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 405 of file RF24Mesh.h.