Receive LoRa messages continuously (STM32 NUCLEO-WL55JC1)
Hello!
My code is based on the LoRaWAN Endnode example and I adjusted it to send data when pushing the BUT1. I have three board all with the same code and depending on which device sent the data I want to toggle LEDs connected with the boards. This works fine so far and I can see and process the data in the STM32CubeMonitor.
For this I used the TX_ON_TIMER mode which just works fine, but the latency between pushing the button and the LEDs lighting up is pretty high.
To reduce the response time I switched to TX_ON_EVENT mode, but on the boards the data (for turning on the LEDs) isn't received until I send data to the gateway. I also tried switching from LoRa class A to B and C but it doen't really change the behaviour. Shouldn't the data be received continuously when using LoRa class C? It seems somehow as if the devices are still in LoRa class A mode.
I'm still pretty new to working with STM32 and LoRa so it's all very confusing for me right now.
Is there a fix for this?
Thanks in advance!