www.dragino.com
LG01-N/OLG01-N Gateway User Manual
24 / 61
4.3
Create LoRa End Node
4.3.1
About Limited support for LoRaWAN
LG01N supports LoRaWAN End Node, in LoRaWAN protocol, it requires LoRaWAN node to send
data in a hopping frequency. Since LG01N only support one single frequency, it will only be able
to receive the packet which is of the same radio parameters in LG01N.
For example, in EU868, a standard LoRaWAN device may send the data in eight frequencies with
different Frequency & SF, such as:
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI); // g-band
LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI); // g2-band
So the LG01N will only able to receive the
868100000, SF7
packet and will not receive others.
Means only one packet will arrive the TTN server in every 8 packet sent from the LoRaWAN end
node.
If user want all the packets from LoRaWAN end device can arrive LoRaWAN server, user need to
set up the LoRaWAN node to send packet in a single frequency.
In this section, we will use LoRa Shield and a modify LMIC Library to show how to configure
LoRaWAN end node and work in single frequency.