Send Error 87 with 7204 and 5205

sorry.I can’t see the content of the screenshot you sent. Can you send it once.

The screenshot was just showing the commands that Fomi Tong asked me to run in a previous email

I just saw that most of the info was cut off from my previous reply so here is the log again (appears that replying by email is a bit unreliable) == >

See log below. First did a restart to show error message, then ran commands and did a restart again but still got the error message.

at+set_config=device:restart

Wake up.

at+set_config=device:restart

OK,restart …

========================================================


| ___ / _ \ | | / / | | | (_) | |

| |/ / /\ | |/ / | | | |_ _ __ ___| | ___ ___ ___

| /| _ || \ | |/| | | '__/ _ \ |/ _ / __/ __|

| |\ | | | || |\ \ \ /\ / | | | __/ | /_ _ \

_| __| |/_| _/ / /||| ___||_||/__/

========================================================


RAK5205 Version:3.0.0.11.H


========================================================

Selected LoRaWAN 1.0.2 Region: AS923

BME680 init success.

LIS3DH init OK.

GPS Init OK.GPS timeout:100s

autosend_interval: 300s

Initialization OK,Current work_mode:LoRaWAN, join_mode:OTAA, Class: A

OTAA Join Start…

[LoRa]:Join retry Cnt:1

[LoRa]:Join retry Cnt:2

[LoRa]:Join retry Cnt:3

[LoRa]:Joined Successed!

Start Search Satellite(about 100 seconds) …

GPS data:latitude: -45.848523, longitude: 170.512635, altitude: 78.6m

Battery Voltage = 3.798 V

BME680 sensor data:

Humidity:45.437 %RH

Temperature:21.59 degree

Pressure:992.47 hPa

Gas_resistance: 13203 ohms

LIS3DH sensor data:ACC_X: 11mg, ACC_Y: 11mg, ACC_Z: -1004mg

[LoRa]: send error 87

Go to Sleep.

Wake up.

RAN COMMANDS AT THIS POINT

at+set_config=lora:adr:0
at+set_config=lora:dr:5

OK

OK

OK

at+set_config=device:restart

OK,restart …

========================================================


| ___ / _ \ | | / / | | | (_) | |

| |/ / /\ | |/ / | | | |_ _ __ ___| | ___ ___ ___

| /| _ || \ | |/| | | '__/ _ \ |/ _ / __/ __|

| |\ | | | || |\ \ \ /\ / | | | __/ | /_ _ \

_| __| |/_| _/ / /||| ___||_||/__/

========================================================


RAK5205 Version:3.0.0.11.H


========================================================

Selected LoRaWAN 1.0.2 Region: AS923

BME680 init success.

LIS3DH init OK.

GPS Init OK.GPS timeout:100s

autosend_interval: 300s

Initialization OK,Current work_mode:LoRaWAN, join_mode:OTAA, Class: A

OTAA Join Start…

[LoRa]:Join retry Cnt:1

[LoRa]:Join retry Cnt:2

[LoRa]:Join retry Cnt:3

[LoRa]:Joined Successed!

Start Search Satellite(about 100 seconds) …

GPS data:latitude: -45.848576, longitude: 170.512693, altitude: 145.4m

Battery Voltage = 3.805 V

BME680 sensor data:

Humidity:44.864 %RH

Temperature:23.56 degree

Pressure:992.47 hPa

Gas_resistance: 16572 ohms

LIS3DH sensor data:ACC_X: 12mg, ACC_Y: 12mg, ACC_Z: -1003mg

[LoRa]: send error 87

Go to Sleep.

at+get_config=lora:status

Wake up.

at+get_config=lora:status

OK.


==============LoRaWAN Status List================

Work Mode: LoRaWAN

Region: AS923

Send_interval: 300s

Auto send status: true.

Send_interval work at sleep

Join_mode: OTAA

DevEui: 60C5A8FFFE6D0051

AppEui: 00137A1000000000

AppKey: 5A6967426565416C6C69616E63653039

Class: A

Joined Network:true

IsConfirm: false

AdrEnable: false

EnableRepeaterSupport: false

RX2_CHANNEL_FREQUENCY: 923200000, RX2_CHANNEL_DR:2

RX_WINDOW_DURATION: 3000ms

RECEIVE_DELAY_1: 1000ms

RECEIVE_DELAY_2: 2000ms

JOIN_ACCEPT_DELAY_1: 5000ms

JOIN_ACCEPT_DELAY_2: 6000ms

Current Datarate: 2

Primeval Datarate: 2

ChannelsTxPower: 0

UpLinkCounter: 0

DownLinkCounter: 0

===================List End======================


I am having the exact same error (send error 87) with my 5205 and the 3.0.11H firmware. Since I can’t configure the LoRa packets, I am not sure how the packet can be too long.

Going to go back to 3.0.10H and to see if that works…

Just to confirm, the 3.0.10H version works fine. I wasn’t able to get the firmware to update w/o reinstalling the bootloader, but that is a different issue.

Looking forward to 3.0.12H… -:slight_smile:

image
When you send this command, this is what you get.You’d better check if the last command was sent successfully.
image

Hi!You can follow the instructions to upgrade.
Get_Start_with_RAK5205_WisTrio.pdf

Made sure to get the command to ‘stick’ this time, but still getting the error


==============LoRaWAN Status List================
Work Mode: LoRaWAN
Region: AS923
Send_interval: 1800s
Auto send status: true.
Send_interval work at sleep
Join_mode: OTAA
DevEui: 60C5A8FFFE766634
AppEui: 60C5A8FFFE766634
AppKey: 58EE8DEB338A7D8F047802F0039E8588
Class: A
Joined Network:true
IsConfirm: false
AdrEnable: true
EnableRepeaterSupport: false
RX2_CHANNEL_FREQUENCY: 923200000, RX2_CHANNEL_DR:2
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
===================List End======================


OTAA:
DevEui:60C5A8FFFE766634
AppEui:60C5A8FFFE766634
AppKey:58EE8DEB338A7D8F047802F0039E8588
OTAA Join Start…
OK
[LoRa]:Join retry Cnt:1
[LoRa]:Join retry Cnt:2
[LoRa]:Join retry Cnt:3
[LoRa]:Join retry Cnt:4
[LoRa]:Joined Successed!
Battery Voltage = 3.548 V
BME680 sensor data:
Humidity:44.217 %RH
Temperature:20.32 degree
Pressure:992.41 hPa
Gas_resistance: 17506 ohms

[LoRa]: send error 87
Go to Sleep.

Can you tell me which gateway server you are using?

I am using LoraServer

Which model of gateway is used?

RAK7258 Micro and RAK833/Raspberry Pi

After you issue these commands, you need to restart the device to rejoin.

ok will do. I notice that the nodes that have the error have very poor rssi even though they are only a few meters away from the gateway!

forward_crc_error is an error packet check that you can turn off

still has error even after restart. If 3.0.0.10 works I think I will revert back to that version

Commercial gateway, you need to close this ADR send, you try again. And we need to make sure that dr=5.

Note sure what you mean by ‘Commercial gateway’.

Have closed the ADR and tried a rejoin. Still get same result

Correction - it does work. I was using a different node and once set the dr to 5 it worked ok

Tried another two nodes and they both work as well - yahoo, great job.

Can you outline what the problem was and the solution?