LowPowerLab Forum

Hardware support => Moteino => Topic started by: nerdkingdan on May 22, 2017, 12:18:26 AM

Title: Missing something On radio.sendACK
Post by: nerdkingdan on May 22, 2017, 12:18:26 AM
I was wondering what all you can do with an ACK, can you get the node it was from?   Perhaps use this or some other method to que a retry after a minute or two when the ack fails?

NOTE: I edit my first question, as it was unclear, and I found out more since I asked.
Title: Re: Missing something On radio.sendACK
Post by: Felix on May 22, 2017, 07:05:27 AM
Quote from: nerdkingdan on May 22, 2017, 12:18:26 AM
I was wondering what all you can do with an ACK, can you get the node it was from?

radio.SENDERID
Title: Re: Missing something On radio.sendACK
Post by: TomWS on May 22, 2017, 07:56:56 AM
And an ACK can contain data, like counters, or additional information. 

For example, a node wakes up and sends a packet to the gateway.  The gateway can not only ACK, but also inform the node (using custom content) that there is information queued up for it.  Or maybe a more reliable method is to inform the node that there is NOTHING queued up for it and the node can go back to sleep.  In this case, getting a different message or missing an Ack might keep the node awake and going back to the gateway for more stuff.  Lots of options...

Tom