DESERT 3.5.1
Loading...
Searching...
No Matches
Uwpolling_SINK Class Reference

#include <uwpolling_SINK.h>

Inheritance diagram for Uwpolling_SINK:
Collaboration diagram for Uwpolling_SINK:

Classes

class  BackOffTimer
 
class  Rx_Data_Timer
 
class  Uwpolling_SINK_Timer
 

Public Member Functions

 Uwpolling_SINK ()
 
virtual ~Uwpolling_SINK ()
 
virtual int command (int argc, const char *const *argv)
 
virtual int crLayCommand (ClMessage *m)
 

Protected Types

enum  UWPOLLING_SINK_STATUS {
  UWPOLLING_SINK_STATUS_IDLE = 1 , UWPOLLING_SINK_STATUS_RX_TRIGGER , UWPOLLING_SINK_STATUS_TX_PROBE , UWPOLLING_SINK_STATUS_WAIT_DATA ,
  UWPOLLING_SINK_STATUS_RX_DATA , UWPOLLING_SINK_STATUS_TX_ACK
}
 
enum  UWPOLLING_PKT_TYPE {
  UWPOLLING_DATA_PKT = 1 , UWPOLLING_POLL_PKT , UWPOLLING_TRIGGER_PKT , UWPOLLING_PROBE_PKT ,
  UWPOLLING_ACK_PKT
}
 
enum  UWPOLLING_SINK_REASON {
  UWPOLLING_SINK_REASON_RX_DATA , UWPOLLING_SINK_REASON_RX_TRIGGER , UWPOLLING_SINK_REASON_PKT_ERROR , UWPOLLING_SINK_REASON_TX_PROBE ,
  UWPOLLING_SINK_REASON_TX_ACK , UWPOLLING_SINK_REASON_BACKOFF_TIMER_EXPIRED , UWPOLLING_SINK_REASON_RX_DATA_TIMER_EXPIRED , UWPOLLING_SINK_REASON_NOT_SET ,
  UWPOLLING_SINK_REASON_MAX_DATA_RECEIVED , UWPOLLING_SINK_REASON_WRONG_TYPE , UWPOLLING_SINK_REASON_WRONG_RECEIVER , UWPOLLING_SINK_REASON_WRONG_STATE
}
 
enum  UWPOLLING_TIMER_STATUS { UWPOLLING_IDLE = 1 , UWPOLLING_RUNNING , UWPOLLING_FROZEN , UWPOLLING_EXPIRED }
 

Protected Member Functions

virtual void Mac2PhyStartTx (Packet *p)
 
virtual void Phy2MacEndTx (const Packet *p)
 
virtual void Phy2MacStartRx (const Packet *p)
 
virtual void Phy2MacEndRx (Packet *p)
 
virtual void initPkt (UWPOLLING_PKT_TYPE pkt_type)
 
virtual void initInfo ()
 
virtual void refreshReason (UWPOLLING_SINK_REASON reason)
 
virtual void refreshState (UWPOLLING_SINK_STATUS state)
 
virtual void incrProbeSent ()
 
virtual void incrAckSent ()
 
void incrTriggerReceived ()
 
void incrTriggerDropped ()
 
int getProbeSent ()
 
int getAckSent ()
 
int getTriggerReceived ()
 
int getTriggerDropped ()
 
uint getDuplicatedPkt ()
 
void incrDuplicatedPkt ()
 
virtual void waitForUser ()
 
virtual void stateIdle ()
 
virtual void stateRxTrigger ()
 
virtual void stateTxProbe ()
 
virtual void BackOffTimerExpired ()
 
virtual void RxDataTimerExpired ()
 
virtual double getBackOffTime ()
 
virtual void txAck ()
 
virtual void TxProbe ()
 
virtual void stateWaitData ()
 
virtual void stateRxData ()
 
virtual void addMissPkt2List (uint16_t n_pkts)
 
virtual void stateTxAck ()
 
unsigned long int getEpoch ()
 

Protected Attributes

double T_data
 
double T_data_gurad
 
double backoff_tuner
 
uint sink_id
 
bool RxDataEnabled
 
bool Triggered
 
bool triggerEnabled
 
double T_in
 
double T_fin
 
double BOffTime
 
int AUV_mac_addr
 
int n_probe_sent
 
int n_trigger_received
 
int n_trigger_dropped
 
int n_ack_sent
 
uint n_curr_rx_pkts
 
uint16_t expected_id
 
uint16_t last_rx
 
bool send_ACK
 
std::list< uint16_t > missing_id_list
 
uint16_t expected_last_id
 
uint16_t prev_expect_last_id
 
uint duplicate_pkts
 
bool first_rx_pkt
 
uint PROBE_uid
 
Packet * curr_data_pkt
 
Packet * curr_probe_pkt
 
Packet * curr_trigger_pkt
 
Packet * curr_ack_pkt
 
UWPOLLING_SINK_REASON last_reason
 
UWPOLLING_SINK_STATUS curr_state
 
UWPOLLING_SINK_STATUS prev_state
 
BackOffTimer backoff_timer
 
Rx_Data_Timer rx_data_timer
 
std::ofstream fout
 
std::ofstream out_file_stats
 
int sea_trial
 
int print_stats
 
int n_run
 
int useAdaptiveTdata
 
int ack_enabled
 
uint max_n_ack
 
double T_guard
 
int max_payload
 
int modem_data_bit_rate
 

Static Protected Attributes

static bool initialized = false
 
static map< Uwpolling_SINK::UWPOLLING_SINK_STATUS, string > status_info
 
static map< Uwpolling_SINK::UWPOLLING_SINK_REASON, string > reason_info
 
static map< Uwpolling_SINK::UWPOLLING_PKT_TYPE, string > pkt_type_info
 

Detailed Description

Class used to represents the UWPOLLING MAC layer of a node.

Definition at line 75 of file uwpolling_SINK.h.

Member Enumeration Documentation

◆ UWPOLLING_PKT_TYPE

Enumerator
UWPOLLING_DATA_PKT 
UWPOLLING_POLL_PKT 
UWPOLLING_TRIGGER_PKT 
UWPOLLING_PROBE_PKT 
UWPOLLING_ACK_PKT 

Definition at line 118 of file uwpolling_SINK.h.

◆ UWPOLLING_SINK_REASON

Enumerator
UWPOLLING_SINK_REASON_RX_DATA 
UWPOLLING_SINK_REASON_RX_TRIGGER 
UWPOLLING_SINK_REASON_PKT_ERROR 
UWPOLLING_SINK_REASON_TX_PROBE 
UWPOLLING_SINK_REASON_TX_ACK 
UWPOLLING_SINK_REASON_BACKOFF_TIMER_EXPIRED 
UWPOLLING_SINK_REASON_RX_DATA_TIMER_EXPIRED 
UWPOLLING_SINK_REASON_NOT_SET 
UWPOLLING_SINK_REASON_MAX_DATA_RECEIVED 
UWPOLLING_SINK_REASON_WRONG_TYPE 
UWPOLLING_SINK_REASON_WRONG_RECEIVER 
UWPOLLING_SINK_REASON_WRONG_STATE 

Definition at line 127 of file uwpolling_SINK.h.

◆ UWPOLLING_SINK_STATUS

< Variable that rapresents the status of the protocol machine state

Enumerator
UWPOLLING_SINK_STATUS_IDLE 
UWPOLLING_SINK_STATUS_RX_TRIGGER 
UWPOLLING_SINK_STATUS_TX_PROBE 
UWPOLLING_SINK_STATUS_WAIT_DATA 
UWPOLLING_SINK_STATUS_RX_DATA 
UWPOLLING_SINK_STATUS_TX_ACK 

