Download presentation
Presentation is loading. Please wait.
1
HTTP Server Protocol Module :
This module is provided for applications needing the HTTP server function. This module implements a simple web server to support the application requirements for AX110xx reference designs. The web server allows the remote configuration of system settings via a web browser. This module mainly consists of HTTP protocol sub-module and web page sub-module, The first sub-module mainly implements HTTP protocol functions. The second sub-module mainly implements element handling functions and data structures for web pages.
2
The mfilesys.exe conversion tool is used to convert web pages into appropriate data structures and element handling functions in the format of C language. The conversion tool generates three C files, including filesys.c, web_fun.c and filesys.h. Below is an example describing procedure for using the conversion tool under a DOS console. We can start to add code into the web_fun.c source file to handle HTTP post information. In the web_fun.c source file, each element has a separate POST_Record structure and handling function
3
Embed web server into embedded device :
To implenment we can by following :
4
1. Compile Firmware Source Code :
Select Rebuild target on the Keil C to compile the firmware source code.
5
2. Program Firmware run time code onto AX110xx Flash memory
We can program the AX110xx Ethernet boot loader code onto AX110xx Flash memory by running the AX110xx Windows ISP tool.
6
3. Run Hyper Terminal application :
Run Hyper Terminal application to create a connection between AX110xx board and the Windows machine
7
4. Startup the TFTPD32 DHCP/TFTP Server utility :
Startup the DHCP/TFTP Server utility on the Windows machine and to configure the TFTPD32 DHCP Server.
8
5. Run the AX110xx Device Finder utility
we can run the Device Finder utility to search the AX110xx development board and enter the AX110xx web server by pressing the “Web Browser” button on the Device Finder main window.
9
5. Performance test Fig above displays the webpage of the home control network. The user can select one of the five control items currently and command the server to carry out the selected function. When we select one of the five option on the webpage via embedded devices we can turn on or turn off devices ex : lamp, fan, etc
10
II. Conclusion web server in the equipment can provide the unified browser-based operation and control interface through internet by using standard interface and communication protocol We designed an application architecture and built and demonstrated a prototype system that can integrate web servers to everyday appliances with embedded microcontrollers to control and manage them via web pages using regular web browsers over the Internet.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.