Skip to main content
Associate III
April 20, 2026
Question

Forcing a specific DR to LoRaWAN_End_Node_LBM

  • April 20, 2026
  • 2 replies
  • 160 views

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
April 22, 2026

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
April 29, 2026

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