main/alles.c
void wifi_connected(void *pvParameter){
    ip_event_got_ip_t* param = (ip_event_got_ip_t*)pvParameter;

    char str_ip[16];
    esp_ip4addr_ntoa(&param->ip_info.ip, str_ip, IP4ADDR_STRLEN_MAX);

    ESP_LOGI(TAG, "I have a connection and my IP is %s!", str_ip);
    global.status |= WIFI_MANAGER_OK;
}
// callback to let us know when we have wifi set up ok.
callback to let us know when we have wifi set up ok.
callback to let us know when we have wifi set up ok .
void wifi_connected(void *pvParameter){
    ip_event_got_ip_t* param = (ip_event_got_ip_t*)pvParameter;
    char str_ip[16];
    esp_ip4addr_ntoa(&param->ip_info.ip, str_ip, IP4ADDR_STRLEN_MAX);
    ESP_LOGI(TAG, "I have a connection and my IP is %s!", str_ip);
    global.status |= WIFI_MANAGER_OK;
}
void wifi_connected ( void * pvParameter ) { ip_event_got_ip_t * param = ( ip_event_got_ip_t * ) pvParameter ; char str_ip [ 16 ] ; esp_ip4addr_ntoa ( & param -> ip_info . ip , str_ip , IP4ADDR_STRLEN_MAX ) ; ESP_LOGI ( TAG , " " , str_ip ) ; global . status |= WIFI_MANAGER_OK ; }
callback to let us know when we have wifi set up ok.
callback to let us know when we have wifi set up ok .