RAK online compiler for you to compile your customized firmware based on RUI

Hi @leopold

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
Current Datarate: 1
Primeval Datarate: 5
ChannelsTxPower: 0
UpLinkCounter: 4963
DownLinkCounter: 5761
===================List End======================

Can you try changing the /etc/loraserver/loraserver.toml file and adding the following line?This closes the adr on the server side.

The gateway needs to be restarted after the change.

Hello, can i get access to the online compiler ?
name : Thomas IMPERY
mail : [email protected]
Module used : RAK5010

Thank you very much

Hi @exotic_thomas,

I’ve just sent an email to you, please check it.

Hi, I need access to online compiler.
name: Cosmo
mail: [email protected]
Module: RAK811

Hi @Fomi
I would like to apply for the Online compiler

Abdul Hadi
Email: [email protected]
Module: RAK5205

Hi @capodic @Abdul_Hadi,

I’ve just sent an email to you, please check.

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.:smile:

Hello, everyone!

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:
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.:slight_smile:

Hi Fomi;

I would like to apply Online compiler

Email: [email protected]
Module: RAK5205

Hi @JohnW,

I’ve just sent an email to you, please check.

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:

Prince [email protected]

Please Assist

Im getting this Error -> mkdir _build
CC gpio-board.c
CC board.c
CC i2c-board.c
CC adc-board.c
CC spi-board.c
CC timer-board.c
CC rtc-board.c
CC sx1276-board.c
…//Source/stm/STML151/board/board.c:16:10: fatal error: rui.h: No such file or directory
#include “rui.h” ^~~~~~~
compilation terminated.
stm/Makefile_stm32l151cb:246: recipe for target ‘_build/board.o’ failed
make: *** [_build/board.o] Error 1
make: *** Waiting for unfinished jobs…
Copying file 20.00%
Copying file 30.00%
Copying file 40.00%
Copying file 50.00%
Copying file 60.00%
Copying file 70.00%
Copying file 80.00%
Copying file 90.00%
Copying file 100.00%

Rui.h should be compiled in a zip package.

Hi @princerwsc,

Please update the source code of RUI product practice from Github, including rui.h, and try again.

Hi @Fomi,

I just compile a firmware 5205 from product practice applications by using Online compiler.

Then, I flashing this firmware into my 5205 module and it was successful. But the problem is the all readings from gps, LIS3DH and BME680 are zero.

Am I missing something here?
Thanks and regards

You need to update the code? Because the previous code has been modified. This may be the cause of the problem.

Hi @JohnW,

Please reset RAK5205 and have a look, then share me the log again.

I have try to flash the latest code but it is still the same

Serial port display after reset.

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.