With UDP being a connectionless protocol I can't figure out
why I am getting ESPCONN_ISCONN returns when I
call espconn_sendto multiple times. The error is a hit or
miss as I send packets, so I think the ESP SDK is keeping internal
state on the UDP packet.
This happens whether I use the same local port or use
espconn_port to get a new one (that really surprises me).
Preferably I would like to reuse the espconn structure between
sending packets between the ESP and a single server.
Is there any way that I can do that?
Can someone share some insights?
sdk = 1.4.1
Thanks,
Alberto
udp and espconn_sendto getting ESPCONN_ISCONN returns
Re: udp and espconn_sendto getting ESPCONN_ISCONN returns
Postby ESP_Faye » Thu Nov 19, 2015 9:58 am
Hi,
Here is an example of UDP transmission http://bbs.espressif.com/viewtopic.php?f=31&t=440, please have a try.
If your problem is still unsolved, please provide your test code for debugging.
Thanks for your interest in ESP8266 !
Here is an example of UDP transmission http://bbs.espressif.com/viewtopic.php?f=31&t=440, please have a try.
If your problem is still unsolved, please provide your test code for debugging.
Thanks for your interest in ESP8266 !
Who is online
Users browsing this forum: No registered users and 139 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.