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.
Dependents: oldheating gps motorhome heating
base/net/web-net-ajax.c@147:ea6f647725a1, 2021-01-10 (annotated)
- Committer:
- andrewboyson
- Date:
- Sun Jan 10 11:53:12 2021 +0000
- Revision:
- 147:ea6f647725a1
- Parent:
- 146:6bc151bd7063
- Child:
- 153:eaee18d970c4
Added ability for the user to resolve a name.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 132:5b2df69a4f17 | 1 | |
| andrewboyson | 132:5b2df69a4f17 | 2 | #include "http.h" |
| andrewboyson | 132:5b2df69a4f17 | 3 | #include "mac.h" |
| andrewboyson | 132:5b2df69a4f17 | 4 | #include "tcb.h" |
| andrewboyson | 143:cc2e148cb96a | 5 | #include "nr.h" |
| andrewboyson | 146:6bc151bd7063 | 6 | #include "ar4.h" |
| andrewboyson | 146:6bc151bd7063 | 7 | #include "ar6.h" |
| andrewboyson | 132:5b2df69a4f17 | 8 | |
| andrewboyson | 132:5b2df69a4f17 | 9 | void WebNetAjax() |
| andrewboyson | 132:5b2df69a4f17 | 10 | { |
| andrewboyson | 132:5b2df69a4f17 | 11 | HttpOk("text/plain; charset=UTF-8", "no-cache", NULL, NULL); |
| andrewboyson | 132:5b2df69a4f17 | 12 | |
| andrewboyson | 132:5b2df69a4f17 | 13 | for (int b = 0; b < 6; b++) HttpAddByteAsHex(MacLocal[b]); |
| andrewboyson | 132:5b2df69a4f17 | 14 | HttpAddChar('\n'); |
| andrewboyson | 147:ea6f647725a1 | 15 | HttpAddText(NrTest); |
| andrewboyson | 147:ea6f647725a1 | 16 | HttpAddChar('\n'); |
| andrewboyson | 132:5b2df69a4f17 | 17 | HttpAddChar('\f'); |
| andrewboyson | 132:5b2df69a4f17 | 18 | |
| andrewboyson | 132:5b2df69a4f17 | 19 | TcbSendAjax(); |
| andrewboyson | 143:cc2e148cb96a | 20 | HttpAddChar('\f'); |
| andrewboyson | 143:cc2e148cb96a | 21 | |
| andrewboyson | 143:cc2e148cb96a | 22 | NrSendAjax(); |
| andrewboyson | 146:6bc151bd7063 | 23 | HttpAddChar('\f'); |
| andrewboyson | 146:6bc151bd7063 | 24 | |
| andrewboyson | 146:6bc151bd7063 | 25 | Ar4SendAjax(); |
| andrewboyson | 146:6bc151bd7063 | 26 | HttpAddChar('\f'); |
| andrewboyson | 146:6bc151bd7063 | 27 | |
| andrewboyson | 146:6bc151bd7063 | 28 | Ar6SendAjax(); |
| andrewboyson | 132:5b2df69a4f17 | 29 | } |