I'd really like to understand more about how the command to extract historical data from the data log works [command 31]. I've written some code to take my dates, convert them and format the package properly, and I know it works. Sometimes when I set a range of dates and send it to a device, the device will respond as expected with a return payload of groups of 11 bytes with data, but
most of the time I get nothing. I am perhaps successful only about 25% of the time I send this request to devices.
I do spread it out so I don't go over airtime and fair-use restrictions, but at least half the times I make this request to a device I get no response at all.
When I do get a response, about half of those are a reply payload consisting of all zeroes (or all A's in Base64), and I'm picking time windows where I know the device has been logging. In my testing, I often pick a time window where I already have the data and I just want the device to send me that data so I can verify, but it's odd that I get either nothing or zeroes.
I can believe that when I get no response at all, it is possibly because the device didn't receive the command, although I've done this with devices that are getting good signal and SF7, and they seem to receive other commands just fine.
But when a device is responding with a data log of payload of all zeroes, what does that mean? Is that what I would expect if the device has nothing between those two timestamps, or are there other conditions that can cause the device to respond in that way?
Any help please.
AB