68
Wolf (BL2600)
5.2.4 Running More Demo Programs With a Direct Connection
The program
SSI.C
(
SAMPLES\BL2600\TCPIP\
) demonstrates how to make the
BL2600 a Web server. This program allows you to turn the LEDs on an attached Demon-
stration Board from the Tool Kit on and off from a remote Web browser. The LEDs on the
Demonstration Board match the ones on the Web page. Follow the instructions included
with the sample program. As long as you have not modified the
TCPCONFIG 1
macro in
the sample program, enter the following server address in your Web browser to bring up
the Web page served by the sample program.
http://10.10.6.100.
Otherwise use the TCP/IP settings you entered in the
TCP_CONFIG.LIB
library.
The sample program
SMTP.C
(
SAMPLES\BL2600\TCPIP\
) allows you to send an E-mail
when a switch on the Demonstration Board is pressed. Follow the instructions included
with the sample program.
The sample program
TELNET.C
(
SAMPLES\BL2600\TCPIP\
) allows you to communi-
cate with the BL2600 using the Telnet protocol. This program takes anything that comes
in on a port and sends it out Serial Port C. It uses a digital input to indicate that the TCP/IP
connection should be closed and a digital output to toggle a LED to indicate that there is
an active connection.
Follow the instructions included with the sample program. Run the Telnet program on
your PC (
Start > Run
telnet 10.10.6.100
). As long as you have not modified the
TCPCONFIG 1
macro in the sample program, the IP address is 10.10.6.100 as shown;
otherwise use the TCP/IP settings you entered in the
TCP_CONFIG.LIB
library. Each
character you type will be printed in Dynamic C's
STDIO
window, indicating that the
board is receiving the characters typed via TCP/IP.
5.3 Where Do I Go From Here?
NOTE:
If you purchased your BL2600 through a distributor or Z-World partner, contact
the distributor or Z-World partner first for technical support.
If there are any problems at this point:
•
Check the Z-World Technical Bulletin Board at www.zworld.com/support/bb/.
•
Use the Technical Support e-mail form at www.zworld.com/support/.
If the sample programs ran fine, you are now ready to go on.
Additional sample programs are described in the
Dynamic C TCP/IP User’s Manual
.
Refer to the
Dynamic C TCP/IP User’s Manual
to develop your own applications.
An
Introduction to TCP/IP
provides background information on TCP/IP, and is available on
Z-World’s Web site.
Содержание Wolf BL2600
Страница 1: ...Wolf BL2600 C Programmable Single Board Computer with Ethernet User s Manual 019 0142 040731 B ...
Страница 36: ...32 Wolf BL2600 ...
Страница 66: ...62 Wolf BL2600 ...
Страница 100: ...96 Wolf BL2600 ...
Страница 104: ...100 Wolf BL2600 ...
Страница 106: ......