2 when the hellodevice is tcp client – SENA HD132x Series User Manual

Page 41

Advertising
background image

HD132x Series User Manual

41

5.2.2 When the HelloDevice is TCP Client

This is the case when the HelloDevice is TCP Client and the sample program on the PC TCP Server.

The scenario of the sample program is as follows:

1. The serial device sends data to the HelloDevice through serial ports.

2. The HelloDevice receives data from the serial device.

3. The HelloDevice connects to the PC over the Internet. The IP address of the PC is stored in the

HelloDevice.

4. The HelloDevice sends data to the PC over the Internet.

5. The PC receives data from the HelloDevice over the Internet.

6. The PC resends data to the HelloDevice over the Internet.

1) Connect serial ports of HelloDevice and the PC with the serial cable.

Figure 5.7 Setting [TCP Mode] of the HelloDevice to "Client"

Advertising