Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
Main Page
Related Pages
Demos
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
web_html.h
Go to the documentation of this file.
1
2
3
#define HTTP_HEAD "HTTP/1.1 200 OK\r\nContent-type: text/html\r\n\r\n"
4
5
6
7
#define LOGIN "\
8
<html>\
9
<head>\
10
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\
11
<title>Freescale LwIP httpserver test </title>\
12
</head>\
13
</body>\
14
<br><center><h2>Freescale</h2>\
15
<br><center><b>**********Freescale LwIP httpserver test ************</b>\
16
<form action=\"login\" method=\"post\">\
17
<p> name:\
18
<input type=\"text\" name=\"UserName\">\
19
<p> password:\
20
<input type=\"password\" name=\"PassWord\">\
21
<p><input type=\"submit\" value=\"login\"> \
22
</form>\
23
</body> \
24
</html>\
25
"
26
27
#define COMMAND_A "\
28
<html>\
29
<head>\
30
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\
31
<title>Freescale LwIP httpserver test </title>\
32
</head>\
33
</body>\
34
<br><center><h2>Freescale</h2>\
35
<br><center><b>***********Freescale LwIP httpserver test ***********</b>\
36
<br><br><br><center><b>***********£¡£¡£¡login successful£¡£¡£¡***********</b>\
37
<br><br><br>command status: <input type=\"button\" id=\"b1\" style=\"background:#0000FF\" value=\"A\" > \
38
<form name=\"input\" action=\"/html/html_form_action.asp\" method=\"post\">\
39
<br>send A<input type=\"radio\" name=\"CMD_CTRL\" value=\"A\" checked=\"checked\">\
40
<br/>\
41
<br>send B<input type=\"radio\" name=\"CMD_CTRL\" value=\"B\">\
42
<br><br><center><input type =\"submit\" value =\"control\">\
43
</body> \
44
</html>\
45
"
46
47
#define COMMAND_B "\
48
<html>\
49
<head>\
50
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\
51
<title>Freescale LwIP httpserver test </title>\
52
</head>\
53
</body>\
54
<br><center><h2>Freescale</h2>\
55
<br><center><b>***********Freescale LwIP httpserver test ***********</b>\
56
<br><br><br><center><b>***********£¡£¡£¡login successful£¡£¡£¡***********</b>\
57
<br><br><br>command status: <input type=\"button\" id=\"b1\" style=\"background:#DCDCDC\" value=\"B \" > \
58
<form name=\"input\" action=\"/html/html_form_action.asp\" method=\"post\">\
59
<br>send A<input type=\"radio\" name=\"CMD_CTRL\" value=\"A\" checked=\"checked\">\
60
<br/>\
61
<br>send B<input type=\"radio\" name=\"CMD_CTRL\" value=\"B\" checked=\"checked\">\
62
<br><br><center><input type =\"submit\" value =\"control\">\
63
</body> \
64
</html>\
65
"
66
Mon Apr 27 2015 © 2015 Freescale Semiconductor, Inc. All rights reserved.