#include <DroppedPacket.h>
Inherits BBItem.
Inheritance diagram for DroppedPacket:
Public Types | |
enum | Reasons { NONE = 746216, QUEUE, CHANNEL, RETRIES } |
Possible Reasons. | |
Public Member Functions | |
Reasons | getReason () const |
Get Reason. | |
void | setReason (Reasons r) |
set the state of the radio | |
DroppedPacket (Reasons r=NONE) | |
Constructor. | |
std::string | info () const |
Enables inspection. | |
Protected Attributes | |
Reasons | reason |
Hold Reason why this packet was dropped. | |
Private Member Functions | |
BBITEM_METAINFO (BBItem) |
Reasons: QUEUE: packet dropped because of full queue CHANNEL: packet dropped because channel could not be aquired RETRIES: packet dropped because receiver ACKs did not arrive