New ack bit in header indicating of message is an actual ack of a message.
Use msg.getAck() to check in incoming message callback.
This commit is contained in:
@@ -14,6 +14,11 @@ MyMessage::MyMessage(uint8_t _sensor, uint8_t _type) {
|
||||
}
|
||||
|
||||
|
||||
bool MyMessage::isAck() const {
|
||||
return miGetAck();
|
||||
}
|
||||
|
||||
|
||||
/* Getters for payload converted to desired form */
|
||||
void* MyMessage::getCustom() const {
|
||||
return (void *)data;
|
||||
|
||||
Reference in New Issue
Block a user