I have noticed in AT v23 that the +IPD responses are different between UDP & TCP.
In UDP the raw data is followed by an "OK" in TCP it is not. I've just updated from AT v20 and in that version both TCP & UDP issued an OK after the raw data. There was some discussion here viewtopic.php?f=16&t=221 about the removal of the (unneccessary) ok on TCP, but it appears to have been overlooked on UDP. It would be best for them to be both the same.
Thanks
D Tricker
An example follows:
AT+GMR
AT version:0.23.0.0(Apr 24 2015 21:11:01)
SDK version:1.0.1
compile time:Apr 24 2015 21:19:31
OK
AT+CIFSR
+CIFSR:STAIP,"192.168.1.84"
+CIFSR:STAMAC,"18:fe:34:9c:65:bd"
OK
AT+CIPSTART="UDP","192.168.1.71",100,100,0
0,CONNECT
OK
+IPD,8:incoming
OK <<<<<<<<<<<<<< Extra LF OK LF on UDP packet containing "incoming"
......
AT+CIPMUX=1
OK
AT+CIPSERVER=1,100
OK
0,CONNECT
+IPD,0,8:incoming0,CLOSED <<<<<<<<<<<<<< Nothing extra on TCP
0,CONNECT
+IPD,0,8:incoming1,CONNECT
+IPD,1,8:incoming0,CLOSED
0,CONNECT
+IPD,0,8:incoming1,CLOSED
0,CLOSED
+IPD difference between UDP & TCP
Who is online
Users browsing this forum: No registered users and 5 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.