Problems running softAP -SDK 1.4.0 [SOLVED]
-
yaoyonnghuan
- Posts: 1
- Joined: Wed Oct 21, 2015 5:58 pm
Re: Problems running softAP -SDK 1.4.0 [SOLVED]
Postby yaoyonnghuan » Thu Nov 05, 2015 2:28 pm
Hi , I also have same problem, i download the new"esp_iot_sdk_v1.4.1_pre5_15_10_27" SDK ,but the problem is still on, i can't find any AP .How to fixt it?
This is the source code :
void user_init(void)
{
UART_SetBaudrate(UART0,115200); //只能使用本函数设置
wifi_set_opmode(SOFTAP_MODE);
struct softap_config config;
wifi_softap_get_config(&config); // Get soft-AP config first.
os_memset(config.ssid, 0, 32);
os_memset(config.password, 0, 64);
os_memcpy(config.ssid, "ESP8266", 7);
os_memcpy(config.password, "12345678", 8);
config.authmode = AUTH_WPA2_PSK;
config.ssid_len = 0; // or its actual SSID length
config.ssid_hidden = 0;
config.max_connection = 4;
config.channel = 1;
config.beacon_interval=100;
wifi_softap_set_config(&config); // Set ESP8266 soft-AP config
os_free(&config);
}
This is download setting: bank.bin---> 0x7e000 bank.bin--> 0x3fe000 esp_init_data_default.bin--> 0x3fc000 eagle.flash.bin-->0x00000 eagle.irom0text.bin-->0x40000
The log information: ( I send out the version infomation every 3 seconds)
ets Jan 8 2013,rst cause:1, boot mode:(3,1)
load 0x40100000, len 27488, room 16
tail 0
chksum 0x38
load 0x3ffe8000, len 884, room 8
tail 12
chksum 0xc5
ho 0 tail 12 room 4
load 0x3ffe8380, len 276, room 12
tail 8
chksum 0x51
csum 0x51
rS3ffffa70 already freed
mode : softAP(1a:fe:34:a2:b9:4f)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
chg_A3:-180
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
chg_A3:0
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
chg_A3:-180
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
This is the source code :
void user_init(void)
{
UART_SetBaudrate(UART0,115200); //只能使用本函数设置
wifi_set_opmode(SOFTAP_MODE);
struct softap_config config;
wifi_softap_get_config(&config); // Get soft-AP config first.
os_memset(config.ssid, 0, 32);
os_memset(config.password, 0, 64);
os_memcpy(config.ssid, "ESP8266", 7);
os_memcpy(config.password, "12345678", 8);
config.authmode = AUTH_WPA2_PSK;
config.ssid_len = 0; // or its actual SSID length
config.ssid_hidden = 0;
config.max_connection = 4;
config.channel = 1;
config.beacon_interval=100;
wifi_softap_set_config(&config); // Set ESP8266 soft-AP config
os_free(&config);
}
This is download setting: bank.bin---> 0x7e000 bank.bin--> 0x3fe000 esp_init_data_default.bin--> 0x3fc000 eagle.flash.bin-->0x00000 eagle.irom0text.bin-->0x40000
The log information: ( I send out the version infomation every 3 seconds)
ets Jan 8 2013,rst cause:1, boot mode:(3,1)
load 0x40100000, len 27488, room 16
tail 0
chksum 0x38
load 0x3ffe8000, len 884, room 8
tail 12
chksum 0xc5
ho 0 tail 12 room 4
load 0x3ffe8380, len 276, room 12
tail 8
chksum 0x51
csum 0x51
rS3ffffa70 already freed
mode : softAP(1a:fe:34:a2:b9:4f)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
chg_A3:-180
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
chg_A3:0
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
chg_A3:-180
SDK version:1.4.1(pre2)
SDK version:1.4.1(pre2)
Re: Problems running softAP -SDK 1.4.0 [SOLVED]
Postby ESP_Faye » Mon Nov 09, 2015 2:19 pm
Hi,
Please have a try with the attachment.
Thanks for your interest in ESP8266 !
Please have a try with the attachment.
Thanks for your interest in ESP8266 !
- Attachments
-
- lib_1.4.1_pre7.zip
- (806.63 KiB) Downloaded 586 times
Re: Problems running softAP -SDK 1.4.0 [SOLVED]
Postby lea.z » Fri Dec 25, 2015 2:55 pm
lobaro wrote:is this Patch also included into SDK1.5?
We have no problems using 1.41 but with 1.5 often clients can't connect to the softAP...
just connecting…… my phone cannot connect to my model that configured as softAP. And you got?
Who is online
Users browsing this forum: No registered users and 14 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.