RUI open source examples
This repository collects open source examples of the RAKWireless LoRa module. It includes the application layer code of the module's standard firmware, and examples of using the RUI API based on the standard firmware. Customers can choose the corresponding sample code according to module models and application requirements. Hence, facilitate customer functional prototype verification and improve development efficiency.
The examples supported by each module are shown below:
Example | RAK811 | RAK4200 | RAK4270 | RAK4600 |
---|---|---|---|---|
LoRaWAN configuration | Done | Done | Done | Done |
LoRaWAN automatically join and send data | Done | Done | Done | Done |
LoRaWAN downlink | Done | Done | Done | Done |
LoRaWAN long packet | Done | Done | Done | Done |
LoRa P2P Send | Done | Done | Done | Done |
LoRa P2P Recv | Done | Done | Done | Done |
LoRa P2P Send_Recv | Done | Done | Done | Done |
UART | Done | Done | Done | N/A |
GPIO Input/output | Done | Done | Done | Done |
GPIO Interrupt | Done | Done | Done | Done |
Timer | Done | Done | Done | Done |
I2C | Done | Done | Done | Done |
FLASH | Done | Done | Done | Done |
ADC | Done | Done | Done | N/A |
PWM | Done | N/A | N/A | N/A |
AT_Command | Done | Done | Done | Done |
BLE-Scanner | N/A | N/A | N/A | Done |
BLE-Central | N/A | N/A | N/A | Done |
This repository is open to application layer code, which needs to be compiled using the online compilation environment provided by RAKWireless.
The URL of the online compilation environment is https://build.rakwireless.com.
Please refer to the following document for the method of compilation and firmware update: https://docs.rakwireless.com/RUI/
Please note: The rui.h
file in the common folder must be packaged and compiled together with the source code file.