ESP8266 Developer Zone The Official ESP8266 Forum 2016-04-02T14:59:01+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1257 2016-04-02T14:59:01+08:00 2016-04-02T14:59:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=6317#p6317 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]> Statistics: Posted by eswarams — Sat Apr 02, 2016 2:59 pm


]]>
2015-12-25T14:55:00+08:00 2015-12-25T14:55:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=5155#p5155 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]>
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?

Statistics: Posted by lea.z — Fri Dec 25, 2015 2:55 pm


]]>
2015-12-02T02:03:18+08:00 2015-12-02T02:03:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4856#p4856 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]> We have no problems using 1.41 but with 1.5 often clients can't connect to the softAP...

Statistics: Posted by lobaro — Wed Dec 02, 2015 2:03 am


]]>
2015-11-18T13:24:08+08:00 2015-11-18T13:24:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4644#p4644 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]> Thanks!

Statistics: Posted by tve — Wed Nov 18, 2015 1:24 pm


]]>
2015-11-14T10:31:01+08:00 2015-11-14T10:31:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4581#p4581 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]> I was having the same Problem & The Updated Libs ( lib_1.4.1_pre7.zip) Fixed It .
Thanks

Statistics: Posted by BarryP — Sat Nov 14, 2015 10:31 am


]]>
2015-11-09T14:19:34+08:00 2015-11-09T14:19:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4505#p4505 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]>
Please have a try with the attachment.

Thanks for your interest in ESP8266 !
lib_1.4.1_pre7.zip

Statistics: Posted by ESP_Faye — Mon Nov 09, 2015 2:19 pm


]]>
2015-11-05T14:28:29+08:00 2015-11-05T14:28:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4460#p4460 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]> 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)

Statistics: Posted by yaoyonnghuan — Thu Nov 05, 2015 2:28 pm


]]>
2015-10-27T22:20:25+08:00 2015-10-27T22:20:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4317#p4317 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]>
I also use SDK 1.4.0 and have the same UART message as below.

chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180

Could anyone know how to fix it ?

Statistics: Posted by pcbass — Tue Oct 27, 2015 10:20 pm


]]>
2015-10-23T16:37:48+08:00 2015-10-23T16:37:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4252#p4252 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]>
Sorry for the inconvenience.

Please download http://bbs.espressif.com/viewtopic.php?f=46&t=1268&p=4238.

Statistics: Posted by ESP_Faye — Fri Oct 23, 2015 4:37 pm


]]>
2015-10-22T17:46:52+08:00 2015-10-22T17:46:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4239#p4239 <![CDATA[Re: Problems running softAP -SDK 1.4.0 [SOLVED]]]>

Statistics: Posted by BlackHole — Thu Oct 22, 2015 5:46 pm


]]>
2015-10-22T14:54:19+08:00 2015-10-22T14:54:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4231#p4231 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]> No more chg_A3 messages appeared in the UART console.

Thank you!

Statistics: Posted by Guest — Thu Oct 22, 2015 2:54 pm


]]>
2015-10-22T14:17:22+08:00 2015-10-22T14:17:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4230#p4230 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]>
We optimized our softAP, please have a try with the attachment.

Thanks for your interest in ESP8266 !
esp_iot_sdk_v1.4.1_pre2_15_10_22.zip

Statistics: Posted by ESP_Faye — Thu Oct 22, 2015 2:17 pm


]]>
2015-10-21T20:51:30+08:00 2015-10-21T20:51:30+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4219#p4219 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]> Statistics: Posted by Guest — Wed Oct 21, 2015 8:51 pm


]]>
2015-10-21T20:46:17+08:00 2015-10-21T20:46:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4218#p4218 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]> Statistics: Posted by Guest — Wed Oct 21, 2015 8:46 pm


]]>
2015-10-21T20:45:01+08:00 2015-10-21T20:45:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4217#p4217 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]>

Code:

make clean
make COMPILE=gcc SPI_SIZE_MAP=3 BOOT=new APP=1
make clean
make COMPILE=gcc SPI_SIZE_MAP=3 BOOT=new APP=2


Resulting firmware is flashed using:

Code:

esptool/esptool.py --baud 576000 write_flash 0x00000 bin/boot_v1.2.bin 0x01000 bin/upgrade/user1.2048.new.3.bin 0x81000 bin/upgrade/user2.2048.new.3.bin 0x1FC000 bin/esp_init_data_default.bin 0x1FE000 bin/blank.bin --flash_size 16m


In UART console I'm seeing following:

Code:

mode : softAP(1a:fe:34:9c:61:de)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100

INIT: Done

chg_A3:-180
chg_A3:0
add 1
aid 1
station: 0c:84:dc:8d:4c:ad join, AID = 1
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180


The laptop I'm using is running Win 8.1 and connection is briefly established but immediately disconnected. I did not have time to type ping command :?

Hope this info will help to reproduce the problem at your site.
esp_iot_sdk_v1.4.0.zip

Statistics: Posted by Guest — Wed Oct 21, 2015 8:45 pm


]]>
2015-10-21T15:14:47+08:00 2015-10-21T15:14:47+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4208#p4208 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]>
I tried your test code, our mobile phone and PC can connect to ESP8266 softAP successfully..

Can you provide your test bin ?

I will download it and have a try.

Statistics: Posted by ESP_Faye — Wed Oct 21, 2015 3:14 pm


]]>
2015-10-21T14:32:10+08:00 2015-10-21T14:32:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4203#p4203 <![CDATA[Re: Problems running softAP -SDK 1.4.0]]> Update: I did same test with SDK 1.3.0 and everything works fine. The problem is definitely SDK 1.4.0 related

Statistics: Posted by Guest — Wed Oct 21, 2015 2:32 pm


]]>
2015-10-22T14:54:55+08:00 2015-10-20T21:55:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1257&p=4191#p4191 <![CDATA[Problems running softAP -SDK 1.4.0 [SOLVED]]]>
I have problems when configuring ESP8266 as AP - I used code from the demo http://bbs.espressif.com/viewtopic.php?f=31&t=227 with small modifications:
  1. I set mode to softAP only

    Code:

    wifi_set_opmode(SOFTAP_MODE);
  2. Instead of loading previous configuration with wifi_softap_get_config(&config); I set all parameters manually

    Code:

    user_set_softap_config(void) {
       struct softap_config config;
       
       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.ssid_len = 0;
       config.channel = 1;
       config.authmode = AUTH_WPA2_PSK;
       config.ssid_hidden = 0;
       config.max_connection = 4;
       config.beacon_interval = 100;
       
       wifi_softap_set_config(&config);// Set ESP8266 softap config
    }


If I set channel to 11 where our AP is running everything working fine.
If I set channel to any other from 1 to 13 I can not connect to ESP8266 AP and I am getting following messages on UART:

Code:

chg_A3:-180
chg_A3:0
chg_A3:-180
chg_A3:0
.... and so on


I'm not sure if the problem is after upgrading to SDK 1.4.0 because till now I've worked in mixed softAP+station and when station is activated it forces softAP channel to our AP channel and then everything working as expected.

Any help will be appreciated!

Statistics: Posted by Guest — Tue Oct 20, 2015 9:55 pm


]]>