Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

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?

UserRevisionLine numberNew 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 }