This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
* | |
* Copyright (c) 2015 Thomas Telkamp | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* 2019 - Cees Meijer. - Added a Carriage return to the JSON output so it can be read by the lorawan_gateway.py program. | |
* Set 'is_pizero' to true to enforce the Pi Zero. (line 103) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""" | |
Raspberry Pi Single Channel Gateway | |
Learn Guide: https://learn.adafruit.com/raspberry-pi-single-channel-lorawan-gateway | |
Author: Brent Rubell for Adafruit Industries | |
Modified for Console output only - 2019 Cees Meijer | |
""" | |
# Import Python System Libraries | |
import sys | |
import json |