Skip to main content
Associate II
November 19, 2024
Solved

STM32WLE5JC Adaptive Data Rate Implementation

  • November 19, 2024
  • 1 reply
  • 885 views

Hi,

I'm working with the STM32WLE5JC mcu and Cube firmware 1.13.0. Can someone explain how the module/stack implements adaptive data rate? I can see from lora_app.h that it is enabled by default, but exactly how is it implemented?

The screenshot is from LmHandler.c, where it seems to be disabled for LoRaWAN version 1.0.4 (which is what we are currently using).

So, to clarify:

* In what LoRaWAN versions is ADR enabled/implemented?

* How is it implemented?

helixembedded_0-1732033699454.png

 

Best answer by STTwo-32

Hello @helixembedded 

The Adaptive data rate is set using the LmHandlerSetAdrEnable() function of the LmHandler.h that is a part of the Semtech implementation. To understand more about it you have to take a look at the LoRaWAN Specification V1.0.2, chapter 4.3.1.1. You can also ask for more details on the Semtech support.

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
November 26, 2024

Hello @helixembedded 

The Adaptive data rate is set using the LmHandlerSetAdrEnable() function of the LmHandler.h that is a part of the Semtech implementation. To understand more about it you have to take a look at the LoRaWAN Specification V1.0.2, chapter 4.3.1.1. You can also ask for more details on the Semtech support.

Best Regards.

STTwo-32

Associate II
November 29, 2024

Thanks @STTwo-32 

With regards to setting the enabling/disabling ADR, can it be enabled/disabled on the fly? We are looking into manually adjusting the TX power and Data Rate in scenarios where connectivity is proving difficult.

STTwo-32
Technical Moderator
November 29, 2024

As I've said before. Semtech may give you better explanation.

Best Regards.

STTwo-32