The server is disconnected and "user_esp_platform_discon_cb" has no callback.
The server is disconnected and "user_esp_platform_discon_cb" has no callback.
Postby 456vv » Tue Jan 17, 2017 5:20 pm
With non-rtos firmware, the server automatically disconnects the TCP connection, and "user_esp_platform_discon_cb" does not have a callback.
Re: The server is disconnected and "user_esp_platform_discon_cb" has no callback.
Postby pratik » Fri Jan 20, 2017 2:02 pm
user_esp_platform_discon_cb is not a standard SDK function in the latest nonOS SDK. Can you please specify which version of SDK you are using?
Use espconn_regist_disconcb() to register disconnect callback function.
Or please refer to wifi_set_event_handler_cb example on page 80 of nonOS SDK API reference v.2.0.1.
Use espconn_regist_disconcb() to register disconnect callback function.
Or please refer to wifi_set_event_handler_cb example on page 80 of nonOS SDK API reference v.2.0.1.
Who is online
Users browsing this forum: No registered users and 3 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.