MeshNet  1.0.0
Data Structures | Variables
meshPacket.h File Reference

This file contains class which can be used to handling mesh packets. More...

#include "meshFrame.h"
Include dependency graph for meshPacket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MeshPacketHeader
 This structure contains informations about mesh packet, that are stored in it's header. More...
 
class  MeshPacket
 Class, that stores mesh packet with it's data. The size of this class can be slightly bigger then real packet size. Fields that increasing size are: More...
 

Variables

typedef enum
 
typedef SPT_ERR_ACK = 1
 
typedef SPT_NetScan = 2
 
typedef SPT_Connect = 3
 
typedef SPT_Reserved = 4
 
typedef SPT_Disconnect = 7
 
typedef SPT_NeighborScan = 8
 
typedef SPT_PathDiscovery = 9
 
typedef SPT_Ping = 10
 
typedef SPT_DATA = 254
 
typedef SPT_ERROR
 

Detailed Description

This file contains class which can be used to handling mesh packets.

Credits

Author
Matej Fitoš
Date
Jan 4, 2022
See also
MeshPacket
MeshPacketHeader

Variable Documentation

◆ enum

typedef enum

Acknowledgement packet.

◆ SPT_Connect

typedef SPT_Connect = 3

Connection packet.

◆ SPT_DATA

typedef SPT_DATA = 254

◆ SPT_Disconnect

typedef SPT_Disconnect = 7

Disconnect packet.

◆ SPT_ERR_ACK

typedef SPT_ERR_ACK = 1

Error acknowledgement packet.

◆ SPT_ERROR

typedef SPT_ERROR
Initial value:
= 255
}SystemPacketType

◆ SPT_NeighborScan

typedef SPT_NeighborScan = 8

Neighbor scan packet.

◆ SPT_NetScan

typedef SPT_NetScan = 2

Network scan packet.

◆ SPT_PathDiscovery

typedef SPT_PathDiscovery = 9

Path discovery packet.

◆ SPT_Ping

typedef SPT_Ping = 10

Ping packet.

◆ SPT_Reserved

typedef SPT_Reserved = 4

Reserved.