easyweb.h

来自「An example of TCP/IP stuff on msp430, ta」· C头文件 代码 · 共 37 行

H
37
字号
/****************************************************************** *****                                                        ***** *****  Name: easyweb.h                                       ***** *****  Ver.: 1.0                                             ***** *****  Date: November 2001                                   ***** *****  Auth: Andreas Dannenberg                              ***** *****  Func: header-file for easyweb.c                       ***** *****                                                        ***** ******************************************************************//* $Id: easyweb.h,v 1.1 2003/11/18 02:27:18 coppice Exp $ */#ifndef __EASYWEB_H#define __EASYWEB_Hconst unsigned char GetResponse[] =              // 1st thing our server sends to a client{  "HTTP/1.0 200 OK\r\n"                          // protocol ver 1.0, code 200, reason OK  "Content-Type: text/html\r\n"                  // type of data we want to send  "\r\n"                                         // indicate end of HTTP-header};void InitOsc(void);                              // prototypesvoid InitPorts(void);void HTTPServer(void);void InsertDynamicValues(void);unsigned int GetAD7Val(void);unsigned int GetTempVal(void);unsigned char *PWebSide;                         // pointer to websideunsigned int HTTPBytesToSend;                    // bytes left to sendunsigned char HTTPStatus;                        // status byte #define HTTP_SEND_PAGE               0x01        // help flag#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?