LoRaMesher Library  0.0.5
A LoRa Mesh library for the IoT
RouteNode.h
1#ifndef _LORAMESHER_ROUTE_NODE_H
2#define _LORAMESHER_ROUTE_NODE_H
3
4#include <Arduino.h>
5
6#include "NetworkNode.h"
7
12class RouteNode {
13public:
19
24 uint32_t timeout = 0;
25
30 uint16_t via = 0;
31
32 RouteNode(uint16_t address_, uint8_t metric_, uint16_t via_) : networkNode(address_, metric_), via(via_) {};
33};
34
35#endif
Network Node.
Definition: NetworkNode.h:12
Route Node.
Definition: RouteNode.h:12
NetworkNode networkNode
Network node.
Definition: RouteNode.h:18
uint16_t via
Next hop to send the message.
Definition: RouteNode.h:30
uint32_t timeout
Timeout of the route.
Definition: RouteNode.h:24