netif_add(&gnetif, &ipaddr, &netmask, &gw, NULL, ðernetif_init, &tcpip_input); while(1){ netif_set_default(&gnetif); if (netif_is_link_up(&gnetif)) { netif_set_up(&gnetif); break; } else { netif_set_down(&gnetif); } netif_set_link_callback(&gnetif, ethernet_link_status_updated); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)