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
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!