Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: net lpc1768 crypto clock web log
web-this/home/web-home-script.c@93:2cce06dd2bcc, 2020-04-03 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Apr 03 08:15:37 2020 +0000
- Revision:
- 93:2cce06dd2bcc
- Parent:
- 60:7cab896b0fd4
Increased NMEA confidence delay from 10 to 20 minutes after an incident where it took 13 minutes to settle.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 27:eb5728b9052b | 1 | #include "http.h" |
| andrewboyson | 27:eb5728b9052b | 2 | |
| andrewboyson | 27:eb5728b9052b | 3 | //Use http://tomeko.net/online_tools/cpp_text_escape.php to convert from text to c-multiline |
| andrewboyson | 27:eb5728b9052b | 4 | //Use http://tomeko.net/online_tools/cpp_text_unescape.php to convert from c-multiline to text |
| andrewboyson | 27:eb5728b9052b | 5 | |
| andrewboyson | 55:a1bd0572c8b6 | 6 | const char* WebHomeScriptDate = __DATE__; |
| andrewboyson | 55:a1bd0572c8b6 | 7 | const char* WebHomeScriptTime = __TIME__; |
| andrewboyson | 27:eb5728b9052b | 8 | |
| andrewboyson | 27:eb5728b9052b | 9 | static const char* script = |
| andrewboyson | 60:7cab896b0fd4 | 10 | #include "web-clock-class.inc" |
| andrewboyson | 60:7cab896b0fd4 | 11 | #include "../common/web-ajax-class.inc" |
| andrewboyson | 55:a1bd0572c8b6 | 12 | #include "web-home-script.inc" |
| andrewboyson | 27:eb5728b9052b | 13 | ; |
| andrewboyson | 55:a1bd0572c8b6 | 14 | void WebHomeScript() |
| andrewboyson | 27:eb5728b9052b | 15 | { |
| andrewboyson | 55:a1bd0572c8b6 | 16 | HttpOk("application/javascript; charset=UTF-8", "max-age=3600", WebHomeScriptDate, WebHomeScriptTime); |
| andrewboyson | 27:eb5728b9052b | 17 | HttpAddText(script); |
| andrewboyson | 27:eb5728b9052b | 18 | } |