Skip to content

Cannot set DataRate when ADR is not set #6

@AmedeeBulle

Description

@AmedeeBulle

It seems that the DataRate gets overwritten and forced to DR0 (SF12BW125) when ADR is not set.

I have a small sketch which sends console input to the modem to illustrate the problem:

Module version is: ARD-078 1.1.6
Successfully joined TTN
Enter command mode...

AT+ADR?
+OK=0
AT+DR?
0
AT+DR=5
+OK
AT+DR?
5
AT+SEND=1:*
+OK
AT+DR?
0

One can see that after the send the DataRate is reset to 0, and I can confirm from the TTN console where the packet is sent to that packet was sent with DR0 (SF12BW125).

When ADR is enabled, DataRate selection is working well -- e.g.:

AT+ADR=1
+OK
AT+ADR?
+OK=1
AT+DR=5
+OK
AT+DR?
5
AT+SEND=1:*
+OK
AT+DR?
5

DataRate stays at 5 and the TTN console reports DR5 (SF7BM125)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions