36#ifndef MS2C_CL_MESSAGE_H
37#define MS2C_CL_MESSAGE_H
Class representing the message for changing or retrieving the power level (source level)
virtual ~ClMsgS2CPowerLevel()
Class destructor.
int power_level
Power level (source level) value.
void set_power_level(int level)
Set the poer level in the selected Cl message.
ClMsgS2CPowerLevel()
Class constructor.
int get_power_level() const
Retrieve the power level specified in the Cl message.
Class representing the Cl message type used for retrieving the failed receptions counter of S2C devic...
void set_n_rx_failed(int n_failed)
Method used to set the number of reception failures in the message.
ClMsgS2CRxFailed()
Class constructor: no parameters.
virtual ~ClMsgS2CRxFailed()
Class destructor.
int n_rx_failed
Number of failed receptions.
int get_n_rx_failed() const
Method used to retrieve the number of reception failures from the message.
Cl Message type for setting the Tx Mode: Instant Message, Burst or Piggyback.
tx_mode_t tx_mode
Tx mode set in the message: IM, Burst or PBM.
tx_mode_t get_tx_mode() const
Method used to retrieve the TX mode value in the message.
enum ClMsgS2CTxMode::tx_mode tx_mode_t
void set_tx_mode(tx_mode_t mode)
Method that sets the TX mode in the message to the specified value.
ClMsgS2CTxMode()
Class constructor: no parameters.
virtual ~ClMsgS2CTxMode()
Class destructor.
ClMsgUwPhy should be extended and used to ask to set or get a parameter of a specific phy.
ClMessage_t CLMSG_S2C_POWER_LEVEL
ClMessage_t CLMSG_S2C_RX_FAILED
ClMessage_t CLMSG_S2C_TX_MODE
Definition of ClMsgUwMmac class.