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:
Henrik Ekblad
2014-07-12 23:49:27 +02:00
parent 0cd56e88b2
commit ef91d9b9cc
4 changed files with 42 additions and 18 deletions
+5
View File
@@ -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;