RAK7431 Randomly losing connection to gateway/server

We are having trouble with several of our RAK 7431 Modbus-LoRaWAN gateways. They are suddenly not responding (sending messages nor receiving commands). This typically happens during stress-testing with several devices sending lots of data to a few gateways.

RAK firmware version: 1.1.0063_Release

  • We’ve already checked the RAK forum (RAK7431 WARNING:DROP LORAWAN REQUEST among others), and there seems to be some issues with devices losing connection with the gateway/server
  • We have tried restarting the server, sending restart command etc, etc. but the only way to get the device back is reset the device (by button or power-cycling)
  • Sending restart command (Port 130, BASE64: ‘HwABAAA=’, Hex: ‘1f 00 01 00 00’) works fine if the device is connected (and otherwise operating correctly), but will not reset devices that are “dead”

Using 2 gateways quite close in an office environment:

  • Dragino DLOS8
  • RAK2245 RPi HAT Edition

Server: Chirpstack (self-hosted)

Server device profile configuration:

  • LoRaWAN MAC Version: 1.0.2
  • LoRaWAN Regional Parameters revision: A

Device configuration:

AT+FACTORY
AT+DEVEUI
AT+ECHO=0
AT+REGION=EU868
AT+JOINMODE=OTAA
AT+CLASS=C
AT+APPEUI=xxxxxxxxxxxxxxxxxx
AT+APPKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AT+CONFIRM=0
AT+BAUDRATE=9600
AT+DATABIT=8
AT+PARITY=NONE
AT+STOPBIT=1
AT+DTUMODE=MODBUS
AT+MODBUSTIMEOUT=1000
AT+TRANSPARENT=0
AT+MODBUSRETRY=1
AT+POLLPERIOD=60
AT+ENABLEPOLL=1
AT+ADDPOLL=04:0104000c0002B1C8
AT+ADDPOLL=05:0104015600029027
AT+ADDPOLL=08:0204000c0002B1FB
AT+ADDPOLL=09:0204015600029014
AT+ADDPOLL=12:0304000c0002B02A
AT+ADDPOLL=13:03040156000291C5
AT+ADDPOLL=16:0404000c0002B19D
AT+ADDPOLL=17:0404015600029072
AT+ADDPOLL=127:0001000000083C1D
AT+RESTART

This seems to be an issue on several different RAK-modules. Could it be that some of the base library/firmware/kernel is the same?

RAK issued an “Workaround” firmware for the 7204 with the posibility to automatically reboot the device at a given interval:

1 Like