📄 abstract.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -