-->
Page 1 of 2

Unstable SoftAP

PostPosted: Fri Mar 20, 2015 10:24 am
by dmarkey
Hi there.

I'm having problems configuring a stable SoftAP. Devices are refusing to connect, and then the following comes into the logs:

pm close 0 0 0/61135954
station: 28:cf:e9:1a:xx:xx join, AID = 1
station: 28:cf:e9:1a:xx:xx leave, AID = 1
rm match
pm close 0 0 0/63758647
add 1
aid 1
pm close 0 0 0/71542409
station: 28:cf:e9:1a:xx:xx join, AID = 1
station: 28:cf:e9:1a:xx:xx leave, AID = 1
rm match
pm close 0 0 0/73763701

I'm configuring it like this:

struct softap_config SAP_Config;
int id = system_get_chip_id();
os_sprintf(SAP_Config.ssid, "SmartPlug-%d", id);
os_memcpy(&SAP_Config.password, "smartplug", 32);
SAP_Config.ssid_hidden = 0;
SAP_Config.channel = 1;
SAP_Config.authmode = AUTH_WPA2_PSK;
SAP_Config.ssid_len = 0;
SAP_Config.max_connection=50;
wifi_softap_set_config(&SAP_Config);
wifi_station_disconnect();

Sometimes it does work, but its intermittent.

David

Re: Unstable SoftAP

PostPosted: Fri Mar 20, 2015 5:55 pm
by dmarkey
It looks like from initial testing that the new SDK 1.0 has improved in this regard!

Re: Unstable SoftAP

PostPosted: Mon Mar 23, 2015 12:15 pm
by dmarkey
Actually, 1.0 still seems to be problematic :?

Re: Unstable SoftAP

PostPosted: Tue May 05, 2015 3:52 am
by JJJ_GU
I meet the same problem, still trying to figure out.
But one error u may have, the max_conection max value is 4