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.
easyweb.h
00001 /****************************************************************** 00002 ***** ***** 00003 ***** Name: easyweb.h ***** 00004 ***** Ver.: 1.0 ***** 00005 ***** Date: 07/05/2001 ***** 00006 ***** Auth: Andreas Dannenberg ***** 00007 ***** HTWK Leipzig ***** 00008 ***** university of applied sciences ***** 00009 ***** Germany ***** 00010 ***** Func: header-file for easyweb.c ***** 00011 ***** ***** 00012 ******************************************************************/ 00013 00014 #ifndef __EASYWEB_H 00015 #define __EASYWEB_H 00016 00017 const unsigned char GetResponse[] = // 1st thing our server sends to a client 00018 { 00019 "HTTP/1.0 200 OK\r\n" // protocol ver 1.0, code 200, reason OK 00020 "Content-Type: text/html\r\n" // type of data we want to send 00021 "\r\n" // indicate end of HTTP-header 00022 }; 00023 void start(void); 00024 void InitOsc(void); // prototypes 00025 void InitPorts(void); 00026 void HTTPServer(void); 00027 void InsertDynamicValues(void); 00028 unsigned int GetAD7Val(void); 00029 unsigned int GetTempVal(void); 00030 00031 unsigned char *PWebSide; // pointer to webside 00032 unsigned int HTTPBytesToSend; // bytes left to send 00033 00034 unsigned char HTTPStatus; // status byte 00035 #define HTTP_SEND_PAGE 0x01 // help flag 00036 00037 #endif 00038
Generated on Tue Jul 12 2022 22:58:15 by
1.7.2