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: 1-wire clock crypto fram log lpc1768 net web wiz mbed
web-this/system/web-system-ajax.c
- Committer:
- andrewboyson
- Date:
- 2022-11-12
- Revision:
- 8:8ac076ce51af
- Parent:
- 0:22b158d3c76f
File content as of revision 8:8ac076ce51af:
#include <stdint.h>
#include <stdio.h>
#include "http.h"
#include "values.h"
#include "fram.h"
void WebSystemAjax()
{
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 );
}