kampi
(Daniel Kampert)
October 11, 2021, 3:11pm
1
Hello,
I have created a module to communicate with a RAK3172
LoRa module and the command AT+DR=0
is returning AT_ERROR
when I use the following initialization sequence.
RAK3172_SendCommand("AT+NWM=1")
RAK3172_SendCommand("AT+CLASS=" + String(Class))
RAK3172_SendCommand("AT+BAND=" + String((uint8_t)BAND_EU868))
RAK3172_SetTxPwr(16)
RAK3172_SendCommand("AT+DR=0")
What is the problem with this sequence?
carlrowan
(Carl Rowan)
October 11, 2021, 5:37pm
2
Welcome to RAK forum @kampi
Regarding AT+DR=0
error, can you check if your ADR is ON via AT+ADR=?
?
1 Like
beegee
(Bernd Giesecke)
October 12, 2021, 1:09am
3
kampi:
RAK3172_SetTxPwr(16)
In LoRaWAN mode allowed TX power is 0 (strongest) to 10 (weakest). Unless your function is translating the 16 into 0 (max power for EU868) this is the culprit.
kampi
(Daniel Kampert)
October 12, 2021, 3:18am
4
Hi,
the function will translate the Tx power from dB to the value range 0...10
for the RAK.
carlrowan
(Carl Rowan)
October 12, 2021, 4:52am
5
@kampi ,
Have you checked the ADR? If it is ON, you cannot configure the DR to specific setting.
system
(system)
Closed
October 14, 2021, 4:52am
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.