Code:
if (wifi_station_get_auto_connect() != 0)
wifi_station_set_auto_connect(0);
// register "init done callback"
system_init_done_cb(userInitDoneCb);
// MANDATORY INITIALIZATION BLOCK END
// disable WiFi
wifi_set_opmode_current(NULL_MODE);
// disable DHCP server
wifi_softap_dhcps_stop();
Code:
ETS_UART_INTR_DISABLE();
_bRes = wifi_set_opmode_current(SOFTAP_MODE);
ETS_UART_INTR_ENABLE();
// DHCP is automatically started, so it must be stopped
wifi_softap_dhcps_stop(); /*
Statistics: Posted by FrenkR — Tue Jul 05, 2016 4:02 pm
Statistics: Posted by ESP_Faye — Fri Jun 24, 2016 4:31 pm
Code:
mode : softAP(1a:fe:34:d5:a2:9a)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
Statistics: Posted by FrenkR — Thu Jun 23, 2016 10:50 pm