RAK2560 Sensor Hub does not send data

Hi everyone!

I have a RAK2560 WisNode Sensor Hub as well as a RAK gateway.
I successfully added them to TTN. The sensor first sent data for a few minutes before stopping until I selected join network from WisToolBox, after which it kept transmitting data for a few minutes before stopping until I selected join network.
Recently, even when I select Join Network, no data is sent. The sensor just sends the join request.
This is a picture of the application live data.

When I try to use specific AT commands in WisToolBox, there seem to be some issues, but as a beginner, I’m not sure what the problem is or how I can fix it. I Also try to update the firmware but the problem remained.

This is the AT command, I hope it is useful.

AT+JOIN=?
OK
+EVT:JOINED
AT+SEND=12:112233
OK
AT+NJS=1
AT_ERROR
AT+NJM=1
AT_ERROR

This is the log file after updating the firmware. I hope it is useful.

{
  "system": {
    "wistoolboxVersion": "1.21.4",
    "systemVersion": "16.6.1",
    "os": "ios",
    "buildNumber": "293"
  },
  "deviceInfo": {
    "modelName": "rak2560",
    "modelID": "",
    "atVersion": "1.5.7_SENSOR_HUB_C",
    "firmwareVersion": "",
    "disconnectedAt": "",
    "connectedAt": "2023-10-27T12:49:21.003Z",
    "serialNumber": "-"
  },
  "commands": [
    {
      "command request": "ATC+PRD_INFO=?",
      "time": "2023-10-27T12:49:20.882Z"
    },
    {
      "command response": "ATC+PRD_INFO=VF:V1.2.6:ac1f09fffe08f3a3:RAK2560-hub:918100Q66030901001:C",
      "time": "2023-10-27T12:49:20.939Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:20.944Z"
    },
    {
      "command request": "AT+NWM=?",
      "time": "2023-10-27T12:49:21.204Z"
    },
    {
      "command response": "AT+NWM=1",
      "time": "2023-10-27T12:49:21.266Z"
    },
    {
      "command response": "AT+NWM=1",
      "time": "2023-10-27T12:49:21.269Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:21.271Z"
    },
    {
      "command request": "AT+CLASS=?",
      "time": "2023-10-27T12:49:21.478Z"
    },
    {
      "command response": "AT+CLASS=A",
      "time": "2023-10-27T12:49:21.536Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:21.539Z"
    },
    {
      "command request": "ATC+PRD_INFO=?",
      "time": "2023-10-27T12:49:21.745Z"
    },
    {
      "command response": "ATC+PRD_INFO=VF:V1.2.6:ac1f09fffe08f3a3:RAK2560-hub:918100Q66030901001:C",
      "time": "2023-10-27T12:49:21.812Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:21.816Z"
    },
    {
      "command request": "ATC+PRB_CNT=?",
      "time": "2023-10-27T12:49:22.015Z"
    },
    {
      "command response": "ATC+PRB_CNT=1:1",
      "time": "2023-10-27T12:49:22.081Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:22.083Z"
    },
    {
      "command request": "AT+BAT=?",
      "time": "2023-10-27T12:49:22.284Z"
    },
    {
      "command response": "AT+BAT=3.304688",
      "time": "2023-10-27T12:49:22.348Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:22.351Z"
    },
    {
      "command request": "ATC+LPWAN=?",
      "time": "2023-10-27T12:49:22.585Z"
    },
    {
      "command response": "ATC+LPWAN=1",
      "time": "2023-10-27T12:49:22.647Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:22.649Z"
    },
    {
      "command request": "AT+NJM=?",
      "time": "2023-10-27T12:49:22.855Z"
    },
    {
      "command response": "AT+NJM=1",
      "time": "2023-10-27T12:49:22.915Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:22.919Z"
    },
    {
      "command request": "AT+BAND=?",
      "time": "2023-10-27T12:49:23.129Z"
    },
    {
      "command response": "AT+BAND=",
      "time": "2023-10-27T12:49:23.186Z"
    },
    {
      "command response": "4",
      "time": "2023-10-27T12:49:23.190Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:23.192Z"
    },
    {
      "command request": "AT+CHE=?",
      "time": "2023-10-27T12:49:23.396Z"
    },
    {
      "command response": "AT_ERROR",
      "time": "2023-10-27T12:49:23.455Z"
    },
    {
      "command request": "AT+APPEUI=?",
      "time": "2023-10-27T12:49:23.664Z"
    },
    {
      "command response": "AT+APPEUI=",
      "time": "2023-10-27T12:49:23.730Z"
    },
    {
      "command response": "AC",
      "time": "2023-10-27T12:49:23.732Z"
    },
    {
      "command response": "1F",
      "time": "2023-10-27T12:49:23.734Z"
    },
    {
      "command response": "09",
      "time": "2023-10-27T12:49:23.736Z"
    },
    {
      "command response": "FF",
      "time": "2023-10-27T12:49:23.738Z"
    },
    {
      "command response": "F8",
      "time": "2023-10-27T12:49:23.740Z"
    },
    {
      "command response": "68",
      "time": "2023-10-27T12:49:23.742Z"
    },
    {
      "command response": "25",
      "time": "2023-10-27T12:49:23.744Z"
    },
    {
      "command response": "60",
      "time": "2023-10-27T12:49:23.746Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:23.756Z"
    },
    {
      "command request": "AT+APPKEY=?",
      "time": "2023-10-27T12:49:23.934Z"
    },
    {
      "command response": "AT+APPKEY=",
      "time": "2023-10-27T12:49:23.997Z"
    },
    {
      "command response": "AC",
      "time": "2023-10-27T12:49:23.999Z"
    },
    {
      "command response": "1F",
      "time": "2023-10-27T12:49:24.001Z"
    },
    {
      "command response": "09",
      "time": "2023-10-27T12:49:24.004Z"
    },
    {
      "command response": "FF",
      "time": "2023-10-27T12:49:24.006Z"
    },
    {
      "command response": "FE",
      "time": "2023-10-27T12:49:24.008Z"
    },
    {
      "command response": "08",
      "time": "2023-10-27T12:49:24.010Z"
    },
    {
      "command response": "F3",
      "time": "2023-10-27T12:49:24.012Z"
    },
    {
      "command response": "A3",
      "time": "2023-10-27T12:49:24.014Z"
    },
    {
      "command response": "AC",
      "time": "2023-10-27T12:49:24.027Z"
    },
    {
      "command response": "1F",
      "time": "2023-10-27T12:49:24.029Z"
    },
    {
      "command response": "09",
      "time": "2023-10-27T12:49:24.031Z"
    },
    {
      "command response": "FF",
      "time": "2023-10-27T12:49:24.033Z"
    },
    {
      "command response": "F8",
      "time": "2023-10-27T12:49:24.035Z"
    },
    {
      "command response": "68",
      "time": "2023-10-27T12:49:24.037Z"
    },
    {
      "command response": "25",
      "time": "2023-10-27T12:49:24.039Z"
    },
    {
      "command response": "60",
      "time": "2023-10-27T12:49:24.041Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:24.043Z"
    },
    {
      "command request": "AT+APPSKEY=?",
      "time": "2023-10-27T12:49:24.235Z"
    },
    {
      "command response": "AT+APPSKEY=",
      "time": "2023-10-27T12:49:24.297Z"
    },
    {
      "command response": "6F",
      "time": "2023-10-27T12:49:24.300Z"
    },
    {
      "command response": "66",
      "time": "2023-10-27T12:49:24.303Z"
    },
    {
      "command response": "EE",
      "time": "2023-10-27T12:49:24.305Z"
    },
    {
      "command response": "F9",
      "time": "2023-10-27T12:49:24.308Z"
    },
    {
      "command response": "EF",
      "time": "2023-10-27T12:49:24.311Z"
    },
    {
      "command response": "B6",
      "time": "2023-10-27T12:49:24.314Z"
    },
    {
      "command response": "2E",
      "time": "2023-10-27T12:49:24.317Z"
    },
    {
      "command response": "ED",
      "time": "2023-10-27T12:49:24.319Z"
    },
    {
      "command response": "18",
      "time": "2023-10-27T12:49:24.327Z"
    },
    {
      "command response": "83",
      "time": "2023-10-27T12:49:24.331Z"
    },
    {
      "command response": "F7",
      "time": "2023-10-27T12:49:24.333Z"
    },
    {
      "command response": "87",
      "time": "2023-10-27T12:49:24.335Z"
    },
    {
      "command response": "2E",
      "time": "2023-10-27T12:49:24.338Z"
    },
    {
      "command response": "42",
      "time": "2023-10-27T12:49:24.341Z"
    },
    {
      "command response": "24",
      "time": "2023-10-27T12:49:24.344Z"
    },
    {
      "command response": "49",
      "time": "2023-10-27T12:49:24.346Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:24.349Z"
    },
    {
      "command request": "AT+DEVADDR=?",
      "time": "2023-10-27T12:49:24.565Z"
    },
    {
      "command response": "AT+DEVADDR=",
      "time": "2023-10-27T12:49:24.628Z"
    },
    {
      "command response": "26",
      "time": "2023-10-27T12:49:24.631Z"
    },
    {
      "command response": "0B",
      "time": "2023-10-27T12:49:24.634Z"
    },
    {
      "command response": "5D",
      "time": "2023-10-27T12:49:24.636Z"
    },
    {
      "command response": "29",
      "time": "2023-10-27T12:49:24.639Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:24.642Z"
    },
    {
      "command request": "AT+DEVEUI=?",
      "time": "2023-10-27T12:49:24.835Z"
    },
    {
      "command response": "AT+DEVEUI=",
      "time": "2023-10-27T12:49:24.896Z"
    },
    {
      "command response": "AC",
      "time": "2023-10-27T12:49:24.899Z"
    },
    {
      "command response": "1F",
      "time": "2023-10-27T12:49:24.902Z"
    },
    {
      "command response": "09",
      "time": "2023-10-27T12:49:24.905Z"
    },
    {
      "command response": "FF",
      "time": "2023-10-27T12:49:24.908Z"
    },
    {
      "command response": "FE",
      "time": "2023-10-27T12:49:24.911Z"
    },
    {
      "command response": "08",
      "time": "2023-10-27T12:49:24.913Z"
    },
    {
      "command response": "F3",
      "time": "2023-10-27T12:49:24.916Z"
    },
    {
      "command response": "A3",
      "time": "2023-10-27T12:49:24.918Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:24.943Z"
    },
    {
      "command request": "AT+NWKSKEY=?",
      "time": "2023-10-27T12:49:25.135Z"
    },
    {
      "command response": "AT+NWKSKEY=",
      "time": "2023-10-27T12:49:25.199Z"
    },
    {
      "command response": "1C",
      "time": "2023-10-27T12:49:25.202Z"
    },
    {
      "command response": "69",
      "time": "2023-10-27T12:49:25.205Z"
    },
    {
      "command response": "11",
      "time": "2023-10-27T12:49:25.208Z"
    },
    {
      "command response": "D0",
      "time": "2023-10-27T12:49:25.211Z"
    },
    {
      "command response": "3E",
      "time": "2023-10-27T12:49:25.214Z"
    },
    {
      "command response": "98",
      "time": "2023-10-27T12:49:25.217Z"
    },
    {
      "command response": "5F",
      "time": "2023-10-27T12:49:25.220Z"
    },
    {
      "command response": "69",
      "time": "2023-10-27T12:49:25.222Z"
    },
    {
      "command response": "55",
      "time": "2023-10-27T12:49:25.226Z"
    },
    {
      "command response": "FB",
      "time": "2023-10-27T12:49:25.229Z"
    },
    {
      "command response": "DA",
      "time": "2023-10-27T12:49:25.232Z"
    },
    {
      "command response": "74",
      "time": "2023-10-27T12:49:25.234Z"
    },
    {
      "command response": "E4",
      "time": "2023-10-27T12:49:25.237Z"
    },
    {
      "command response": "3B",
      "time": "2023-10-27T12:49:25.239Z"
    },
    {
      "command response": "E7",
      "time": "2023-10-27T12:49:25.242Z"
    },
    {
      "command response": "B5",
      "time": "2023-10-27T12:49:25.245Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:25.248Z"
    },
    {
      "command request": "AT+JOIN=?",
      "time": "2023-10-27T12:49:25.465Z"
    },
    {
      "command response": "AT+JOIN=0:1:8:10",
      "time": "2023-10-27T12:49:25.528Z"
    },
    {
      "command response": "AT_ERROR",
      "time": "2023-10-27T12:49:25.531Z"
    },
    {
      "command request": "AT+NJS=?",
      "time": "2023-10-27T12:49:25.735Z"
    },
    {
      "command response": "AT+NJS=1",
      "time": "2023-10-27T12:49:25.798Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:25.801Z"
    },
    {
      "command request": "AT+ADR=?",
      "time": "2023-10-27T12:49:26.004Z"
    },
    {
      "command response": "AT+ADR=1",
      "time": "2023-10-27T12:49:26.065Z"
    },
    {
      "command response": "AT+ADR=1",
      "time": "2023-10-27T12:49:26.068Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:26.070Z"
    },
    {
      "command request": "AT+CFM=?",
      "time": "2023-10-27T12:49:26.246Z"
    },
    {
      "command response": "AT+CFM=1",
      "time": "2023-10-27T12:49:26.306Z"
    },
    {
      "command response": "AT+CFM=1",
      "time": "2023-10-27T12:49:26.311Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:26.314Z"
    },
    {
      "command request": "AT+CFS=?",
      "time": "2023-10-27T12:49:26.514Z"
    },
    {
      "command response": "AT+CFS=0",
      "time": "2023-10-27T12:49:26.579Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:26.582Z"
    },
    {
      "command request": "AT+BUILDTIME=?",
      "time": "2023-10-27T12:49:26.784Z"
    },
    {
      "command response": "AT+BUILDTIME=20230816-052459",
      "time": "2023-10-27T12:49:26.847Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:26.851Z"
    },
    {
      "command request": "AT+CLIVER=?",
      "time": "2023-10-27T12:49:27.055Z"
    },
    {
      "command response": "AT+CLIVER=1.5.5",
      "time": "2023-10-27T12:49:27.116Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:27.119Z"
    },
    {
      "command request": "ATC+PRB_CNT=?",
      "time": "2023-10-27T12:49:27.324Z"
    },
    {
      "command response": "ATC+PRB_CNT=1:1",
      "time": "2023-10-27T12:49:27.387Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:27.390Z"
    },
    {
      "command request": "ATC+PRB_INFO=1?",
      "time": "2023-10-27T12:49:27.595Z"
    },
    {
      "command response": "ATC+PRB_INFO=1:VC:V1.2.76:RAK2560-probe:00210:AB",
      "time": "2023-10-27T12:49:27.656Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:27.660Z"
    },
    {
      "command request": "ATC+PRB_INFO=1?",
      "time": "2023-10-27T12:49:27.835Z"
    },
    {
      "command response": "ATC+PRB_INFO=1:VC:V1.2.76:RAK2560-probe:00210:AB",
      "time": "2023-10-27T12:49:27.897Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:27.900Z"
    },
    {
      "command request": "ATC+SNSR_CNT=1?",
      "time": "2023-10-27T12:49:28.080Z"
    },
    {
      "command response": "ATC+SNSR_CNT=1:4:1:2:3:4",
      "time": "2023-10-27T12:49:28.136Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:28.138Z"
    },
    {
      "command request": "ATC+SNSR_CNT=1?",
      "time": "2023-10-27T12:49:28.316Z"
    },
    {
      "command response": "ATC+SNSR_CNT=1:4:1:2:3:4",
      "time": "2023-10-27T12:49:28.381Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:28.384Z"
    },
    {
      "command request": "ATC+SNSR_CONF=1?",
      "time": "2023-10-27T12:49:28.554Z"
    },
    {
      "command response": "ATC+SNSR_CONF=1:0:60:0",
      "time": "2023-10-27T12:49:28.616Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:28.620Z"
    },
    {
      "command request": "AT+JOIN",
      "time": "2023-10-27T12:49:46.676Z"
    },
    {
      "command response": "OK",
      "time": "2023-10-27T12:49:46.739Z"
    }
  ]
}

