DESERT 3.5.1
Loading...
Searching...
No Matches
uwUFetch_NODE.h File Reference
#include <mmac.h>
#include <stdio.h>
#include <time.h>
#include <iostream>
#include <clmessage.h>
#include <mphy.h>
#include <string>
#include <fstream>
#include <ostream>
#include <cassert>
#include <queue>
#include <map>
Include dependency graph for uwUFetch_NODE.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  probbed_node
 
class  uwUFetch_NODE
 
class  uwUFetch_NODE::uwUFetch_NODE_timer
 
class  uwUFetch_NODE::uwUFetch_BEACON_timer
 
class  uwUFetch_NODE::uwUFetch_BackOffTimer
 
class  uwUFetch_NODE::uwUFetch_PROBE_timer
 
class  uwUFetch_NODE::uwUFetch_POLL_timer
 
class  uwUFetch_NODE::uwUFetch_DATA_BEFORE_TX_timer
 
class  uwUFetch_NODE::uwUFetch_DATA_timer
 
class  uwUFetch_NODE::uwUFetch_CBeacon_timer
 
class  uwUFetch_NODE::uwUFetch_CTS_timer
 
class  uwUFetch_NODE::uwUFetch_TRIGGER_timer
 

Macros

#define UWFETCH_NODE_DROP_REASON_UNKNOWN_TYPE    "DUT"
 
#define UWFETCH_NODE_DROP_REASON_WRONG_RECEIVER    "DWR"
 
#define UWFETCH_NODE_DROP_REASON_CBEACON_AND_DATA_ALREADY_TX    "DCDAT"
 
#define UWFETCH_NODE_DROP_REASON_ERROR    "DRE"
 
#define UWUFETCH_NODE_DROP_REASON_BUFFER_FULL    "DBF"
 
#define UWUFETCH_NODE_DROP_REASON_NOT_ENABLE    "DNE"
 
#define UWUFETCH_NODE_DROP_REASON_NOT_MY_TURN    "DNMT"
 
#define UWUFETCH_NODE_DROP_CAN_NOT_RX_THIS_PCK    "CNRP"
 

Typedefs

typedef struct probbed_node probbed_node
 

Variables

packet_t PT_TRIGGER_UFETCH
 
packet_t PT_RTS_UFETCH
 
packet_t PT_CTS_UFETCH
 
packet_t PT_BEACON_UFETCH
 
packet_t PT_PROBE_UFETCH
 
packet_t PT_POLL_UFETCH
 
packet_t PT_CBEACON_UFETCH
 

Detailed Description

Declaration of uwUFetch_NODE class.

Author
Loris Brolo
Version
1.0.0

Definition in file uwUFetch_NODE.h.

Macro Definition Documentation

◆ UWFETCH_NODE_DROP_REASON_CBEACON_AND_DATA_ALREADY_TX

#define UWFETCH_NODE_DROP_REASON_CBEACON_AND_DATA_ALREADY_TX    "DCDAT"

Packet dropped: reject CBEACON because DATA packets are \ already transmitted in the previous cycle.

Definition at line 61 of file uwUFetch_NODE.h.

◆ UWFETCH_NODE_DROP_REASON_ERROR

#define UWFETCH_NODE_DROP_REASON_ERROR    "DRE"

Packet dropped: packet is corrupted.

Definition at line 63 of file uwUFetch_NODE.h.

◆ UWFETCH_NODE_DROP_REASON_UNKNOWN_TYPE

#define UWFETCH_NODE_DROP_REASON_UNKNOWN_TYPE    "DUT"

Packet dropped: unknown type.

Definition at line 56 of file uwUFetch_NODE.h.

◆ UWFETCH_NODE_DROP_REASON_WRONG_RECEIVER

#define UWFETCH_NODE_DROP_REASON_WRONG_RECEIVER    "DWR"

Packet dropped: Packet is addressed to another node.

Definition at line 58 of file uwUFetch_NODE.h.

◆ UWUFETCH_NODE_DROP_CAN_NOT_RX_THIS_PCK

#define UWUFETCH_NODE_DROP_CAN_NOT_RX_THIS_PCK    "CNRP"

Packet dropped: node can not receive this type of node.

Definition at line 72 of file uwUFetch_NODE.h.

◆ UWUFETCH_NODE_DROP_REASON_BUFFER_FULL

#define UWUFETCH_NODE_DROP_REASON_BUFFER_FULL    "DBF"

Packet dropped: buffer of the node is completely full.

Definition at line 65 of file uwUFetch_NODE.h.

◆ UWUFETCH_NODE_DROP_REASON_NOT_ENABLE

#define UWUFETCH_NODE_DROP_REASON_NOT_ENABLE    "DNE"

Packet dropped: node is not enabled to receive this type of \ packet.

Definition at line 68 of file uwUFetch_NODE.h.

◆ UWUFETCH_NODE_DROP_REASON_NOT_MY_TURN

#define UWUFETCH_NODE_DROP_REASON_NOT_MY_TURN    "DNMT"

Packet dropped: poll is not addressed to me.

Definition at line 70 of file uwUFetch_NODE.h.

Typedef Documentation

◆ probbed_node

typedef struct probbed_node probbed_node

Internal structure where the HN store the informations about the NODE from which it received a PROBE.

uwuFetch_NODE class

Variable Documentation

◆ PT_BEACON_UFETCH

packet_t PT_BEACON_UFETCH
extern

BEACON packet type for UFetch protocol.

BEACON packet type.

Definition at line 54 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.

◆ PT_CBEACON_UFETCH

packet_t PT_CBEACON_UFETCH
extern

CBEACON packet type for UFetch protocol.

CBEACON packet type.

Definition at line 57 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.

◆ PT_CTS_UFETCH

packet_t PT_CTS_UFETCH
extern

CTS packet type for UFetch protocol.

CTS packet type.

Definition at line 53 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.

◆ PT_POLL_UFETCH

packet_t PT_POLL_UFETCH
extern

POLL packet type for UFetch protocol.

POLL packet type.

Definition at line 56 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.

◆ PT_PROBE_UFETCH

packet_t PT_PROBE_UFETCH
extern

PROBE packet type for UFetch protocol.

PROBE packet type.

Definition at line 55 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.

◆ PT_RTS_UFETCH

packet_t PT_RTS_UFETCH
extern

RTS packet type for UFetch protocol.

RTS packet type.

Definition at line 52 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.

◆ PT_TRIGGER_UFETCH

packet_t PT_TRIGGER_UFETCH
extern

TRIGGER packet type for UFetch protocol.

TRIGGER packet type for UFetch protocol.

TRIGGER packet type.

Definition at line 51 of file DESERT_Framework/DESERT/data_link/uwUFetch/initlib.cpp.