§ Set the LoRaWAN channels • LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI) § Set the transmit power and spreading factor • LMIC_setDrTxpow(DR_SF7,14) § Read the sensor data • analogRead(light_pin) § Send the data (periodically) to the gateway • LMIC_setTxData2 E2E LoRaWAN [email protected] 8
from Semtech Packet Forwarder • https://github.com/hallard/single_chan_pkt_fwd § Working features • Listen on configurable frequency and spreading factor • SF7 to SF12 • Status updates • Can forward to two servers E2E LoRaWAN [email protected] 10
data received by the gateway(s) and the scheduling of downlink data transmissions § lora-app-server • Node identification • Handling of received application payloads and the downlink application payload queue (MQTT) • Web-interface and API (RESTful JSON and gRPC) § lora-gateway-bridge • Abstracting the packet_forwarder UDP protocol into JSON over MQTT • Enabling to use MQTT for receiving data from and sending data to your gateways. E2E LoRaWAN [email protected] 12