AT Command Examples of WT32-ETH01 Wired Module - v1.1
AT Command Examples of WT32-ETH01 Wired Module - v1.1
Version 1.1
Contents
Wired Network............................................................................................................................2
WiFi Connection.......................................................................................................................10
HTTP Request...........................................................................................................................18
2. Set up DHCP
AT+CWDHCP_DEF=3,0
Response:
OK
3. Set IP address
AT+CIPETH_DEF="192.168.0.7","192.168.0.1","255.255.255.0"
Response:
OK
Note:
When setting to static IP , please write IP , gateway and subnet mask at the same time (the default
static IP: 192.168.0.7 ).
When setting to DHCP/ Dynamic IP, it will automatically obtain IP and other related information.
When the module is directly connected to the computer, it cannot be set to DHCP/ Dynamic IP .
Generally, the computer does not have the ability to assign IP address. If the module is set to DHCP
directly connected to the computer, the module will be in a state of waiting for the IP address to be
assigned, which will cause the module to fail to perform normal transparent transmission.
5. Connect the module directly to the computer via Ethernet to establish a TCP server.
For example: IP:192.168.0.201; port: 8080
>
2. Set up DHCP
AT+CWDHCP_DEF=3,0
Response:
OK
>
2. Set up DHCP
AT+CWDHCP_DEF=3,0
Response:
OK
5. The module is directly connected to the PC via Ethernet to create a UDP server
For example: IP: 192.168.0.201; port: 8080
>
2. Set up DHCP
AT+CWDHCP_DEF=3,0
Response:
OK
>
2. Connect to a router
AT+CWJAP="SSID","password"
Response:
OK
4. Connect the computer and the module to the same router, and use a network debugging tool on
the PC to create a TCP server.
For example: IP:192.168.1.101; port:8888
>
2. Connect to a router
AT+CWJAP="SSID","password"
Response:
OK
5. Connect the computer and the module to the same router, and use a network debugging tool on
PC to establish a TCP connection.
>
2. Connect to a router
AT+CWJAP="SSID","password"
Response:
OK
4. Connect the computer and the module to the same router, and use a network debugging tool on
PC to establish a UDP connection.
>
2. Connect to a router
AT+CWJAP="SSID","password"
Response:
OK
4. Connect the computer and the module to the same router, and use a network debugging tool on
PC to establish a UDP connection.
For example: IP:192.168.1.101; port: 8080
>
2. Connect to a router
AT+CWJAP="SSID","password"
Response:
OK
Response:
OK
+IPD,12:helloworld
Serial to Bluetooth Transparent Data Transmission
2. Restart the module to enter the serial to Bluetooth transparent transmission mode
AT+RST
Response:
OK
>
2. Connect to a router
AT+CWJAP="SSID","password"
Response:
OK
4. Connect the computer and the module to the same router, and use a network debugging tool on
PC to establish a TCP server
For example: IP: 192.168.1.101; port: 8888
4. Connect the module to the same router, and use a network debugging tool on PC to create a
TCP server.
For example: IP: 192.168.1.101; port: 8888
>
8. The mobile phone is connected to the hot spot issued by the module ssid: WT32-ETH01;
password: 12345678
Create a UDP connection to the module using a mobile network debugging assistant
Module IP:192.168.4.1; Port number:3333
9. Exit sending data
(Send by phone+++)
In the process of transparent transmitting, if a single packet of data "+++" is recognized , the
transparent transmission will be exited.