From fb795285ca99d2c7d66a0771b4859e1fa5967da1 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 24 Jul 2023 14:16:33 +0200 Subject: Add decode_gps.py experiment --- python/igate.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python/igate.py') diff --git a/python/igate.py b/python/igate.py index 91edbcc..7c2e131 100755 --- a/python/igate.py +++ b/python/igate.py @@ -26,6 +26,9 @@ APRS_IS_SERVER = "france.aprs2.net" APRS_IS_PORT = 8080 CALLSIGN = "HB9EGM-10" +# See https://github.com/aprsorg/aprs-deviceid/blob/main/ALLOCATING.md +APRS_DEVICEID = "APZEGM" + # 46°23.07' N 6°13.28' LATITUDE = "4623.07N" LONGITUDE = "00613.28E" @@ -132,7 +135,7 @@ try: if last_beacon_time + 1800 < now: last_beacon_time = now - packet = f"{CALLSIGN}>APLRG1,qAC:={LATITUDE}L{LONGITUDE}&{COMMENT}" + packet = f"{CALLSIGN}>{APRS_DEVICEID},qAC:={LATITUDE}L{LONGITUDE}&{COMMENT}" try: send_frame_to_aprs_is(packet.encode()) except Exception as ex: -- cgit v1.2.3