Tcp Client Mode Example - Wiznet W7500S2E-R1 User Manual

Ethernet module
Hide thumbs Also See for W7500S2E-R1:
Table of Contents

Advertisement

6.5.2 TCP client mode example

AT\r\n
OK\r\n
AT+ECHO=1\r\n
[ECHO] Value is: 1\r\n
AT+C1_OP=1 \r\n
[C1_OP] Value is: 1\r\n
OK\r\n
AT+IP_MODE=1\r\n
[IP_MODE] Value is: 1\r\n
OK\r\n
AT+C1_PORT=5000\r\n
[C1_PORT] Value is: 5000\r\n
OK\r\n
AT+C1_CLI_IP1=192.168.1.99\r\n
[C1_CLI_IP1] Value is: 192.168.1.99\r\n
OK\r\n
AT+C1_CLI_PP1=5000\r\n
[C1_CLI_PP1] Value is: 5000\r\n
OK\r\n
AT+EXIT\r\n
W7500S2E-R1 user manual
W7500S2E-R1 serial to Ethernet module
//Operating mode in TCP Client mode
//Save the settings and switch to data mode
33
//Terminal check
//ECHO "ON"
//Set into DHCP mode
//Set the local port number
//Set the remote host IP address
//Set the remote host port number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents