2025-01-28 11:22 PM
Hello, I have a RAK3172 which is based on STM32WLE5CCU6, and it is being configured for LoRaWAN, and the node transmission is happening based on timer (TX_ON_TIMER), sometimes an External interrupt will be there and the device needs to send the packet immediately (TX_ON_EVENT), now how to switch from TX_ON_TIMER to TX_ON_EVENT
2025-01-29 05:20 AM
Hello @pho3nix
To switch from TX_ON_TIMER to TX_ON_EVENT on a LoRaWAN context you have to use an TxEventType_t variable that can control the variation of transmission generator (Timer or event). For more details, try to have a look at the LoRaWAN_End_Node application specially the lora_app.c file.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.