Welcome to the WisLora wiki!
The WisLora is WisAp and Lora gateway, here to use RAK831
Connect RAK831 To WisAp
RAK831 WisAp 5V <===> 5V GND <===> GND RST <===> GPIO0 SCK <===> SPI_CLK CSN <===> SPI_CS MISO <===> SPI_MISO MOSI <===> SPI_MOSI
Before you get started, let's review what you'll need.
- WisAp development board - Buy at Rakwireless - wisapBoard
- Micro-USB power cable
- Lora Gateway - RAK831
Step 1: Clone SDK
Open terminal, and type the following:
cd Desktop git clone https://github.com/RAKWireless/WisCore-SDK.git
Step 2: to set compile environment
Before you run make, you need to set compile environment for the products you use with envsetup.sh, now we want to use the wisap, so we should choose wisAp products types.
cd ~/Desktop/WisCore-SDK ./build/envsetup.sh wisLora hgw
Step 3: Run Make to compile
Finally compiled generated files firmware in the folder out/target/bin
Note: if you have selected the product and want to comiple other product,you need "make clean" then rebuild
Burn firmware to the board
cp ~/Desktop/WisCore-SDK/out/target/bin/firmware /windows/
To Use LoraGW
- Register an account in The Things Network Control, then login and register gateway
- Click "GATEWAYS"
- Click "register gateway"
- Fill in, "Gateway EUI" is unique and must consist of exactly 8 bytes hexadecimal, and choose "Frequency Plan", here use 868MHz
- Click "Register Gateway"
- Finally you will see the gateway overview, and Status is not connected
Connect RAK831 to WisAp
Power on, then setup wifi
Check the connection of RAK831 and WisAp, excute:
It will display:
if failed, you need check the connnection, or you can restart lora gateway
- Change the ID and Service
in the configures, you should change the ID which you have registered "Gateway EUI", and you can use lora servece, here service is "router.as1.thethings.network", port is "1700"
Start Lora Gateway
Finally you can see the Status is connected in the gateway overview, then the gateway will be started and you can use it.