![]() |
0.01.00
|
This structure contains metdata about a Message. More...
#include <src/core/common/message.hpp>
Public Types | |
enum | { kListAll = 0, kListInterface = 1, kNumLists = 2 } |
Public Attributes | |
Message * | mNext [kNumLists] |
A pointer to the next Message in a doubly linked list. | |
Message * | mPrev [kNumLists] |
A pointer to the previous Message in a doubly linked list. | |
MessagePool * | mMessagePool |
Identifies the message pool for this message. | |
union { | |
MessageQueue * mMessage | |
Identifies the message queue (if any) where this message is queued. | |
PriorityQueue * mPriority | |
Identifies the priority queue (if any) where this message is queued. | |
} | mQueue |
Identifies the queue (if any) where this message is queued. | |
uint16_t | mReserved |
Number of header bytes reserved for the message. | |
uint16_t | mLength |
Number of bytes within the message. | |
uint16_t | mOffset |
A byte offset within the message. | |
uint16_t | mDatagramTag |
The datagram tag used for 6LoWPAN fragmentation. | |
RssAverager | mRssAverager |
The averager maintaining the received signal strength (RSS) average. | |
uint8_t | mChildMask [8] |
A bit-vector to indicate which sleepy children need to receive this. | |
uint8_t | mTimeout |
Seconds remaining before dropping the message. | |
int8_t | mInterfaceId |
The interface ID. | |
union { | |
uint16_t mPanId | |
Used for MLE Discover Request and Response messages. | |
uint8_t mChannel | |
Used for MLE Announce. | |
} | mPanIdChannel |
Used for MLE Discover Request, Response, and Announce messages. | |
uint8_t | mType: 2 |
Identifies the type of message. | |
uint8_t | mSubType: 4 |
Identifies the message sub type. | |
bool | mDirectTx: 1 |
Used to indicate whether a direct transmission is required. | |
bool | mLinkSecurity: 1 |
Indicates whether or not link security is enabled. | |
uint8_t | mPriority: 2 |
Identifies the message priority level (lower value is higher priority). | |
bool | mInPriorityQ: 1 |
Indicates whether the message is queued in normal or priority queue. | |
This structure contains metdata about a Message.
anonymous enum |
Enumerator | |
---|---|
kListAll | Identifies the all messages list (maintained by the MessagePool). |
kListInterface | Identifies the list for per-interface message queue. |
kNumLists | Number of lists. |