SENA HD132x Series User Manual

Page 42

Advertising
background image

HD132x Series User Manual

42

2) Set System parameters

- Set [TCP mode] to "Client"

- Set [Server IP] to an IP address of the PC where the sample server program is running

- Set [Server PORT] to 6001.

- Other parameters remain the same as the sample in 5.2.1. Figure 5.7 is an example setup when

an IP address of the PC is 192.168.1.111.

- Press [Send].

Now the HelloDevice is set to function as TCP Client and to send data to a designated data server.

3) Set [Time] to "Serial Time Unlimited" in serial configuration of the HelloDevice and press

[Send] as shown in Figure 5.8.

The HelloDevice is set to keep TCP connection alive as long as the sever program does not close

the connection.

Figure 5.8 Setting [Time] to "Serial Time Unlimited"

4) Launch serial terminal program such as TeraTerm Pro.

5) Open “Client.dsw” file in “Client” folder and “Build” and “Run” the program.

6) While the sample program is running, send character strings from the serial terminal

program.

Advertising