Establishing a TCP/IP Connection with a Device Server

Setting up the Device Server for TCP/IP Communication

The simplest and most reliable way to set the DS up for TCP/IP communication is using the Connection Wizard .

Click Start > Programs > Tibbo > Connection Wizard:


Click Next.


Select Configure a Device Server for direct communications with an application on this PC. Click Next.


Click Select from the list.


Select the DS you would like to work with. If its IP address is invalid (it says so on the status bar), click Change IP.


Having made sure the IP of the device is correct, select the DS in the list, click Select to go back to the Wizard, and click Next.


Select Your application. Click Next.


Select TCP/IP transport protocol. Don't change the port, but remember it's 1001. You'll need this for later.


Set whatever serial parameters you need. Just remember what you set here, as you might need it for later (or for Establishing a Serial Connection with a Device Server). If you are going to perform a loopback test, set RTS/CTS flow control to Disabled or remote.


This is just a summary screen. Click Finish.

Now we know the IP address and port for this device server, and have set it so it would listen for incoming TCP connections. On to the next phase:

Setting up HyperTerminal for TCP/IP Communications

We resume from where we left off on Setting Correct Parameters on Startup . To establish a TCP/IP connection with the Device Server, open the drop-down titled Connect using , and select TCP/IP (Winsock) :


Next, enter the IP address and the port number we got earlier from the DS Manager:


Now click OK .

The following screen should appear:


Congratulations! You're connected. Continue to Sending Commands To the Device Server or Using HyperTerminal to Test a Connection .