Skip to main content
Associate III
Apr 20, 2026 2:43 PM UTC
Question

Forcing a specific DR to LoRaWAN_End_Node_LBM

Can force a specific DR for LoRaWAN?
I tried using:


uint8_t custom_dr[7] = {0};
custom_dr[3] = 1;
lorawan_api_dr_strategy_set(USER_DR_DISTRIBUTION, STACK_ID);
lorawan_api_dr_custom_set(custom_dr, STACK_ID);

 

but did not work.

2 replies

ST Technical Moderator
Apr 22, 2026 3:01 PM UTC

Hello @onass,

Did you try disabling ADR and setting the desired DR?

AN5406 How to build a LoRa® application with STM32CubeWL up to v1.4.0: This application note guides you through all the steps required to build specific LoRa® applications.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ST Technical Moderator
Apr 29, 2026 5:29 PM UTC

Hi @onass 

Were you able to force a DR for LoRaWAN? Did you solve this?

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks