Non os sdk 1.5.x udp send/receive issue

mdre
Posts: 2
Joined: Wed Jun 01, 2016 9:31 pm

Non os sdk 1.5.x udp send/receive issue

Postby mdre » Wed Jun 01, 2016 10:14 pm

Hi,

I am developing a driver for ESP-WROOM-02 running a non os sdk.
I was using the version 1.3.0 of the sdk and now i am using the version 1.5.3. I was able to connect to a udp echo server, and send/receive a short packet, and now i am missing the answer. The server have to transmit a few times before my driver receives the answer.

The wifi chip is in station mode and has joined a network. The echo server is on the same local network.
Then i am sending the following commands:
AT+CIPSTART=x,"UDP","yyy.yyy.yyy.yyy",z // x = link ID, yyy.yyy.yyy.yyy = remote ip, z = remote port
AT+CIPSEND=x,12
Then
Hello World!

My server receives it, and sends back the data, but it seems the modem that does receive that answer. I do not receive any +IPD packet.

I was not able to track down a difference between the two versions (1.3.0 and 1.5.3) that would explain that issue. So i rolled back the firmware to the previous version i was using and it works. It tried several firmware, and it does not work with the latest firmwares 1.5.x.

Thanks for your help

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

Re: Non os sdk 1.5.x udp send/receive issue

Postby ESP_Faye » Mon Jun 06, 2016 10:30 am

Hi,

With the latest AT_V1.1 http://bbs.espressif.com/viewtopic.php?f=46&t=2199.
Please try the command:
AT+CIPSEND=x,<length>,"yyy.yyy.yyy.yyy",z // x = link ID, yyy.yyy.yyy.yyy = remote ip, z = remote port

If your problem is still unsolved, please feel free to let us know.

mdre
Posts: 2
Joined: Wed Jun 01, 2016 9:31 pm

Re: Non os sdk 1.5.x udp send/receive issue

Postby mdre » Mon Jun 06, 2016 10:50 pm

Thank you for your reply but it does not solve the issue, the server still has to retransmit the echo at least twice.

Who is online

Users browsing this forum: No registered users and 13 guests