Definition at line 108 of file uwpolling_SINK.h.

◆ UWPOLLING_TIMER_STATUS

Enumerator
UWPOLLING_IDLE 
UWPOLLING_RUNNING 
UWPOLLING_FROZEN 
UWPOLLING_EXPIRED 

Definition at line 143 of file uwpolling_SINK.h.

Constructor & Destructor Documentation

◆ Uwpolling_SINK()

Uwpolling_SINK::Uwpolling_SINK ( )

Constructor of the Uwpolling_SINK class.

Definition at line 81 of file uwpolling_SINK.cpp.

◆ ~Uwpolling_SINK()

Uwpolling_SINK::~Uwpolling_SINK ( )
virtual

Destructor of the Uwpolling_SINK class.

Definition at line 146 of file uwpolling_SINK.cpp.

Member Function Documentation

◆ addMissPkt2List()

void Uwpolling_SINK::addMissPkt2List ( uint16_t  n_pkts)
protectedvirtual

Add packet uids in the missing packet list.

Parameters
numberof missing packets to insert inthe list

Definition at line 602 of file uwpolling_SINK.cpp.

◆ BackOffTimerExpired()

void Uwpolling_SINK::BackOffTimerExpired ( )
protectedvirtual

Method called by the Expire event of the timer.

Here we call the stateTxProbe method

Definition at line 338 of file uwpolling_SINK.cpp.

◆ command()

int Uwpolling_SINK::command ( int  argc,
const char *const *  argv 
)
virtual

TCL command interpreter.

It implements the following OTcl methods:

Parameters
argcNumber of arguments in argv.
argvArray of strings which are the command parameters (Note that argv[0] is the name of the object).
Returns
TCL_OK or TCL_ERROR whether the command has been dispatched successfully or not.

Definition at line 151 of file uwpolling_SINK.cpp.

◆ crLayCommand()

int Uwpolling_SINK::crLayCommand ( ClMessage *  m)
virtual

Cross-Layer messages interpreter.

Parameters
ClMessage*an instance of ClMessage that represent the message received
Returns
0 if successful.

Definition at line 185 of file uwpolling_SINK.cpp.

◆ getAckSent()

int Uwpolling_SINK::getAckSent ( )
inlineprotected

Returns the number of ACK packets sent during the simulation.

Returns
int n_ack_sent the number of ACK packets sent

Definition at line 510 of file uwpolling_SINK.h.

◆ getBackOffTime()

double Uwpolling_SINK::getBackOffTime ( )
protectedvirtual

The backoff timer is calculated choosing randomly using a Uniform random variable and multiplying it by a backoff_tuner chosen by the user via tcl.

Definition at line 327 of file uwpolling_SINK.cpp.

◆ getDuplicatedPkt()

uint Uwpolling_SINK::getDuplicatedPkt ( )
inlineprotected

Definition at line 536 of file uwpolling_SINK.h.

◆ getEpoch()

unsigned long int Uwpolling_SINK::getEpoch ( )
inlineprotected

Calculate the epoch of the event.

Used in sea-trial mode

Returns
the epoch of the system

Definition at line 631 of file uwpolling_SINK.h.

◆ getProbeSent()

int Uwpolling_SINK::getProbeSent ( )
inlineprotected

Returns the number of PROBE packets sent during the simulation.

Returns
int n_probe_sent the number of PROBE packets sent

Definition at line 500 of file uwpolling_SINK.h.

◆ getTriggerDropped()

int Uwpolling_SINK::getTriggerDropped ( )
inlineprotected

Return the number of TRIGGER dropped by the node because of erroneous CRC.

Returns
int n_trigger_dropped number of TRIGGER dropped by the AUV

Definition at line 530 of file uwpolling_SINK.h.

◆ getTriggerReceived()

int Uwpolling_SINK::getTriggerReceived ( )
inlineprotected

Return the number of TRIGGER packets received by the NODE.

