If you are asking a question, please follow this template:
- My goal is: [detect WiFi router disconnect]
- My actions are:
[
This is ESP8266 chip using Mongoose web-server - mgos_event_add_group_handler(MGOS_EVENT_GRP_WIFI, WiFi_Event_cb, NULL);
- mgos_wifi_get_connected_ssid() show connected SSID
] - The result I see is:
[ MGOS_WIFI_EV_STA_DISCONNECTED does come back (~5 secs) when I pull the power on my WiFi router] - My expectation & question is:
[ - Is there any API which I can use as ping to monitor WiFi connection quickly (say in 100ms) ?
- Is there HTTP API which can “ping” the Server IP ?
]