www.dragino.com
LG02 LoRa Gateway User Manual
55 / 63
13.4
Can I develop my own application for LG02?
Yes, the fastest way to develop own software is through the SDK. The instruction is here:
https://github.com/dragino/openwrt_lede-18.06/blob/master/README.md#how-to-develop-a-c
-software-before-build-the-image
13.5
Can I make my own firmware for LG02? Where can I find the source code of
LG02?
Yes, User can make own firmware for LG02 for branding purpose or add customized application.
The LG012source code and compile instruction can be found at:
https://github.com/dragino/openwrt_lede-18.06
13.6
Can I change the LoRa behavior of LG02?
Yes, Developer can change the LoRa control behavior of LG02. The source code of the LoRa
https://github.com/dragino/dragino-packages/tree/lg02/lg02-pkt-fwd
And the compile method can refer:
13.7
On OTAA mode, if I use the other frequency, how should I modify in the
library?
In page
OTAA
, We use frequency 904.6Mhz for sending. According the LoRaWAN protocol, if the
device Join the network successfully, the server will downlink the reply. The different intervals of
frequency, the receiving frequency of the end node is also different.
Ex1: We use 914.2Mhz frequency.
We can input the command: logread -f
We should modify this on <lorabase.h>, save and re-upload the sketch.
For the result: