LoRaMesher Library
0.0.5
A LoRa Mesh library for the IoT
RoutePacket.h
1
#ifndef _LORAMESHER_ROUTE_PACKET_H
2
#define _LORAMESHER_ROUTE_PACKET_H
3
4
#include <Arduino.h>
5
6
#include "PacketHeader.h"
7
#include "entities/routingTable/NetworkNode.h"
8
9
#pragma pack(1)
10
class
RoutePacket final :
public
PacketHeader {
11
public
:
12
NetworkNode
routeNodes[];
13
14
size_t
getPayloadLength() {
return
this->payloadSize /
sizeof
(
NetworkNode
); }
15
};
16
#pragma pack()
17
18
#endif
NetworkNode
Network Node.
Definition:
NetworkNode.h:12
LoRaMesher
src
entities
packets
RoutePacket.h
Generated by
1.9.3