DESERT 3.5.1
Loading...
Searching...
No Matches
uwranging_tdoa_hdr.h File Reference
#include <packet.h>
#include <sys/types.h>
#include <cmath>
Include dependency graph for uwranging_tdoa_hdr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tdoa_entry
 
struct  hdr_ranging_tdoa
 

Macros

#define MAX_NUM_NODES   32
 
#define HDR_RANGING_TDOA(p)
 

Typedefs

typedef float uwrange_time_t
 
typedef uint8_t uwrange_pkt_t
 
typedef uint8_t uwrange_node_t
 
typedef struct tdoa_entry tdoa_entry
 
typedef struct hdr_ranging_tdoa hdr_ranging_tdoa
 

Variables

packet_t PT_UWRANGING_TDOA
 

Detailed Description

Common structures and variables in the protocol.

Author
Antonio Montanari
Version
1.0.0

Definition in file uwranging_tdoa_hdr.h.

Macro Definition Documentation

◆ HDR_RANGING_TDOA

#define HDR_RANGING_TDOA (   p)
Value:
p))
static struct hdr_ranging_tdoa * access(const Packet *p)
Returns a pointer to the tokenbus_ranging header of a packet.

alias defined to access the hdr_ranging_tdoa HEADER

Definition at line 52 of file uwranging_tdoa_hdr.h.

◆ MAX_NUM_NODES

#define MAX_NUM_NODES   32

Definition at line 47 of file uwranging_tdoa_hdr.h.

Typedef Documentation

◆ hdr_ranging_tdoa

Header of the token bus protocol.

◆ tdoa_entry

typedef struct tdoa_entry tdoa_entry

Define the struct of a single tdoa payload entry.

◆ uwrange_node_t

typedef uint8_t uwrange_node_t

Number of bits to store a node id.

Definition at line 58 of file uwranging_tdoa_hdr.h.

◆ uwrange_pkt_t

typedef uint8_t uwrange_pkt_t

Number of bits to store a packet id.

Definition at line 57 of file uwranging_tdoa_hdr.h.

◆ uwrange_time_t

typedef float uwrange_time_t

Precision of the holdover times measurement.

Definition at line 56 of file uwranging_tdoa_hdr.h.

Variable Documentation

◆ PT_UWRANGING_TDOA

packet_t PT_UWRANGING_TDOA
extern