diff --git a/web/plates/js/status.js b/web/plates/js/status.js index 42e8a7eb..ccbe8f44 100644 --- a/web/plates/js/status.js +++ b/web/plates/js/status.js @@ -54,7 +54,15 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) { $scope.GPS_satellites_tracked = status.GPS_satellites_tracked; $scope.GPS_satellites_seen = status.GPS_satellites_seen; $scope.GPS_solution = status.GPS_solution; - $scope.GPS_position_accuracy = String(status.GPS_solution ? ", " + status.GPS_position_accuracy.toFixed(1) + " m" : " "); + switch(status.GPS_solution) { + case "Disconnected": + case "No Fix": + case "Unknown": + $scope.GPS_position_accuracy = ""; + break; + default: + $scope.GPS_position_accuracy = ", " + status.GPS_position_accuracy.toFixed(1) + " m"; + } var gpsHardwareCode = (status.GPS_detected_type & 0x0f); var tempGpsHardwareString = "Not installed"; switch(gpsHardwareCode) { @@ -84,7 +92,7 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) { tempGpsProtocolString = "NMEA protocol"; break; case 3: - tempGpsProtocolString = "UBX protocol"; + tempGpsProtocolString = "NMEA-UBX protocol"; break; default: tempGpsProtocolString = "Not communicating"; diff --git a/web/plates/status-help.html b/web/plates/status-help.html index bf12852b..138a3f68 100755 --- a/web/plates/status-help.html +++ b/web/plates/status-help.html @@ -1,12 +1,12 @@
The Status page provides an overview of your Stratux device.
-The current state of you device is shown at the top - Connected
in green or Disconected
in red.
Status of the connection to your device is shown at the top of the page: Connected
in green or Disconnected
in red.
Note: SDR and GPS devices must be manually enabled on the Settings page.
Depending on the hardware you have installed in your Stratux, status messages will be shown for the following:
Additional statistics listed include the number of detected software-defined radios (SDRs), number of current DHCP network clients, Stratux application uptime, the temperature of the Raspberry Pi CPU, and the total amount of available space on the micro SD card.