Returns
int n_trigger_received number of TRIGGER packets received

Definition at line 520 of file uwpolling_SINK.h.

◆ incrAckSent()

virtual void Uwpolling_SINK::incrAckSent ( )
inlineprotectedvirtual

Increment the number of sent PROBE packets.

Definition at line 472 of file uwpolling_SINK.h.

◆ incrDuplicatedPkt()

void Uwpolling_SINK::incrDuplicatedPkt ( )
inlineprotected

Definition at line 542 of file uwpolling_SINK.h.

◆ incrProbeSent()

virtual void Uwpolling_SINK::incrProbeSent ( )
inlineprotectedvirtual

Increment the number of sent PROBE packets.

Definition at line 463 of file uwpolling_SINK.h.

◆ incrTriggerDropped()

void Uwpolling_SINK::incrTriggerDropped ( )
inlineprotected

Increments the number of TRIGGER packets dropped because of erroneous CRC.

Definition at line 490 of file uwpolling_SINK.h.

◆ incrTriggerReceived()

void Uwpolling_SINK::incrTriggerReceived ( )
inlineprotected

Increments the number of TRIGGER packets received.

Definition at line 481 of file uwpolling_SINK.h.

◆ initInfo()

void Uwpolling_SINK::initInfo ( )
protectedvirtual

Initializes the protocol at the beginning of the simulation.

This method is called by a command in tcl.

Parameters
doubledelay
See also
command method

Definition at line 639 of file uwpolling_SINK.cpp.

◆ initPkt()

void Uwpolling_SINK::initPkt ( UWPOLLING_PKT_TYPE  pkt_type)
protectedvirtual

Inits the packet with the MAC address of the receiver and the sender, the size of the packet and the type.

Parameters
UWPOLLING_PKT_TYPEthe type of the packet

Definition at line 374 of file uwpolling_SINK.cpp.

◆ Mac2PhyStartTx()

void Uwpolling_SINK::Mac2PhyStartTx ( Packet *  p)
protectedvirtual

Pass the packet to the PHY layer.

Parameters
Packet*Pointer to an object of type Packet that rapresent the Packet to transmit

Definition at line 444 of file uwpolling_SINK.cpp.

◆ Phy2MacEndRx()

void Uwpolling_SINK::Phy2MacEndRx ( Packet *  p)
protectedvirtual

Method called when the Phy Layer finish to receive a Packet.

Parameters
constPacket* Pointer to an object of type Packet that rapresent the packet received

Definition at line 216 of file uwpolling_SINK.cpp.

◆ Phy2MacEndTx()

void Uwpolling_SINK::Phy2MacEndTx ( const Packet *  p)
protectedvirtual

Method called when the PHY layer finish to transmit the packet.

Parameters
Packet*Pointer to an object of type Packet that rapresent the Packet transmitted

Definition at line 450 of file uwpolling_SINK.cpp.

◆ Phy2MacStartRx()

virtual void Uwpolling_SINK::Phy2MacStartRx ( const Packet *  p)
inlineprotectedvirtual

Method called when the Phy Layer start to receive a Packet.

Parameters
constPacket* Pointer to an object of type Packet that rapresent the Packet that is in reception

Definition at line 413 of file uwpolling_SINK.h.

◆ refreshReason()

virtual void Uwpolling_SINK::refreshReason ( UWPOLLING_SINK_REASON  reason)
inlineprotectedvirtual

Refresh the reason for the changing of the state.

Parameters
UWPOLLING_SINK_REASONThe reason of the change of the state

Definition at line 443 of file uwpolling_SINK.h.

◆ refreshState()

virtual void Uwpolling_SINK::refreshState ( UWPOLLING_SINK_STATUS  state)
inlineprotectedvirtual

Refresh the state of the protocol.

Parameters
UWPOLLING_AUV_STATUScurrent state of the protcol

Definition at line 453 of file uwpolling_SINK.h.

◆ RxDataTimerExpired()

void Uwpolling_SINK::RxDataTimerExpired ( )
protectedvirtual

Methods called by the Expire event of the timer.

Here we disable the possibility of the node to receive DATA packets.

Definition at line 579 of file uwpolling_SINK.cpp.

◆ stateIdle()

void Uwpolling_SINK::stateIdle ( )
protectedvirtual

IDLE state.

Each variable is resetted

Definition at line 270 of file uwpolling_SINK.cpp.

◆ stateRxData()

void Uwpolling_SINK::stateRxData ( )
protectedvirtual

State in which the DATA packet is received.

Definition at line 476 of file uwpolling_SINK.cpp.

◆ stateRxTrigger()

void Uwpolling_SINK::stateRxTrigger ( )
protectedvirtual

State of the protocol in which a TRIGGER packet is received.

Here we check the header of the TRIGGER and we store the information into it (i.e. the range of values into which choose randomly the backoff time

Definition at line 289 of file uwpolling_SINK.cpp.

◆ stateTxAck()

void Uwpolling_SINK::stateTxAck ( )
protectedvirtual

State in which the ACK is sent.

Definition at line 617 of file uwpolling_SINK.cpp.

◆ stateTxProbe()

void Uwpolling_SINK::stateTxProbe ( )
protectedvirtual

State of the protocol in which a PROBE packet is sent.

Here we store into the PROBE header all the information needed, such as the timestamp of the most recent data packet, the number of the packets that the node wish to transmit

Definition at line 353 of file uwpolling_SINK.cpp.

◆ stateWaitData()

void Uwpolling_SINK::stateWaitData ( )
protectedvirtual

State in which the protocol set up the timer to wait the reception of the DATA packet.

Definition at line 463 of file uwpolling_SINK.cpp.

◆ txAck()

void Uwpolling_SINK::txAck ( )
protectedvirtual

The ACK Packet is sent down to the PHY layer.

Definition at line 630 of file uwpolling_SINK.cpp.

◆ TxProbe()

void Uwpolling_SINK::TxProbe ( )
protectedvirtual

The PROBE Packet is sended down to the PHY layer.

Definition at line 435 of file uwpolling_SINK.cpp.

◆ waitForUser()

void Uwpolling_SINK::waitForUser ( )
protectedvirtual

Used for debug purposes.

(Permit to have a "step by step" behaviour of the protocol)

Definition at line 694 of file uwpolling_SINK.cpp.

Member Data Documentation

◆ ack_enabled

int Uwpolling_SINK::ack_enabled
protected

True if ack is enabled, false if disabled, default true.

Definition at line 721 of file uwpolling_SINK.h.

◆ AUV_mac_addr

int Uwpolling_SINK::AUV_mac_addr
protected

MAC address of the AUV from which it receives data.

Definition at line 664 of file uwpolling_SINK.h.

◆ backoff_timer

BackOffTimer Uwpolling_SINK::backoff_timer
protected

Backoff timer.

Definition at line 708 of file uwpolling_SINK.h.

◆ backoff_tuner

double Uwpolling_SINK::backoff_tuner
protected

Multiplying value to the backoff value.

Definition at line 644 of file uwpolling_SINK.h.

◆ BOffTime

double Uwpolling_SINK::BOffTime
protected

Backoff time chosen.

Definition at line 662 of file uwpolling_SINK.h.

◆ curr_ack_pkt

Packet* Uwpolling_SINK::curr_ack_pkt
protected

Pointer to the current ACK packet.

Definition at line 694 of file uwpolling_SINK.h.

◆ curr_data_pkt

Packet* Uwpolling_SINK::curr_data_pkt
protected

Pointer to the current DATA packet.

Definition at line 691 of file uwpolling_SINK.h.

◆ curr_probe_pkt

Packet* Uwpolling_SINK::curr_probe_pkt
protected

Pointer to the current PROBE packet.

Definition at line 692 of file uwpolling_SINK.h.

◆ curr_state

UWPOLLING_SINK_STATUS Uwpolling_SINK::curr_state
protected

Current state of the protocol.

Definition at line 698 of file uwpolling_SINK.h.

◆ curr_trigger_pkt

Packet* Uwpolling_SINK::curr_trigger_pkt
protected

Pointer to the current TRIGGER packet.

Definition at line 693 of file uwpolling_SINK.h.

◆ duplicate_pkts

uint Uwpolling_SINK::duplicate_pkts
protected

Definition at line 684 of file uwpolling_SINK.h.

◆ expected_id

uint16_t Uwpolling_SINK::expected_id
protected

Expected ID of the next data packet received.

Definition at line 675 of file uwpolling_SINK.h.

◆ expected_last_id

uint16_t Uwpolling_SINK::expected_last_id
protected

Definition at line 680 of file uwpolling_SINK.h.

◆ first_rx_pkt

bool Uwpolling_SINK::first_rx_pkt
protected

Number ot duplicated packets received.

Definition at line 686 of file uwpolling_SINK.h.

◆ fout

std::ofstream Uwpolling_SINK::fout
protected

Output stream for the textual file of debug.

Definition at line 712 of file uwpolling_SINK.h.

◆ initialized

bool Uwpolling_SINK::initialized = false
staticprotected

true if the protocol is initialized, false otherwise

Definition at line 648 of file uwpolling_SINK.h.

◆ last_reason

UWPOLLING_SINK_REASON Uwpolling_SINK::last_reason
protected

Last reason to the change of state.

Definition at line 697 of file uwpolling_SINK.h.

◆ last_rx

uint16_t Uwpolling_SINK::last_rx
protected

ID of the last received packet.

Definition at line 676 of file uwpolling_SINK.h.

◆ max_n_ack

uint Uwpolling_SINK::max_n_ack
protected

Max number of ACK that can be sent in a single round.

The same value has to be used in packer, if needed.

Definition at line 722 of file uwpolling_SINK.h.

◆ max_payload

int Uwpolling_SINK::max_payload
protected

Dimension of the DATA payload.

Definition at line 725 of file uwpolling_SINK.h.

◆ missing_id_list

std::list<uint16_t> Uwpolling_SINK::missing_id_list
protected

List with missing packet ID.

Definition at line 679 of file uwpolling_SINK.h.

◆ modem_data_bit_rate

int Uwpolling_SINK::modem_data_bit_rate
protected

Bit rate of the modem used.

Definition at line 726 of file uwpolling_SINK.h.

◆ n_ack_sent

int Uwpolling_SINK::n_ack_sent
protected

Definition at line 671 of file uwpolling_SINK.h.

◆ n_curr_rx_pkts

uint Uwpolling_SINK::n_curr_rx_pkts
protected

Number of current received packets after the probe transmission.

Definition at line 673 of file uwpolling_SINK.h.

◆ n_probe_sent

int Uwpolling_SINK::n_probe_sent
protected

Number of PROBE packets sent to the AUV.

Definition at line 666 of file uwpolling_SINK.h.

◆ n_run

int Uwpolling_SINK::n_run
protected

Definition at line 718 of file uwpolling_SINK.h.

◆ n_trigger_dropped

int Uwpolling_SINK::n_trigger_dropped
protected

Number of TRIGGER packet dropped.

Definition at line 669 of file uwpolling_SINK.h.

◆ n_trigger_received

int Uwpolling_SINK::n_trigger_received
protected

Number of TRIGGER packets received.

Definition at line 668 of file uwpolling_SINK.h.

◆ out_file_stats

std::ofstream Uwpolling_SINK::out_file_stats
protected

Definition at line 713 of file uwpolling_SINK.h.

◆ pkt_type_info

map< Uwpolling_SINK::UWPOLLING_PKT_TYPE, string > Uwpolling_SINK::pkt_type_info
staticprotected

Textual info of the type of the packet.

Definition at line 706 of file uwpolling_SINK.h.

◆ prev_expect_last_id

uint16_t Uwpolling_SINK::prev_expect_last_id
protected

Expected Unique ID of the last packet in the round.

Definition at line 682 of file uwpolling_SINK.h.

◆ prev_state

UWPOLLING_SINK_STATUS Uwpolling_SINK::prev_state
protected

Previous state of the protocol.

Definition at line 699 of file uwpolling_SINK.h.

◆ print_stats

int Uwpolling_SINK::print_stats
protected

Print protocol's statistics of the protocol.

Definition at line 716 of file uwpolling_SINK.h.

◆ PROBE_uid

uint Uwpolling_SINK::PROBE_uid
protected

True if the packet received is the first packet in the round.

PROBE Unique ID

Definition at line 689 of file uwpolling_SINK.h.

◆ reason_info

map< Uwpolling_SINK::UWPOLLING_SINK_REASON, string > Uwpolling_SINK::reason_info
staticprotected

Textual info of the reason.

Definition at line 704 of file uwpolling_SINK.h.

◆ rx_data_timer

Rx_Data_Timer Uwpolling_SINK::rx_data_timer
protected

Receiving DATA Timer.

Definition at line 709 of file uwpolling_SINK.h.

◆ RxDataEnabled

bool Uwpolling_SINK::RxDataEnabled
protected

true if the node is enabled to receive the DATA, false otherwise

Definition at line 651 of file uwpolling_SINK.h.

◆ sea_trial

int Uwpolling_SINK::sea_trial
protected

Sea Trial flag: To activate if the protocol is going to be tested at the sea.

Definition at line 714 of file uwpolling_SINK.h.

◆ send_ACK

bool Uwpolling_SINK::send_ACK
protected

True if an ACK has to be sent, false otherwise.

Definition at line 677 of file uwpolling_SINK.h.

◆ sink_id

uint Uwpolling_SINK::sink_id
protected

Unique Node ID.

Definition at line 646 of file uwpolling_SINK.h.

◆ status_info

map< Uwpolling_SINK::UWPOLLING_SINK_STATUS, string > Uwpolling_SINK::status_info
staticprotected

Textual info of the state.

Definition at line 702 of file uwpolling_SINK.h.

◆ T_data

double Uwpolling_SINK::T_data
protected

Duration of RxDataTimer.

Definition at line 642 of file uwpolling_SINK.h.

◆ T_data_gurad

double Uwpolling_SINK::T_data_gurad
protected

Guard time for RxDataTimer.

Definition at line 643 of file uwpolling_SINK.h.

◆ T_fin

double Uwpolling_SINK::T_fin
protected

Upper bound of the range in which choose randomly the backoff time (sent by the AUV in the TRIGGER message)

Definition at line 660 of file uwpolling_SINK.h.

◆ T_guard

double Uwpolling_SINK::T_guard
protected

Guard time added to the calculation of the data TO.

Definition at line 724 of file uwpolling_SINK.h.

◆ T_in

double Uwpolling_SINK::T_in
protected

True if rx trigger is enabled.

Lower bound of the range in which choose randomly the backoff time (sent by the AUV in the TRIGGER message)

Definition at line 658 of file uwpolling_SINK.h.

◆ Triggered

bool Uwpolling_SINK::Triggered
protected

true if the node has correctly received a TRIGGER, false otherwise

Definition at line 653 of file uwpolling_SINK.h.

◆ triggerEnabled

bool Uwpolling_SINK::triggerEnabled
protected

Definition at line 656 of file uwpolling_SINK.h.

◆ useAdaptiveTdata

int Uwpolling_SINK::useAdaptiveTdata
protected

True if an adaptive T_poll is used.

Definition at line 720 of file uwpolling_SINK.h.


The documentation for this class was generated from the following files: