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@132:5b2df69a4f17, 2020-03-11 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Mar 11 08:28:53 2020 +0000
- Revision:
- 132:5b2df69a4f17
- Child:
- 143:cc2e148cb96a
Include TCP monitor
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 | 132:5b2df69a4f17 | 5 | |
| andrewboyson | 132:5b2df69a4f17 | 6 | void WebNetAjax() | 
| andrewboyson | 132:5b2df69a4f17 | 7 | { | 
| andrewboyson | 132:5b2df69a4f17 | 8 | HttpOk("text/plain; charset=UTF-8", "no-cache", NULL, NULL); | 
| andrewboyson | 132:5b2df69a4f17 | 9 | |
| andrewboyson | 132:5b2df69a4f17 | 10 | for (int b = 0; b < 6; b++) HttpAddByteAsHex(MacLocal[b]); | 
| andrewboyson | 132:5b2df69a4f17 | 11 | HttpAddChar('\n'); | 
| andrewboyson | 132:5b2df69a4f17 | 12 | HttpAddChar('\f'); | 
| andrewboyson | 132:5b2df69a4f17 | 13 | |
| andrewboyson | 132:5b2df69a4f17 | 14 | TcbSendAjax(); | 
| andrewboyson | 132:5b2df69a4f17 | 15 | } |