guidosch / bikecounter

This repository contains the hardware and software components of a PIR based tracking device to monitor the usage of local bike trails. The data is sent over LoRaWAN to TTN and from there to a Google Cloud backend which stores the data and provides api endpoints for the data visualization web UI.
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Implement Lora downlink #24

Closed MeierTobias closed 1 year ago

MeierTobias commented 2 years ago
guidosch commented 2 years ago

Idea is to use the downlink to check if the message was received by any gateway. If the device does not receive a "ACK" it will retry a few times (not endless du to battery drain).

May collect failed messages as counter and add to health data to get a idea how many times it does not work. Could also be determined by the msg. send intervall...

MeierTobias commented 2 years ago

modem.endPacket(true);

MeierTobias commented 2 years ago

I tested and implemented the modem.endPacket(true); method into the pro version. It works well but I saw some uplink messages which were sent in a very short time span (20 sec.) I want to check if this has something to do with the "ACK" downlink

MeierTobias commented 1 year ago

implemented and tested with #48