mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
fixing some bugs
This commit is contained in:
parent
f87494293f
commit
eb3fe327c7
|
|
@ -3,7 +3,7 @@
|
|||
default: install test
|
||||
|
||||
install:
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
test:
|
||||
ESP_PORT=/dev/ttyUSB0 pytest tests -v
|
||||
ESP_PORT=/dev/ttyUSB0 pytest tests -v
|
||||
|
|
|
|||
|
|
@ -73,11 +73,12 @@ def APRSIS():
|
|||
return aprs
|
||||
|
||||
|
||||
aprs = AprsIs("OE5BPA-1", passwd="22948",
|
||||
# host="localhost", port=10152)
|
||||
host="rotate.aprs.net", port=10152)
|
||||
aprs.connect()
|
||||
while True:
|
||||
line = list(aprs._get_line())
|
||||
if len(line) > 0:
|
||||
print(line)
|
||||
#aprs = AprsIs("OE5BPA-1", passwd="22948",
|
||||
# # host="localhost", port=10152)
|
||||
# host="rotate.aprs.net", port=10152)
|
||||
#aprs.connect()
|
||||
#while True:
|
||||
# line = list(aprs._get_line())
|
||||
# if len(line) > 0:
|
||||
# print(line)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue