Skip to content

behaviour of ADR #4610

Closed
Closed
@lanmarc77

Description

@lanmarc77

Summary

There might be multiple issues here.
I deactivated ADR in MCCI LMIC 4.0, still the current public community stack sends an ADR frame down.
Additionally that ADR frame sets SF12, even for good rssi snr values. LMIC is not yet protected against ADR frames from a LoRaWAN Server if it does not expect those, so it simply accepts them.
I implemented a patch to not accept ADR frames in LMIC if I do not expect them. I can then see an ADR reject message in the console (mcci-catena/arduino-lmic#786). Patch works and the node stays on SF7.
After this it is not possible to send any downlinks. Whenever I schedule one it is substituted by another frame with the RX settings. I tried disabling ADR via the cli tool, but this does not change the decribed behaviour.
I am out of options. I noticed this because I am switching nodes over to v3.

Steps to Reproduce

  1. Install MCCI LMIC 4.0 use the default ttn-otaa example
  2. deaktivate ADR by calling LMIC_setAdrMode(0);
  3. choose mac 1.0.3

What do you want to see instead?

ADR frames should not be send down to nodes if they do not offer them.
SF12 should not be choosen for good rssi/snr values.

How do you propose to test this?

I can offer a test device with LMIC which I could setup for a test network server.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingc/network serverThis is related to the Network Server

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions