abstract.txt
来自「LPC2368 网络服务器程序」· 文本 代码 · 共 39 行
TXT
39 行
This is a HTTP Server example. It shows you how to use the
Web Server CGI interface as well.
Use this example to connect MCB2300 Board to a LAN with DHCP
server (most LANs have this). This example will configure the
LAN network parameters automatically using a DHCP protocol.
You may connect MCB2300 Board to PC directly over a crosslink
network cable. In this case configure a PC to use a static
IP address 192.168.0.1
If after a timeout of 5 seconds DHCP did not obtain an IP address,
this example will use a static IP address 192.168.0.100
The WEB pages are included into the project under HTTP Files
group. You can simply add or remove a page or image. Web files
which are compiled into the project are added to the 'Web.inp'
Web Converter input file.
To test this example, open your web browser and enter the
address http://mcb2300/ or http://<boards IP address>
Default user : admin
Default password: <none>
You can change the password at runtime on page 'system'
The HTTP_demo example is available for several targets:
MCB2300: Standalone (no RTX Kernel) application.
Program code is loaded into on-chip flash.
MCB2300 Debug: Standalone (no RTX Kernel) with debug output.
Debug level configured in Net_Debug.c configuration file.
Connect a serial cable to RS232 COM1 port to view
output messages using HyperTerminal at 115200 baud,
8-bits, no parity, 1 stop bit, XON/XOFF.
MCB2300 RTX: The same example configured for RTX Kernel.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?