Espressif ESP32 At Instruction Set page 45

Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

!
AT+CWMODE=3 // SoftAP+Station mode
Response:
OK
2. Connect to the router:
AT+CWJAP="SSID","password" // SSID and password of router
Response:
OK
3. Query the device's IP:
AT+CIFSR
Response:
192.168.101.105 // device's IP that got from router
4. Connect the PC to the same router to which ESP32 is connected. Use a network tool on the PC to
create a TCP server.
!
5. Connect the device to the TCP server as a TCP client:
AT+CIPSTART="TCP","192.168.101.110",8080 // protocol, server IP & port
Response:
OK
6. Enable the transparent transmission mode:
AT+CIPMODE=1
Response:
OK
7. Send data:
AT+CIPSEND
Response:
> // From now on, data received from UART will be transparent transmitted to server
Espressif
40 53
!
/!
7. AT Commands Examples
2017.02

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Table of Contents