I use RAK811 Breakout Board. I try load this example https://github.com/RAKWireless/Products_practice_based_on_RUI/tree/master/based%20on%20RAK811, but i can undestend how its work. i load bin files but nothing happens. MY code:
#include “rui.h”
#include “board.h”
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_lora_set_region(EU868);
rui_lora_set_work_mode(RUI_LORAWAN);
rui_lora_set_dev_eui(uint8_t *dev_eui);
rui_lora_set_app_eui(uint8_t *app_eui);
rui_lora_set_app_key(uint8_t *app_key);
rui_lora_set_join_mode(RUI_OTAA);
rui_lora_join();
rui_lora_set_dr(0x05);
rui_lora_send(2,“AABBCC”,3);
How use rui API ??? the code throws an error in RUI online compel(http://47.112.137.11:12090/#/projectList/ruiProject)