www.dragino.com
LG02 LoRa Gateway User Manual
54 / 63
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 LG02 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 wants to receive all packets from LoRaWAN end node, user needs to set up the LoRaWAN
node to send packets in a single frequency.
4/ Downlink & OTAA issue
According to the LoRaWAN class A spec, the end node will open two receive windows to get the
message from LoRaWAN server for OTAA or downlink function. These two receive windows are
quite short (milliseconds), if LoRa packet from the gateway can’t reach End Node in the receive
window time, the end node won’t get the rx message and Downlink / OTAA won’t work.
In our LoRaWAN example, the Arduino LMIC library is modified to enlarge the RX window to let
OTAA & downlink works.