Statistics: Posted by kostbill — Tue Apr 12, 2016 2:30 am
Code:
//start soft AP mode.
struct softap_config softapconfig;
wifi_set_opmode(SOFTAP_MODE);
wifi_softap_get_config(&softapconfig);
memset(softapconfig.ssid, 0, 32);
memset(softapconfig.password, 0, 64);
sprintf(softapconfig.ssid, "ESP8266");
sprintf(softapconfig.password, "12345678");
softapconfig.authmode = AUTH_WPA_WPA2_PSK;
softapconfig.ssid_len = 0;
softapconfig.channel = 1;
softapconfig.max_connection = 4;
softapconfig.ssid_hidden = 0;
softapconfig.beacon_interval = 400;
wifi_softap_set_config(&softapconfig);
chksum 0x9d
load 0x3ffe8000, len 2508, room 0
tail 12
chksum 0xba
ho 0 tail 12 room 4
load 0x3ffe89d0, len 1200, room 12
tail 4
chksum 0xd1
Statistics: Posted by kostbill — Sat Apr 09, 2016 5:03 am