Dependencies:   net 1-wire lpc1768 crypto clock web fram log

/media/uploads/andrewboyson/heating.sch

/media/uploads/andrewboyson/heating.brd

/media/uploads/andrewboyson/eagle.epf

http-derived/system/http-system-ajax.c

Committer:
andrewboyson
Date:
2019-04-26
Revision:
48:6eac12df3ad5
Parent:
47:229338b3adcb

File content as of revision 48:6eac12df3ad5:

#include  <stdint.h>
#include   <stdio.h>

#include "http.h"
#include "http-server.h"
#include "values.h"
#include "fram.h"

void HttpSystemAjax()
{
    HttpOk("text/plain; charset=UTF-8", "no-cache", NULL, NULL);
    
    HttpAddText      (ValuesGetServerName()  ); HttpAddChar('\n');
    HttpAddText      (ValuesGetFileName()    ); HttpAddChar('\n');
    HttpAddInt16AsHex(ValuesGetReadInterval()); HttpAddChar('\n');
    HttpAddInt16AsHex(ValuesGetWriteSize()   ); HttpAddChar('\n');
    HttpAddInt16AsHex(ValuesGetCount()       ); HttpAddChar('\n');
    HttpAddInt64AsHex(ValuesGetStartTime()   ); HttpAddChar('\n');
    HttpAddInt16AsHex(FramUsed               );
}