Running More Demo Programs With A Direct Connection; Where Do I Go From Here - Z-World Wolf BL2600 User Manual

C-programmable single-board computer with ethernet
Table of Contents

Advertisement

5.2.4 Running More Demo Programs With a Direct Connection

The program
(
) demonstrates how to make the
SSI.C
SAMPLES\BL2600\TCPIP\
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
macro in
TCPCONFIG 1
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
library.
TCP_CONFIG.LIB
The sample program
(
) allows you to send an E-mail
SMTP.C
SAMPLES\BL2600\TCPIP\
when a switch on the Demonstration Board is pressed. Follow the instructions included
with the sample program.
The sample program
(
) allows you to communi-
TELNET.C
SAMPLES\BL2600\TCPIP\
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 (
). As long as you have not modified the
Start > Run telnet 10.10.6.100
macro in the sample program, the IP address is 10.10.6.100 as shown;
TCPCONFIG 1
otherwise use the TCP/IP settings you entered in the
library. Each
TCP_CONFIG.LIB
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)
68

Advertisement

Table of Contents
loading

Table of Contents