DESERT 3.5.1
Loading...
Searching...
No Matches
probe_cicle_counters Struct Reference

#include <uwpolling_AUV.h>

Public Member Functions

void incrementCounters ()
 
void resetCounters ()
 
uint getNumberOfNeighbors ()
 

Public Attributes

uint n_probe_detected
 
uint n_probe_received
 

Detailed Description

Struct used for handling the number of probes detected and received to estimate the number of neighbors.

Definition at line 71 of file uwpolling_AUV.h.

Member Function Documentation

◆ getNumberOfNeighbors()

uint probe_cicle_counters::getNumberOfNeighbors ( )
inline

Get estimate number of neighbors.

Definition at line 85 of file uwpolling_AUV.h.

◆ incrementCounters()

void probe_cicle_counters::incrementCounters ( )
inline

Increment both counters.

Definition at line 77 of file uwpolling_AUV.h.

◆ resetCounters()

void probe_cicle_counters::resetCounters ( )
inline

Reset both counters.

Definition at line 81 of file uwpolling_AUV.h.

Member Data Documentation

◆ n_probe_detected

uint probe_cicle_counters::n_probe_detected

Number of probe (prehamble) detected in a round by the MAC.

Definition at line 72 of file uwpolling_AUV.h.

◆ n_probe_received

uint probe_cicle_counters::n_probe_received

Number of probe received in a round (i.e., prehamble received)

Definition at line 73 of file uwpolling_AUV.h.


The documentation for this struct was generated from the following file: