【Feedback】使用espconn_regist_sentcb注册数据发送成功成功的回调函数,数据发送成功是否一定会进入回调函数
-
xiejialin7
- Posts: 2
- Joined: Mon May 30, 2016 5:24 pm
【Feedback】使用espconn_regist_sentcb注册数据发送成功成功的回调函数,数据发送成功是否一定会进入回调函数
Postby xiejialin7 » Mon Aug 01, 2016 7:45 pm
【NONOS_SDK_V1.3.0】使用ESP8266-12E模块设置为station模式,连上路由器,同时建立TCP Clint和服务器连接,在测试稳定性时发现使用espconn_regist_sentcb注册数据发送成功的回调函数,在发送心跳包时有时并不会进入到回调函数,我设定的是发送心跳包20秒之内没有进入发送数据的回调函数再发送心跳包,这样往往会连续发好长时间的心跳包而并都不会进入到数据发送成功回调函数当中,而在这段时间内和服务器的连接并没有断开,这是不是说明有时数据发送成功并不会进入到注册的回调函数???还有就是使用espconn_sent发送数据是先加入缓存当中的吗?因为连续发送好几个数据在检测espconn_sent函数的返回值时发现返回out of memory error?
Who is online
Users browsing this forum: No registered users and 15 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.