Setup: OTAA, send interval 120s, auto send status true
Server: Chirpstack
Details: After you configure using RAK tool and test it, it sends for a while but stops sending automatically after 6-10 hours. Version 3.1.0.13. Next time we reset or connect again to serial port and do at+join it will join again and starts sending. We thought it was send only on movement so set this command send_interval:1:120 . Immediately after it was sending every 2 min but then it just stopped. Is there a config mistake?
The RAK7200 is a battery powered device, so once the battery is empty it stops working.
The send interval (2 minutes) can be changed with an AT command at+set_config=lora:send_interval:<status>:<interval>
Parameter
Description
status
Enable/disable the mechanism for sending data in intervals. 0: the device will not send data automatically. 1: the device will send data every ‘interval’ seconds.
interval
Time in seconds. This parameter is only valid if ‘status’ is set to 1.
You can stop the automatic sending by setting <status> to 0 like at+set_config=lora:send_interval:0:120000
But the RAK7200 does not support to send a packet after movement was detected by the accelerometer So when you disable the automatic sending, you will not get any packet from the device.
We followed your advice and changed it to 3600 sec interval. It was working fine from Aug 6 till 10th. Then suddenly there was lot of error with frame counter and then its stopped sending.
Also it never sends GPS data in Cayenne Format
{“analogInput”:{“10”:-78.3,“11”:-13.2,“8”:3.46,“9”:-46.2},“accelerometer”:{“3”:{“x”:-0.003,“y”:0.085,“z”:1.03}},“gyrometer”:{“5”:{“x”:-1.88,“y”:1.78,“z”:0.25}}}