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/nmea/web-nmea-query.c@100:93f5b732f985, 2022-06-06 (annotated)
- Committer:
- andrewboyson
- Date:
- Mon Jun 06 11:10:58 2022 +0000
- Revision:
- 100:93f5b732f985
- Parent:
- 81:a1de28caf11a
Publishing prior to moving to new online compiler
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 | #include "settings.h" |
| andrewboyson | 81:a1de28caf11a | 3 | #include "gps.h" |
| andrewboyson | 27:eb5728b9052b | 4 | |
| andrewboyson | 55:a1bd0572c8b6 | 5 | void WebNmeaQuery(char* pQuery) |
| andrewboyson | 27:eb5728b9052b | 6 | { |
| andrewboyson | 27:eb5728b9052b | 7 | while (pQuery) |
| andrewboyson | 27:eb5728b9052b | 8 | { |
| andrewboyson | 27:eb5728b9052b | 9 | char* pName; |
| andrewboyson | 27:eb5728b9052b | 10 | char* pValue; |
| andrewboyson | 29:4fe0f237fd61 | 11 | pQuery = HttpQuerySplit(pQuery, &pName, &pValue); |
| andrewboyson | 27:eb5728b9052b | 12 | |
| andrewboyson | 43:bf39371b4576 | 13 | int value = HttpQueryValueAsInt(pValue); |
| andrewboyson | 81:a1de28caf11a | 14 | |
| andrewboyson | 81:a1de28caf11a | 15 | if (HttpSameStr(pName, "reset" )) GpsInit(); |
| andrewboyson | 35:a535b65203a9 | 16 | if (HttpSameStr(pName, "sensorheight")) SetSensorHeight(value); |
| andrewboyson | 35:a535b65203a9 | 17 | if (HttpSameStr(pName, "nmeamsgtrace")) ChgNmeaMsgTrace(); |
| andrewboyson | 35:a535b65203a9 | 18 | if (HttpSameStr(pName, "nmeacmdtrace")) ChgNmeaCmdTrace(); |
| andrewboyson | 35:a535b65203a9 | 19 | if (HttpSameStr(pName, "gpstrace")) ChgGpsTrace(); |
| andrewboyson | 36:2983e45eeb49 | 20 | if (HttpSameStr(pName, "gpsverbose")) ChgGpsVerbose(); |
| andrewboyson | 27:eb5728b9052b | 21 | } |
| andrewboyson | 27:eb5728b9052b | 22 | } |