!
6. Send data:
// ID number of connection is defaulted to be 0
AT+CIPSEND=0,4 // send 4 bytes to connection NO.0
>TEST // enter the data, no CR
Response:
SEND OK
⚠ Notice:
•
If the number of bytes inputted are more than the size defined (n):
-
-
7. Receive data:
+IPD,0,n:xxxxxxxxxx // received n bytes, data = xxxxxxxxxx
8. Close the TCP connection:
AT+CIPCLOSE=0 // delete NO.0 connection
Response:
0,CLOSED
OK
Espressif
the system will reply busy, and send the first n bytes.
and after sending the first n bytes, the system will reply SEND OK.
75 97
!
/!
9. AT Commands Examples
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers