Data rate is always set at SF7

Hello,
I am currently testing my node at different spreading factors. I am using STM 32 SDK for development. Even when, the LORAWAN_ADR_STATE macro is set to LORAMAC_HANDLER_ADR_OFF, the LORAWAN_DEFAULT_DATA_RATE is not being changed. The node always transmits at SF7 and at far distances it stops completely transmitting. The node transmits at SF7 or doesn’t work.
What could be the issue?

Hi @RonNad ,

Our support team has very limited experience on STM32 SDK itself since we focus on RUI3.

Maybe there is another basic parameter to be configured so that you can change DR.