Skip to content

LoRaWANGatewayService

Craig Hesling edited this page Sep 12, 2017 · 2 revisions

Command Line Invocation

lora-gateway-bridge --mqtt-server "tls://openchirp.andrew.cmu.edu:1883" --mqtt-prefix "<openchirp_device_endpoint>" --mqtt-username "<openchirp_device_id>" --mqtt-password "<openchirp_device_token>"

Systemd Environment Variables

lora-gateway-bridge.env:

# Configures the LoRa Gateway Bridge
# This environemt file is used by the systemd loragatewaybridge service.

#UDP_BIND=0.0.0.0:1700

# Use tcp://host:port to use standard non-TLS connection
MQTT_SERVER=tls://openchirp.andrew.cmu.edu:1883
MQTT_PREFIX="<openchirp_device_endpoint>"
MQTT_USERNAME="<openchirp_device_id>"
MQTT_PASSWORD="<openchirp_device_token>"

# Log level can be one of the following:
# 5=debug, 4=info, 3=warning, 2=error, 1=fatal, 0=panic
LOG_LEVEL=0