Report
1 week, 2 days ago.

How to disable ADR and set your value for spreading factor and packet size?

Hello all,

I am new in this area of networks and I am also not so good at programming. Because of that, I have the question for you: Can you please write me how to disable ADR in the LoRAWAN example, set your own spreading factor and packet size.

Thank you in advance.

Kind regards!

Comment on this question

1 Answer

1 week, 1 day ago.

Hi Adnan,

The configuration of LoRa can be referred here, https://os.mbed.com/docs/mbed-os/v5.13/reference/lorawan-configuration.html

Regarding your question about disabling ADR, you can add below to mbed_app.json

"target_overrides": {
    "*": {
        "lora.adr-on":  false
    }
}

Regards,

Desmond

Thanks a lot for this...I need to change everything in mbed_app.json file about spreading factor and packet size or not? Thanks in advance!

posted by Adnan Sabovic 20 Aug 2019