These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
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 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 17:28:08 by 1.7.2