LoRaMesher Library
0.0.5
A LoRa Mesh library for the IoT
NetworkNode.h
1
#ifndef _LORAMESHER_NETWORK_NODE_H
2
#define _LORAMESHER_NETWORK_NODE_H
3
4
#include <Arduino.h>
5
6
#pragma pack(1)
7
12
class
NetworkNode
{
13
public
:
18
uint16_t
address
= 0;
19
24
uint8_t
metric
= 0;
25
26
NetworkNode
() {};
27
28
NetworkNode
(uint16_t address_, uint8_t metric_) :
address
(address_),
metric
(metric_) {};
29
};
30
31
#pragma pack()
32
33
#endif
NetworkNode
Network Node.
Definition:
NetworkNode.h:12
NetworkNode::address
uint16_t address
Address.
Definition:
NetworkNode.h:18
NetworkNode::metric
uint8_t metric
Metric, how many hops to reach the previous address.
Definition:
NetworkNode.h:24
LoRaMesher
src
entities
routingTable
NetworkNode.h
Generated by
1.9.3