You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct mgos_config_wifi_sta sta_cfg;
memcpy(&sta_cfg, mgos_sys_config_get_wifi_sta(), sizeof(sta_cfg));
sta_cfg.enable = 1;
if (!mgos_wifi_setup_sta(&sta_cfg))
{
LOG(LL_ERROR, ("Wifi STA setup failed"));
}
// Not sure if we can free this
// free(sta_cfg.enable)
The auto reconnect process doesn't happen as we can observe:
acknowledging the bug.
currently retry logic only works in conjunction with "current index", meaning we'll only retry if we know which of the system configs we are currently at.
these should be decoupled - retry should be performed anyway, and if we are using system config, we should advance further.
When the default configuration is used, the auto reconnect process works as expected:
When we try to connect programmatically:
The auto reconnect process doesn't happen as we can observe:
After the
[Jan 25 12:53:25.938] mgos_wifi_sta_connec WiFi STA: Connect timeout
it never tries to reconnect.The text was updated successfully, but these errors were encountered: