#include <PhyControlInfo.h>
Public Member Functions | |
| PhyControlInfo (const double br=0, const double s=0) | |
| Default constructor. | |
| virtual | ~PhyControlInfo () |
| Destructor. | |
| virtual const double | getBitrate () |
| get Bitrate | |
| virtual void | setBitrate (const double br) |
| set bitrate | |
| virtual const double | getSnr () |
| get snr | |
| virtual void | setSnr (const double r) |
| set snr | |
Protected Attributes | |
| double | bitrate |
| bit rate at which to send the payload / at which the payload was send As a convention, a rate in bits per second is encouraged | |
| double | snr |
| snr information specifically for this packet | |
The physical layer needs some additional information from the MAC, like the bit rate to use, and passes up some information about the signal strength.
1.4.4