User`s manual

68 MiniCore RCM5600W
Each serial port can be associated with a specific TCP port. The Rabbit will listen on
each of these TCP ports for a connection, which will then be associated with a specific
serial port. Data will then be shuttled between the serial and Wi-Fi connections.
Before you compile and run this sample program, define the _PRIMARY_STATIC_IP
and IFC_WIFI_SSID in the sample program to match your network settings.
Now compile and run this 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. Remember to configure the access point to match the
default settings of the TCPCONFIG 1 macro.
http://10.10.6.100.
Select the serial port settings in the Web browser. You may leave the TCP port and baud
rate settings at their defaults, then set 8 data bits, no parity, and 1 stop bit. Click
Submit
to save the changed settings.
Now start a Telnet seession to associate a serial port with a TCP port is with telnet:
Open a cmd window via Run > cmd and type telnet 10.10.6.100 4567 at the prompt to
associate Serial Port C, for example, where 4567 was the TCP port assigned to Serial
Port C in the previous setup performed via the Web browser.
Next, open a serial utility such as Tera Term or Hyperterminal configured to match the
settings selected via the Web browser. Finally, use the 10-pin to DB9 serial cable
included with the Deluxe Devlopment Kit to connect the PC serial port selected in your
serial utility to header J4 (Serial Port C) or header J3 (Serial Port D), depending on the
TCP port selected for the Telnet session. As you type characters in the Telnet utility
window, you will be able to observe them in the serial utility window, and vice versa.