DESERT 3.5.1
Loading...
Searching...
No Matches
uwUFetch_cmn_hdr.h File Reference
#include <mmac.h>
#include <module.h>
#include <packet.h>
Include dependency graph for uwUFetch_cmn_hdr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hdr_TRIGGER_UFETCH
 
struct  hdr_RTS_UFETCH
 
struct  hdr_CTS_UFETCH
 
struct  hdr_BEACON_UFETCH
 
struct  hdr_PROBE_UFETCH
 
struct  hdr_POLL_UFETCH
 
struct  hdr_CBEACON_UFETCH
 

Macros

#define HDR_TRIGGER_UFETCH(p)
 
#define HDR_RTS_UFETCH(p)    (hdr_RTS_UFETCH::access(p))
 
#define HDR_CTS_UFETCH(p)    (hdr_CTS_UFETCH::access(p))
 
#define HDR_BEACON_UFETCH(p)
 
#define HDR_PROBE_UFETCH(p)
 
#define HDR_POLL_UFETCH(p)    (hdr_POLL_UFETCH::access(p))
 
#define HDR_CBEACON_UFETCH(p)
 

Typedefs

typedef struct hdr_TRIGGER_UFETCH hdr_TRIGGER_UFETCH
 
typedef struct hdr_RTS_UFETCH hdr_RTS_UFETCH
 
typedef struct hdr_CTS_UFETCH hdr_CTS_UFETCH
 
typedef struct hdr_BEACON_UFETCH hdr_BEACON_UFETCH
 
typedef struct hdr_PROBE_UFETCH hdr_PROBE_UFETCH
 
typedef struct hdr_POLL_UFETCH hdr_POLL_UFETCH
 
typedef struct hdr_CBEACON_UFETCH hdr_CBEACON_UFETCH
 

Variables

packet_t PT_BEACON_UFETCH
 
packet_t PT_POLL_UFETCH
 
packet_t PT_CBEACON_UFETCH
 
packet_t PT_RTS_UFETCH
 
packet_t PT_PROBE_UFETCH
 
packet_t PT_TRIGGER_UFETCH
 
packet_t PT_CTS_UFETCH
 
static const int v_speed_sound
 
static const int BIT_RATE_SERVICE = 1000
 
static const int BIT_RATE_INSTANT = 10000
 

Detailed Description

Common structures and variables in the protocol.

Author
Loris Brolo
Version
1.0.0

Definition in file uwUFetch_cmn_hdr.h.

Macro Definition Documentation

◆ HDR_BEACON_UFETCH

#define HDR_BEACON_UFETCH (   p)
Value:
p))
static hdr_BEACON_UFETCH * access(const Packet *p)

alias defined to access the BEACON HEADER

Definition at line 60 of file uwUFetch_cmn_hdr.h.

◆ HDR_CBEACON_UFETCH

#define HDR_CBEACON_UFETCH (   p)
Value:
p))
static hdr_CBEACON_UFETCH * access(const Packet *p)

alias defined to access the CBEACON HEADER

Definition at line 74 of file uwUFetch_cmn_hdr.h.

◆ HDR_CTS_UFETCH

#define HDR_CTS_UFETCH (   p)     (hdr_CTS_UFETCH::access(p))

alias defined to access the CTS HEADER

Definition at line 55 of file uwUFetch_cmn_hdr.h.

◆ HDR_POLL_UFETCH

#define HDR_POLL_UFETCH (   p)     (hdr_POLL_UFETCH::access(p))

alias defined to access the POLL \ HEADER

Definition at line 69 of file uwUFetch_cmn_hdr.h.

◆ HDR_PROBE_UFETCH

#define HDR_PROBE_UFETCH (   p)
Value:
p))
static hdr_PROBE_UFETCH * access(const Packet *p)

alias defined to access the PROBE HEADER

Definition at line 65 of file uwUFetch_cmn_hdr.h.

◆ HDR_RTS_UFETCH

#define HDR_RTS_UFETCH (   p)     (hdr_RTS_UFETCH::access(p))

alias defined to access the RTS HEADER

Definition at line 52 of file uwUFetch_cmn_hdr.h.

◆ HDR_TRIGGER_UFETCH

#define HDR_TRIGGER_UFETCH (   p)
Value:
p))
static hdr_TRIGGER_UFETCH * access(const Packet *p)

alias defined to access the TRIGGER HEADER

Definition at line 49 of file uwUFetch_cmn_hdr.h.

Typedef Documentation

◆ hdr_BEACON_UFETCH

Content header of BEACON packet.

◆ hdr_CBEACON_UFETCH

Content header of CBEACON packet.

◆ hdr_CTS_UFETCH

Content header of CTS packet.

◆ hdr_POLL_UFETCH

Content header of POLL packet.

◆ hdr_PROBE_UFETCH

Content header of PROBE packet.

◆ hdr_RTS_UFETCH

Content header of RTS packet.

◆ hdr_TRIGGER_UFETCH

Content header of TRIGGER packet.

Variable Documentation

◆ BIT_RATE_INSTANT

const int BIT_RATE_INSTANT = 10000
static

Definition at line 87 of file uwUFetch_cmn_hdr.h.

◆ BIT_RATE_SERVICE

const int BIT_RATE_SERVICE = 1000
static

Definition at line 86 of file uwUFetch_cmn_hdr.h.

◆ PT_BEACON_UFETCH

packet_t PT_BEACON_UFETCH
extern

BEACON packet type.

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.

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.

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.

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.

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.

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.

TRIGGER packet type.

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

◆ v_speed_sound

const int v_speed_sound
static
Initial value:
=
1500

Underwater sound propagation speed.

Definition at line 84 of file uwUFetch_cmn_hdr.h.