cancel
Showing results for 
Search instead for 
Did you mean: 

Switching from TX_ON_TIMER and TX_ON_EVENT

pho3nix
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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.

View solution in original post

1 REPLY 1
STTwo-32
ST Employee

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.

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.