Chat freely about anything...

User avatar
By kostbill
#72482 Hello.

Is there a callback I can register somehow in order to accept the messages from the STATION_STATUS enum, as events?

typedef enum {
STATION_IDLE = 0, /**< ESP8266 station idle */
STATION_CONNECTING, /**< ESP8266 station is connecting to AP*/
STATION_WRONG_PASSWORD, /**< the password is wrong*/
STATION_NO_AP_FOUND, /**< ESP8266 station can not find the target AP*/
STATION_CONNECT_FAIL, /**< ESP8266 station fail to connect to AP*/
STATION_GOT_IP /**< ESP8266 station got IP address from AP*/
} STATION_STATUS;

Just like the SYSTEM EVENTS that can be captured from the callback set from the wifi_set_event_handler_cb function?

I am also posting this to the espressif forum.
Thanks a lot!
Vasileios.