diff --git a/data_gateway.py b/data_gateway.py index 6c017f0..5b8522d 100644 --- a/data_gateway.py +++ b/data_gateway.py @@ -1339,7 +1339,7 @@ def aprs_rx(aprs_rx_login, aprs_passcode, aprs_server, aprs_port, aprs_filter, u logger.info(e) def aprs_beacon_send(): - beacon_packet = CONFIG['GPS_DATA']['APRS_LOGIN_CALL'] + '>APHBL3,TCPIP*:!' + CONFIG['GPS_DATA']['IGATE_LATITUDE'] + str(CONFIG['GPS_DATA']['IGATE_BEACON_ICON'][0]) + CONFIG['GPS_DATA']['IGATE_LONGITUDE'] + str(CONFIG['GPS_DATA']['IGATE_BEACON_ICON'][1]) + '/' + CONFIG['GPS_DATA']['IGATE_BEACON_COMMENT'] + beacon_packet = CONFIG['DATA_CONFIG']['APRS_LOGIN_CALL'] + '>APHBL3,TCPIP*:!' + CONFIG['DATA_CONFIG']['IGATE_LATITUDE'] + str(CONFIG['DATA_CONFIG']['IGATE_BEACON_ICON'][0]) + CONFIG['DATA_CONFIG']['IGATE_LONGITUDE'] + str(CONFIG['DATA_CONFIG']['IGATE_BEACON_ICON'][1]) + '/' + CONFIG['DATA_CONFIG']['IGATE_BEACON_COMMENT'] aprs_send(beacon_packet) logger.info(beacon_packet) diff --git a/web/app.py b/web/app.py index 5f372a4..1300be7 100644 --- a/web/app.py +++ b/web/app.py @@ -4462,6 +4462,8 @@ Name: ''' + p.name + '''  -  Port: ''' + str(

Add options for Data Gateway

+Note: If IP/DNS is left blank, this server will not be listed on the Passphrase(s) page. This can be used to hide a server that users shouldn't connect to directly, such as a data gateway. +

 

Server

@@ -4669,6 +4671,9 @@ Name: ''' + p.name + '''  -  Port: ''' + str( # Add new server elif request.args.get('add'): # == 'yes': content = ''' + +Note: If IP/DNS is left blank, this server will not be listed on the Passphrase(s) page. This can be used to hide a server that users shouldn't connect to directly, such as a data gateway. +

 

Server

diff --git a/web/templates/data_gateway_wizard.html b/web/templates/data_gateway_wizard.html index 49bd469..a302425 100644 --- a/web/templates/data_gateway_wizard.html +++ b/web/templates/data_gateway_wizard.html @@ -6,6 +6,9 @@
Note: Setting the APRS Login Call to N0CALL will disable APRS features. You will still be able to see station positions on the map though. + +Note: Setting iGate Time to 0 will disable beaconing of iGate packets. +

diff --git a/web/templates/map.html b/web/templates/map.html index b64552f..cfdef58 100644 --- a/web/templates/map.html +++ b/web/templates/map.html @@ -10,19 +10,16 @@ Red = Peer location (no APRS) -Blue = GPS location (APRS) + Blue = GPS location (APRS) - -
-
+
{{markup_content}}
-

 

{% endblock %}