How to change APP_TX_DUTYCYCLE from remote?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 3:26 AM
I want to change the tx-duty cycle when my application is running (from a scheduled downlink for example), I guess i just could replace the define with my own variable, but that would be overwritten as it is outside the user code sections. What is the recommended way of doing this?
Solved! Go to Solution.
- Labels:
-
STM32WL series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-31 6:29 AM
Hello,
To change the period of your Tx you can use the function static void OnTxPeriodicityChanged(uint32_t periodicity) in lora_app.c.
The user sections protect your code when you regenerate your software via cubeMX. All the code between user sections will be kept and replace at the same place.
Hope it helps you
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-31 6:29 AM
Hello,
To change the period of your Tx you can use the function static void OnTxPeriodicityChanged(uint32_t periodicity) in lora_app.c.
The user sections protect your code when you regenerate your software via cubeMX. All the code between user sections will be kept and replace at the same place.
Hope it helps you
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-31 6:37 AM
Thank you, exactly what I was looking for!
