Determining remote IP for received UDP packets

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Determining remote IP for received UDP packets

Postby hhc » Sat May 30, 2015 2:40 pm

Hi all,

After creating a UDP server socket using AT+CIPSTART (mode 2), we can receive packets via the +IPD message from different IPs. Is there any undocumented AT command that enables the remote IP address and port to be included together during +IPD ? We know that AT+CIPSTATUS can be used to get back the remote IP address and port but if multiple UDP packets from different IPs are received in a short period of time, it seems that we will have an issue getting back the remote IP using AT+CIPSTATUS since all the packets are being identified using the same link id.

It would be much better if the remote IP and port is send together with the +IPD message.(for UDP and TCP packets).

Regards,
Hew

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

Re: Determining remote IP for received UDP packets

Postby ESP_Faye » Mon Jun 01, 2015 10:28 am

Hi,

Thanks for your valuable advices !

We will think it over and let you know if there is any update.

Who is online

Users browsing this forum: No registered users and 188 guests