pfodRadioMsg for Arduino Holds a radio msg
More...
#include <pfodRadioMsg.h>
|
| | pfodRadioMsg () |
| |
| void | init (size_t _maxMsgLen) |
| |
| size_t | saveMsg (uint8_t *_buf, uint8_t _len, uint8_t _addressedTo, uint8_t _receievedFrom, uint8_t _msgSeqNo, uint8_t _ackedMsgSeqNo) |
| |
| size_t | saveMsg (Stream *_txBufPtr, uint8_t _addressedTo, uint8_t _receievedFrom, uint8_t _msgSeqNo, uint8_t _ackedMsgSeqNo) |
| |
| uint8_t | getLen () |
| |
| uint8_t * | getBuf () |
| |
| uint8_t | getAddressedTo () |
| |
| uint8_t | getReceivedFrom () |
| |
| uint8_t | getMsgSeqNo () |
| |
| uint8_t | getAckedMsgSeqNo () |
| |
| void | setAckedMsgSeqNo (uint8_t _ackedMsgSeqNo) |
| |
| size_t | getMaxMsgBufferSize () |
| |
| bool | isPureAck () |
| |
| bool | isAckFor (pfodRadioMsg *lastRadioMsg) |
| |
| bool | isResendRequest (pfodRadioMsg *lastRadioMsg) |
| |
| bool | isNewMsg (uint8_t _thisAddress, uint8_t _targetAddress, uint8_t _expectedMsgSeqNo, bool isServer) |
| |
| bool | isNewConnectionRequest (uint8_t ourAddress) |
| |
pfodRadioMsg for Arduino Holds a radio msg
Definition at line 22 of file pfodRadioMsg.h.
◆ pfodRadioMsg()
| pfodRadioMsg::pfodRadioMsg |
( |
| ) |
|
◆ getAckedMsgSeqNo()
| uint8_t pfodRadioMsg::getAckedMsgSeqNo |
( |
| ) |
|
◆ getAddressedTo()
| uint8_t pfodRadioMsg::getAddressedTo |
( |
| ) |
|
◆ getBuf()
| uint8_t* pfodRadioMsg::getBuf |
( |
| ) |
|
◆ getLen()
| uint8_t pfodRadioMsg::getLen |
( |
| ) |
|
◆ getMaxMsgBufferSize()
| size_t pfodRadioMsg::getMaxMsgBufferSize |
( |
| ) |
|
◆ getMsgSeqNo()
| uint8_t pfodRadioMsg::getMsgSeqNo |
( |
| ) |
|
◆ getReceivedFrom()
| uint8_t pfodRadioMsg::getReceivedFrom |
( |
| ) |
|
◆ init()
| void pfodRadioMsg::init |
( |
size_t |
_maxMsgLen | ) |
|
◆ isAckFor()
◆ isNewConnectionRequest()
| bool pfodRadioMsg::isNewConnectionRequest |
( |
uint8_t |
ourAddress | ) |
|
◆ isNewMsg()
| bool pfodRadioMsg::isNewMsg |
( |
uint8_t |
_thisAddress, |
|
|
uint8_t |
_targetAddress, |
|
|
uint8_t |
_expectedMsgSeqNo, |
|
|
bool |
isServer |
|
) |
| |
◆ isPureAck()
| bool pfodRadioMsg::isPureAck |
( |
| ) |
|
◆ isPureAckFor()
| bool pfodRadioMsg::isPureAckFor |
( |
uint8_t |
msgSeqNoWaitingForAck | ) |
|
|
protected |
◆ isResendRequest()
| bool pfodRadioMsg::isResendRequest |
( |
pfodRadioMsg * |
lastRadioMsg | ) |
|
◆ saveMsg() [1/2]
| size_t pfodRadioMsg::saveMsg |
( |
Stream * |
_txBufPtr, |
|
|
uint8_t |
_addressedTo, |
|
|
uint8_t |
_receievedFrom, |
|
|
uint8_t |
_msgSeqNo, |
|
|
uint8_t |
_ackedMsgSeqNo |
|
) |
| |
◆ saveMsg() [2/2]
| size_t pfodRadioMsg::saveMsg |
( |
uint8_t * |
_buf, |
|
|
uint8_t |
_len, |
|
|
uint8_t |
_addressedTo, |
|
|
uint8_t |
_receievedFrom, |
|
|
uint8_t |
_msgSeqNo, |
|
|
uint8_t |
_ackedMsgSeqNo |
|
) |
| |
◆ setAckedMsgSeqNo()
| void pfodRadioMsg::setAckedMsgSeqNo |
( |
uint8_t |
_ackedMsgSeqNo | ) |
|
◆ ackedMsgSeqNo
| uint8_t pfodRadioMsg::ackedMsgSeqNo |
|
protected |
◆ addressedTo
| uint8_t pfodRadioMsg::addressedTo |
|
protected |
◆ BUFFER_SIZE
| const size_t pfodRadioMsg::BUFFER_SIZE = 255 |
|
staticprotected |
◆ maxMsgLen
| size_t pfodRadioMsg::maxMsgLen |
|
protected |
◆ msgBuf
◆ msgLen
| size_t pfodRadioMsg::msgLen |
|
protected |
◆ msgSeqNo
| uint8_t pfodRadioMsg::msgSeqNo |
|
protected |
◆ receivedFrom
| uint8_t pfodRadioMsg::receivedFrom |
|
protected |