RAK4270 - Error 82

Issue: After programming the deveui and appkey - an Error 82 (The Lora Parameters are invalid) is generated when trying to join Lora network

Setup: Any firmware revision : V3.3.0.15 , V3.3.0.16 and V3.3.0.18

Details: A new RAK4720 will join the LoRa network without any problem in the default OTAA mode

After programming the RAK4270 the Error 82 Occurs. Reflashing the RAK4270 with the same firmware version or a different firmware version does not overcome the error.
Using the command at+set_config=lora:default_parameters also does not overcome the error 82.

Programming Sequence

at+set_config=device:sleep:0
OK Wake Up
at+set_config=lora:dev_eui:6xxxxxxxxxxxxx8
OK
at+set_config=lora:dev_addr:00000000
OK
at+set_config=lora:app_eui:0000000000000000
OK
at+set_config=lora:app_key:566B59703273357638792F423F452848
OK
at+set_config=lora:apps_key:566B59703273357638792F423F452848
OK
at+set_config=lora:nwks_key:566B59703273357638792F423F452848
OK
at+set_config=lora:join_mode:0
OK
at+set_config=lora:confirm:0
OK
at+set_config=lora:adr:1
OK
at+set_config=lora:region:EU868
OK
at+set_config=lora:class:0
OK
at+set_config=lora:dr:5
OK
Restarting Lora

Reading RAK4270
at+set_config=device:sleep:0
OK Wake Up
at+version
OK V3.3.0.15
at+set_config=device:restart
at+get_config=lora:status
OK Work Mode: LoRaWAN
Region: EU868
MulticastEnable: false
DutycycleEnable: false
Send_repeat_cnt: 0
Join_mode: OTAA
DevEui: 6xxxxxxxxxxxxx8
AppEui: 0000000000000000
AppKey: 566B59703273357638792F423F452848
Class: A
Joined Network:false
IsConfirm: unconfirm
AdrEnable: true
EnableRepeaterSupport: false
RX2_CHANNEL_FREQUENCY: 869525000, RX2_CHANNEL_DR:0
RX_WINDOW_DURATION: 3000ms
RECEIVE_DELAY_1: 1000ms
RECEIVE_DELAY_2: 2000ms
JOIN_ACCEPT_DELAY_1: 5000ms
JOIN_ACCEPT_DELAY_2: 6000ms
Current Datarate: 5
Primeval Datarate: 5
ChannelsTxPower: 0
UpLinkCounter: 0
DownLinkCounter: 0

OK

Hi @dingoxx ,

Can you share me more details when Error 82 occurs? In the sequence of command you posted, everything seems ok. I will check and report to the team if anything needs to be fixed.

Problem Solved

The appeui field needs setting . The recommendation is to set it the same as the deveui .

Hi Carl

The Error 82 occurs immediately after at+join command

I was using the RAK documentation “RAK4270 Module AT Command Manual Introduction,pdf” and I also check on line documentation

at+set_config=lora:app_eui:0000000000000000
OK
Error 82 immediately after at+join

at+set_config=lora:app_eui:0000000000000001
OK
at+join
OK (successful)

There does not seem to be any warning about setting app_eui to 000’s in the latest on line RAK4270 documentation ?

KR

Paul

Hi @dingoxx ,

You cannot use APPEUI all zero’s in RAK4270. I will update the documentation to add that note. I understand that this has been an issue specially with the all zero APPEUI recommendation in TTN V3.

Thank You for the update Carl

1 Like