Andrew Boyson / gps

Dependencies:   net lpc1768 crypto clock web log

Files at this revision

API Documentation at this revision

Comitter:
andrewboyson
Date:
Mon Mar 25 10:36:19 2019 +0000
Parent:
45:3b70941589af
Child:
47:dcc812b80cf2
Commit message:
Updated libraries

Changed in this revision

http-base.lib Show annotated file Show diff for this revision Revisions of this file
http-derived/home/http-home-html.c Show annotated file Show diff for this revision Revisions of this file
http-derived/nmea/http-nmea-html.c Show annotated file Show diff for this revision Revisions of this file
lpc1768.lib Show annotated file Show diff for this revision Revisions of this file
net.lib Show annotated file Show diff for this revision Revisions of this file
--- a/http-base.lib	Thu Mar 21 11:22:16 2019 +0000
+++ b/http-base.lib	Mon Mar 25 10:36:19 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/andrewboyson/code/http-base/#bb34dbb26aae
+https://os.mbed.com/users/andrewboyson/code/http-base/#9ea202546e7f
--- a/http-derived/home/http-home-html.c	Thu Mar 21 11:22:16 2019 +0000
+++ b/http-derived/home/http-home-html.c	Mon Mar 25 10:36:19 2019 +0000
@@ -18,12 +18,12 @@
     PageAddH1(PageSite, "Home");
     
     PageAddH2("Status");
-    PageAddAjaxLed(10, "RTC is set"           , "ajax-rtc-set"    );
-    PageAddAjaxLed(10, "Clock is set"         , "ajax-clock-set"  );
-    PageAddAjaxLed(10, "PPS is stable"        , "ajax-pps-stable" );
-    PageAddAjaxLed(10, "NMEA is stable"       , "ajax-nmea-stable");
-    PageAddAjaxLed(10, "Rate synchronised"    , "ajax-rate-locked");
-    PageAddAjaxLed(10, "Time synchronised"    , "ajax-time-locked");
+    PageAddAjaxLed("RTC is set"           , "ajax-rtc-set"    );
+    PageAddAjaxLed("Clock is set"         , "ajax-clock-set"  );
+    PageAddAjaxLed("PPS is stable"        , "ajax-pps-stable" );
+    PageAddAjaxLed("Rate synchronised"    , "ajax-rate-locked");
+    PageAddAjaxLed("Time synchronised"    , "ajax-time-locked");
+    PageAddAjaxLed("NMEA is stable"       , "ajax-nmea-stable");
 
     PageAddH2("Server UTC time");
     HttpAddText("<div id='date-utc'></div>\r\n");
@@ -35,11 +35,11 @@
     HttpAddText("<div id='date-diff'></div>\r\n");    
     
     PageAddH2("UTC");
-    PageAddAjaxInputToggle(16, "Enable epoch change"      ,       "ajax-leap-enable"  , "chg-clock-leap-enable" );
-    PageAddAjaxInputToggle(16, "Direction of next epoch"  ,       "ajax-leap-forward" , "chg-clock-leap-forward");
-    PageAddAjaxInput      (12, "Year next epoch starts"   , 5.2 , "ajax-leap-year"    , "set-clock-leap-year"   );
-    PageAddAjaxInput      (12, "Month next epoch starts"  , 5.2 , "ajax-leap-month"   , "set-clock-leap-month"  );
-    PageAddAjaxInput      (12, "Current era offset"       , 5.2 , "ajax-leap-count"   , "set-clock-leap-count"  );
+    PageAddAjaxInputToggle("Enable epoch change"      ,    "ajax-leap-enable"  , "chg-clock-leap-enable" );
+    PageAddAjaxInputToggle("Direction of next epoch"  ,    "ajax-leap-forward" , "chg-clock-leap-forward");
+    PageAddAjaxInput      ("Year next epoch starts"   , 5, "ajax-leap-year"    , "set-clock-leap-year"   );
+    PageAddAjaxInput      ("Month next epoch starts"  , 5, "ajax-leap-month"   , "set-clock-leap-month"  );
+    PageAddAjaxInput      ("Current era offset"       , 5, "ajax-leap-count"   , "set-clock-leap-count"  );
 
     HttpAddText("<div><button type='button' onclick='DisplayLeap()'>Display Leap</button></div>\r\n");
     
