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.
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.
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,
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?
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
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