Open Beetix opened 2 years ago
Sorry you're having problems.
I think you'll find that chirpstack is sending MAC messages to your device that require response. Each uplink from the device causes another downlink from Chirpstack, until Chirpstack has finished sending the MAC messages. I don't believe this is a bug in the LMIC, but rather known behavior with Chirpstack.
I see! Thank you.
I will investigate on Chirpstack to confirm this behavior.
I can confirm this, saw the same on a chirpstack network. The TX's are initiated by MAC commands from the network.
I have a same problem with lmic library but when I use arduino-lorawan library instead of arduino-lmic library, I did not encounter this to many tx problem. What should we edit/add in this library to sort the problem out ?
I found a solution, you have to disable MAC commands on chirpstack:
mac_commands_disabled=true
Describe the bug
The device sends too many uplinks (at a 5s interval) at the beginning of the execution.
Environment
To Reproduce
plaformio.ini
main.cpp
Expected behavior
Single uplink every minute.
Serial output