Have been running the RAK811 code for a few days and it’s working well and sleeping as it should now that I am using class A.
However, there is still the issue with the DR creeping down back to 1 and stopping communications even though ADR is turned off.
Please examine my settings, see that ADR enabled is false and DR is 1. Once I set DR back to 2 or higher it communicates again, but evenually makes it’s way back to 1 and stops.
Is this a problem in the RUI code? I guess I could work around it by setting the DR back up if it is detected to be 1.
==============LoRaWAN Status List================
Work Mode: LoRaWAN
Region: AS923
Send_interval: 60s
Auto send status: true.
Send_interval work at sleep
Join_mode: OTAA
DevEui: 60C5A8FFF9237205
AppEui: 60C5A8FFF9237205
AppKey: 65B994FAE3F8A68CB7A1F4A13FC70422
Class: A
Joined Network:true
IsConfirm: true
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: 1
Primeval Datarate: 5
ChannelsTxPower: 0
UpLinkCounter: 4963
DownLinkCounter: 5761
===================List End======================
BTW, we’ve developed a simple web version online compiler which will be easier than the current commandline fomat. We’ll share it soon, please wait for my news in RAK forum and this topic.
Thank you for using RAK products.
RAK team has developed a simple web version RUI online compiler which is much easier to use than the commandline compiler: http://47.112.137.11:12090/#/user/login
You can create an account by yourself now. More details, please have a look at the document “How to use RUI online compiler”:
The commandline compiler will be there for a long time until you think the web compiler is easier than the commandline compiler.
Also, we’ve shared a simple web compiler yesterday, and you can use it too. You can create an account by yourself. You can have a look at this topic for more details:
Yes, it works well now. The current error message 82 is because that you haven’t set DEV_EUI, APP_EUI, and APP_KEY.
About the issue “LIS3DH and BME680 are zero”, i’ve ever met too, it only occur at the first time after you compile a new firmware. So if you meet it, just reset.