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

Go to the source code of this file.

Classes

struct  hdr_ranging_tdma
 

Macros

#define HDR_RANGING_TDMA(p)    (hdr_ranging_tdma::access(p))
 

Typedefs

typedef uint_least16_t slotid_t
 
typedef float uwrange_time_t
 
typedef struct hdr_ranging_tdma hdr_ranging_tdma
 

Variables

constexpr size_t SLOTIDMAX_HDR = std::numeric_limits<slotid_t>::max()
 
packet_t PT_UWRANGING_TDMA
 

Detailed Description

Common structures and variables in the protocol.

Author
Antonio Montanari
Version
1.0.0

Definition in file uwranging_tdma_hdr.h.

Macro Definition Documentation

◆ HDR_RANGING_TDMA

#define HDR_RANGING_TDMA (   p)     (hdr_ranging_tdma::access(p))

alias defined to access the hdr_ranging_tdma HEADER

Definition at line 114 of file uwranging_tdma_hdr.h.

Typedef Documentation

◆ hdr_ranging_tdma

Header of the token bus protocol.

◆ slotid_t

typedef uint_least16_t slotid_t

set here the size of the slotid

Definition at line 49 of file uwranging_tdma_hdr.h.

◆ uwrange_time_t

typedef float uwrange_time_t

set here the size and precision of the time measures (uint16/half/float...)

Definition at line 53 of file uwranging_tdma_hdr.h.

Variable Documentation

◆ PT_UWRANGING_TDMA

packet_t PT_UWRANGING_TDMA
extern

◆ SLOTIDMAX_HDR

constexpr size_t SLOTIDMAX_HDR = std::numeric_limits<slotid_t>::max()
constexpr

Definition at line 50 of file uwranging_tdma_hdr.h.