I know that the metadata can’t be accessed in the decoder.
I have made LoRaWAn devices for use on farms and mostly it doesn’t matter if the odd packet goes missing, but in some cases like a rain gauge, or flow meter, a missed packet compromises the accuracy. In these case a data logger with a radio module is usually deployed but these devices (at least the ones I have used) have bigger payloads and use more bandwidth than the standard LoRaWAN nodes hooked up to a sensor.
But… if as the developer notes state “Every time the device transmits an uplink message, the FCntUp is incremented.” and this is sent in metadata for security reasons, does it mean that every compliant LoRaWAN node is already a data lagger by default - if only you could retrieve the metadata?
I know one can retrieve the metadata over HTTP, so there is a way.
This question is more of a thought bubble from a new user about the potential of FCntUp as a data logging tool in addition to the security function, and why FCntUp isn’t used more widely in this way?
(I’m assuming the FCntUp is applied at the device level not the gateway, that’s the way I’ve understood it.)