+IPD difference between UDP & TCP

trickedj
Posts: 12
Joined: Fri Jan 02, 2015 3:41 am
Location: Ipswich, UK

+IPD difference between UDP & TCP

Postby trickedj » Mon Apr 27, 2015 12:15 am

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

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: +IPD difference between UDP & TCP

Postby ESP_Faye » Mon Apr 27, 2015 10:56 am

Hi,

Thanks for your valuable advice,we will revise UDP to be same as TCP .

Who is online

Users browsing this forum: No registered users and 2 guests