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

Thanks for the updated source code. I will try to compile it.

Hi,
I have the RAK4260 on the RAK5005 development board.
Am I able to use the online compiler for this module too? Is this the practice for the RAK4200?

I have tried the demo application on the module, but it will not connect on AS923, I just get DENIED for t he join status. The application keys and euis are set correctly.

So I would like to try the RUI API instead

Thanks,
John

Hi @John_NZ,

RAK4260 uses Microchip MCU while RAK4200 uses STM32 MCU, so they are different.
For RUI online compiler, it hasn’t supported RAK4260 now. So you can’t use RUI online compiler to customize RAK4260 firmware. :slight_smile:

Hi @Fomi

Thanks for that. Do you what toolchain is used to compile on the RAK4260 demo that is in github?

Cheers,
John

Hi @John_NZ,

We’ll update the Github readme to give the link of the toolchain.

this program do not work
How write network settings in these examples??

Hi @oleksander,

The network setting are LoRa dev_eui, app_eui, and app_key, right?
There are many RUI APIs can be used to set them, for example, if you want to set dev_eui, you just need to use this API:
https://doc.rakwireless.com/developer-tools/developer-tools/rui-lora-set-device-eui

Just find have a look at these APIs and find them in our sample source code, maybe it will be helpful for you.

This my code

#include “rui.h”
#include “board.h”

int main(void)
{
int i;
static RUI_RETURN_STATUS rui_return_status;
RUI_LORA_STATUS_T app_lora_status; //record status

rui_lora_get_status(false,&app_lora_status);;//The query gets the current device status
static uint8_t sensor_data_cnt=0;  //send data counter by LoRa

rui_init();

void rui_uart_recv(RUI_UART1, 2, 1)

while (1) {

  rui_lora_get_status(false,&app_lora_status);//The query gets the current status
  rui_running();

  for(i=0;i<0x100000;i++);
  rui_lora_set_region(EU868);
  for(i=0;i<0x800000;i++);
  rui_lora_set_work_mode(RUI_LORAWAN);
  for(i=0;i<0x800000;i++);
  rui_lora_set_dev_eui("003EBD495B106225");
  for(i=0;i<0x800000;i++);
  rui_lora_set_app_eui("70B3D57ED0027A86");
  for(i=0;i<0x800000;i++);
  rui_lora_set_app_key("B09751554689810EC3907461A97F29ED");
  for(i=0;i<0x800000;i++);
  rui_lora_set_join_mode(RUI_OTAA);
  for(i=0;i<0x800000;i++);
  rui_lora_join();
  for(i=0;i<0x800000;i++);
  rui_lora_set_dr(0x05);
  for(i=0;i<0x800000;i++);

  rui_lora_send(2,"AABBCC",3);

}
}

THen i use RUI** Online Compiler and a result i get

…//Source/stm/STML151/application/main.c: In function ‘main’:
…//Source/stm/STML151/application/main.c:15:32: error: expected ‘)’ before numeric constant
void rui_uart_recv(RUI_UART1, 2, 1)
^
stm/Makefile_stm32l151cb:246: recipe for target ‘_build/main.o’ failed

Hi Fomi.
I want access to the compiler

Mustafa
Email: [email protected]
module: Wisnode LoRa updated to last firmware update

  • 8 module RAK 811
  • 6 WisTRIO RAK 5205

Hi @Mustafa,

Please have a look at this topic firstly:

You’ll find that you can get an account by yourself now. ~~

1 Like

Hi,
I’m working on customizing my own firmware for RAK5205 and I’m newbie for this module. Before this, I was used product practice based RUI(RAK811) on this module and it is working fine.But, for my own firmware I want to get all sensor readings displays on serial port every 5 minutes. It is possible?which part of the product practice should be edited?

Thanks,
Hadi

Hi @Abdul_Hadi,

If you only want to get all sensors’s data and display them on serial port every 5 minutes, i think you can use AT command, no need to do customization actually.
The AT command is:
at+set_config=lora:send_interval:1:300

Hi @Fomi

I thought that I could create an account through the Online Compiler but the verification code is not working so could you create one please ?

Thanks.

Hello, @Yoann
I just sent you an email. :smile:

Hello @ZhuQI
Thank you :smiley:

Hi,
I would like access to online compiler.
name: s agi
mail: [email protected]
Module: RAK5205

Thanks

Hi,
I would like access to online compiler.
name: crosadini
mail: [email protected]
Module: RAK5205

@sagis @crosadini
Hello!You can visit http://47.112.137.11:12090 and apply for an account on your own

For more information you can refer to RUI online compiler (web version)

Hello Fomi,

We have bought two RAK 7200 trackers (waiting for more 4) and we would like to customize the to our needs.
i would like to apply for the Online compiler

Name: Eduardo Pinto
Email: [email protected]
Module: RAK7200

King regards,
Eduardo PInto

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.