你好:
我之前的代码一直采用SDK1.3运行的正常,连续发送UDP包,服务器接收也很正常。为了提高SMARTCONFG的兼容,我升级SDK到1.5.2版本,对UDP的接收和发送代码也进行了修改,采用sendto来发送数据,但是现在出现的问题就是我连续使用sendto发送数据只有最后一个sendto发送的服务器才能收到。请问SDK1.5.2在UDP发送机制上和SDK1.3有什么不同,需要对原来的代码做那些调整。
补充我用的是NONOS.
谢谢你们百忙之中解答我的问题。
关于SDK1.3和SDK1.5 中UDP发送的问题
Re: 关于SDK1.3和SDK1.5 中UDP发送的问题
Postby emt@starkais.com » Sat May 14, 2016 7:28 pm
你这个例子老了点,新的SDK中不是建议使用sendto来发送UDP包吗?
还有就是我的问题不是说发送不了UDP包,是我把SDK升级到1.5版本后发送就不稳定,比如我连续两个sendto API就只有最后一个能收到,这个问题在1.3版本的SDK中不会出现的。
还有就是我的问题不是说发送不了UDP包,是我把SDK升级到1.5版本后发送就不稳定,比如我连续两个sendto API就只有最后一个能收到,这个问题在1.3版本的SDK中不会出现的。
Who is online
Users browsing this forum: No registered users and 13 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.