This is the log file before updating the firmware

Could you please help me with this problem?

Do you observe the duty cycle for for the device and gateway? In EU868 devices are only allowed to send a small amount of time. Once you exceed it the device must wait. This applies to both the end device and the gateway. Your gateway is probably not able to respond because it has used all airtime it is allowed to.
With LoRaWAN you need to think one transmission per 30 minutes or more, not multiple transmissions per minute which your statement seems to imply.

Thank you for your response @kersing .

The sensor sends data once every minute. It sometimes stops sending after five minutes, and sometimes after thirty minutes. However, except for the join request, it no longer sends any data. I have another sensor that sends data once per minute, and I am not experiencing this issue.

Please read the Fair Use Policy and make sure you adhere to it.

What is the distance to your gateway? What are RSSI and SNR values for the join requests you see at TTN?

Sure! I’ll keep an eye on that.

I tried putting the devices near together and far apart, but neither worked.

There are different SNR and RSSI values.
This is a screenshot of the gateway live data.

@naqiteam Looking at the number of downlinks you have/are sending & rate of uplink/downlink I dont think you are? Dont just keep an eye on it - per Jac - Adhere to it, please. Max 10 per day and think more like 10 per fortnight or per month!

Your power levels lookt o be going up and down wildly - 16dbm = eu type limits 29dbm = more like US. Where are you? What freq plan are you following. With your RSSI & SNR level I would have expected far better than SF12 to be used (helps wth FUP and on air time also). L-A has guidance limiting having devices join ar SF11/12…

Might you be in S.Arabia? If so this link may be of interest.

Please confirm (and evidence) you are now following FUP…otherwise MODS will silence thread.

Given the frequency of downlinks for that gateway it won’t be able to transmit all the packets and adhere to the legal limits.

Can you check the log of the gateway itself to see what it reports?

You were asked what distance - no numbers forthcoming.

You were asked to adhere to the FUP and you say you’ll keep an eye on it.

You are asking volunteers for help with using a shared free server network - please be precise and clearly demonstrate that you are adhering to the FUP.

i have a similar issue but in this case ttn doesnt reconize de sensor


why?

Look at the RSSI values! (and search this forum for high RSSI).

Have you used the correct payload formatter?

Have a look here: RAK2560 APP for ttn server - #14 by Nicholas - TTN - RAKwireless Forum

I will be implementing the RAK2560 in the Device Repository soon as well, so that hopefully shouldnt be a problem after that.

Does RAK2560 allow user set the period of sensor sampling? Could user check the device log in the RAK2560?
We need to check the RAK2560 generate the sensor data as the period ? or the sensor data doesn’t send to gateway?