ESP8266 Developer Zone The Official ESP8266 Forum 2015-05-04T15:46:14+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=379 2015-05-04T15:46:14+08:00 2015-05-04T15:46:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1609#p1609 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]>
sorry for the late reply, structure softap_config need to be initialized.

Code:

   
struct softap_config ap_config;
os_memset(&ap_config, 0, sizeof(ap_config));


or

Code:

   struct softap_config config;
   wifi_softap_get_config(&config); // Get config first.


you could refer to softAP config demo http://bbs.espressif.com/viewtopic.php?f=21&t=227

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Mon May 04, 2015 3:46 pm


]]>
2015-04-28T05:41:01+08:00 2015-04-28T05:41:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1555#p1555 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]>
I tried increasing the beacon interval from default 100ms to 200ms and the problem occurred much more frequently. Then I tried decreasing the beacon interval to 33ms and now the problem seems to have gone away.

Statistics: Posted by Anki — Tue Apr 28, 2015 5:41 am


]]>
2015-04-25T07:59:24+08:00 2015-04-25T07:59:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1507#p1507 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]> Statistics: Posted by Anki — Sat Apr 25, 2015 7:59 am


]]>
2015-04-22T10:38:25+08:00 2015-04-22T10:38:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1460#p1460 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]>
Thanks for the reporting ,

with your test code ,we replicated your problem, we are working on it now.

Thanks again.

Statistics: Posted by ESP_Faye — Wed Apr 22, 2015 10:38 am


]]>
2015-04-22T10:22:17+08:00 2015-04-22T10:22:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1459#p1459 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]>
Kindly let me know what email address I can send network captures to? I don't want to post directly on the forum. Should I send to feedback@espressif.com?

Thank you

Statistics: Posted by Anki — Wed Apr 22, 2015 10:22 am


]]>
2015-04-22T10:06:11+08:00 2015-04-22T10:06:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1458#p1458 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]>
You can reproduce this problem using the same firmware I attached to this thread http://bbs.espressif.com/viewtopic.php?f=7&t=235&p=1457#p1457 compiled against the v1.0.1SDK (I'm sorry, I should have mentioned that in the original post)

Connect a Windows PC or Linux computer to the Espressif's wifi access point and watch the OS messages from UART1 and you will see the repeated join / leave messages.

Again, I am working to collect some wireshark captures and will attach when done.

Statistics: Posted by Anki — Wed Apr 22, 2015 10:06 am


]]>
2015-04-22T09:51:30+08:00 2015-04-22T09:51:30+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1456#p1456 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]>
sorry that we can't replicate your problem, can you offer more details about your test steps ? which SDK are you using ?

Statistics: Posted by ESP_Faye — Wed Apr 22, 2015 9:51 am


]]>
2015-04-22T05:06:02+08:00 2015-04-22T05:06:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1454#p1454 <![CDATA[Re: AP mode devices constant disconnecting / reconnecting]]> Statistics: Posted by Anki — Wed Apr 22, 2015 5:06 am


]]>
2015-04-18T06:41:57+08:00 2015-04-18T06:41:57+08:00 https://bbs.espressif.com:443/viewtopic.php?t=379&p=1408#p1408 <![CDATA[AP mode devices constant disconnecting / reconnecting]]>

Code:

station: 84:3a:4b:d4:24:b0 leave, AID = 1
rm match

add 1
aid 1
station: 84:3a:4b:d4:24:b0 join, AID = 1


It takes about 2.5 seconds for the client to reconnect, so I am loosing about 2.5 seconds of data every 25 seconds. I have tried with several different devices connecting to the ESP8266 AP with similar results. What is going on here?

Statistics: Posted by Anki — Sat Apr 18, 2015 6:41 am


]]>