DSME Message interface implementation for GNRC. More...
DSME Message interface implementation for GNRC.
Definition at line 49 of file DSMEMessage.h.
#include <DSMEMessage.h>
Public Member Functions | |
| void | prependFrom (DSMEMessageElement *msg) override |
| prepend a header to current message | |
| void | decapsulateTo (DSMEMessageElement *msg) override |
| decapsulate header to a message | |
| void | copyTo (DSMEMessageElement *msg) |
| copy payload to DSME Message Element | |
| bool | hasPayload () override |
| check whether the message has payload | |
| uint32_t | getStartOfFrameDelimiterSymbolCounter () override |
| get the symbol counter at the end of the SFD | |
| void | setStartOfFrameDelimiterSymbolCounter (uint32_t symbolCounter) override |
| set the symbol counter at the end of the SFD | |
| uint16_t | getTotalSymbols () override |
| get the total number of symbols in current frame | |
| uint8_t | getMPDUSymbols () override |
| get number of MPDU Symbols | |
| IEEE802154eMACHeader & | getHeader () override |
| get IEEE 802.15.4 header | |
| uint8_t | getLQI () override |
| get LQI of the message | |
| bool | getReceivedViaMCPS () override |
| check whether the message was received via MCPS | |
| void | setReceivedViaMCPS (bool receivedViaMCPS) override |
| indicated that message was received via MCPS | |
| bool | getCurrentlySending () override |
| whether the message is being sent | |
| void | setCurrentlySending (bool currentlySending) override |
| indicate that the message is being sent | |
| void | increaseRetryCounter () override |
| increase retry counter for current message | |
| uint8_t | getRetryCounter () override |
| get retry counter | |
| uint8_t | getPayloadLength () |
| get payload length | |
| int8_t | getRSSI () override |
| get RSSI of frame | |
| int | loadBuffer (size_t len) |
| preallocate buffer with a given length | |
| int | loadBuffer (iolist_t *pkt) |
| load a GNRC packet into the internal openDSME message representation | |
| uint8_t * | getPayload () |
| get buffer associated to the current payload | |
| int | dropHdr (size_t len) |
| drop a number of bytes from the header | |
| void | releaseMessage () |
| release the message | |
| void | dispatchMessage () |
| dispatch the message to upper layers | |
| iolist_t * | getIolPayload () |
| get the IOLIST representation of the message | |
| void | clearMessage () |
| clear the message | |
Data Fields | |
| bool | firstTry |
| whether the message is being sent on the first try | |
| bool | free |
| whether the message is free | |
Friends | |
| class | DSMEPlatform |
| class | DSMEMessageElement |
| class | DSMEPlatformBase |
| class | DSMEMessageBuffer |
|
inlineoverride |
whether the message is being sent
Definition at line 150 of file DSMEMessage.h.
|
inlineoverride |
get IEEE 802.15.4 header
Definition at line 118 of file DSMEMessage.h.
|
inlineoverride |
get LQI of the message
Definition at line 126 of file DSMEMessage.h.
|
override |
get number of MPDU Symbols
|
inline |
get buffer associated to the current payload
Definition at line 209 of file DSMEMessage.h.
|
inline |
get payload length
Definition at line 182 of file DSMEMessage.h.
|
inlineoverride |
check whether the message was received via MCPS
Definition at line 134 of file DSMEMessage.h.
|
inlineoverride |
get retry counter
Definition at line 174 of file DSMEMessage.h.
|
inlineoverride |
get RSSI of frame
Definition at line 191 of file DSMEMessage.h.
|
inlineoverride |
get the symbol counter at the end of the SFD
Definition at line 79 of file DSMEMessage.h.
|
inlineoverride |
get the total number of symbols in current frame
Definition at line 95 of file DSMEMessage.h.
|
inlineoverride |
check whether the message has payload
Definition at line 71 of file DSMEMessage.h.
|
inlineoverride |
increase retry counter for current message
Definition at line 166 of file DSMEMessage.h.
|
inlineoverride |
indicate that the message is being sent
Definition at line 158 of file DSMEMessage.h.
|
inlineoverride |
indicated that message was received via MCPS
Definition at line 142 of file DSMEMessage.h.
|
inlineoverride |
set the symbol counter at the end of the SFD
Definition at line 87 of file DSMEMessage.h.
|
friend |
Definition at line 329 of file DSMEMessage.h.
|
friend |
Definition at line 327 of file DSMEMessage.h.
|
friend |
Definition at line 326 of file DSMEMessage.h.
|
friend |
Definition at line 328 of file DSMEMessage.h.
| bool dsme::DSMEMessage::firstTry |
whether the message is being sent on the first try
Definition at line 243 of file DSMEMessage.h.
| bool dsme::DSMEMessage::free |
whether the message is free
Definition at line 248 of file DSMEMessage.h.