--- a/http-derived/nmea/http-nmea-html.c	Thu Mar 21 11:22:16 2019 +0000
+++ b/http-derived/nmea/http-nmea-html.c	Mon Mar 25 10:36:19 2019 +0000
@@ -39,7 +39,7 @@
     
     PageAddH2("Sensor height");
     HttpAddText("<p>");
-    PageAddInputInt(15, "Sensor height above ground m", 2, GetSensorHeight(), "/nmea", "sensorheight");
+    PageAddInputInt("Sensor height above ground m", 2, GetSensorHeight(), "/nmea", "sensorheight");
     HttpAddText("</p>\r\n");
         
     HttpAddText("<p>Ground level above MSL m ");
@@ -47,14 +47,14 @@
     HttpAddText("</p>\r\n");
     
     PageAddH2("Trace");
-    if (GpsTrace    ) PageAddInputButton(10, "Trace gps is on",    "turn off", "/nmea",     "gpstrace");
-    else              PageAddInputButton(10, "Trace gps is off",   "turn on" , "/nmea",     "gpstrace");
-    if (GpsVerbose  ) PageAddInputButton(10, "Verbose gps is on",  "turn off", "/nmea",   "gpsverbose");
-    else              PageAddInputButton(10, "Verbose gps is off", "turn on" , "/nmea",   "gpsverbose");
-    if (NmeaMsgTrace) PageAddInputButton(10, "Trace msg is on",    "turn off", "/nmea", "nmeamsgtrace");
-    else              PageAddInputButton(10, "Trace msg is off",   "turn on" , "/nmea", "nmeamsgtrace");
-    if (NmeaCmdTrace) PageAddInputButton(10, "Trace cmd is on",    "turn off", "/nmea", "nmeacmdtrace");
-    else              PageAddInputButton(10, "Trace cmd is off",   "turn on" , "/nmea", "nmeacmdtrace");
+    if (GpsTrace    ) PageAddInputButton("Trace gps is on",    "turn off", "/nmea",     "gpstrace");
+    else              PageAddInputButton("Trace gps is off",   "turn on" , "/nmea",     "gpstrace");
+    if (GpsVerbose  ) PageAddInputButton("Verbose gps is on",  "turn off", "/nmea",   "gpsverbose");
+    else              PageAddInputButton("Verbose gps is off", "turn on" , "/nmea",   "gpsverbose");
+    if (NmeaMsgTrace) PageAddInputButton("Trace msg is on",    "turn off", "/nmea", "nmeamsgtrace");
+    else              PageAddInputButton("Trace msg is off",   "turn on" , "/nmea", "nmeamsgtrace");
+    if (NmeaCmdTrace) PageAddInputButton("Trace cmd is on",    "turn off", "/nmea", "nmeacmdtrace");
+    else              PageAddInputButton("Trace cmd is off",   "turn on" , "/nmea", "nmeacmdtrace");
 
     PageAddH2("ZDA timing bins");
     HttpAddText("<code>");
--- a/lpc1768.lib	Thu Mar 21 11:22:16 2019 +0000
+++ b/lpc1768.lib	Mon Mar 25 10:36:19 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/andrewboyson/code/lpc1768/#e96821af69e6
+https://os.mbed.com/users/andrewboyson/code/lpc1768/#3bfc3e170703
--- a/net.lib	Thu Mar 21 11:22:16 2019 +0000
+++ b/net.lib	Mon Mar 25 10:36:19 2019 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/andrewboyson/code/net/#a37eb35a03f1
+http://mbed.org/users/andrewboyson/code/net/#a7f026a09543