-->
Page 1 of 2

How to clear AP configuration?

PostPosted: Tue May 05, 2015 2:01 pm
by dayzman
My understanding is that wifi_station_set_config() persists the AP settings (correct me if not, please), but what is the inverse of that, i.e. a function that clears the current AP settings? If it is to call wifi_station_set_config() on some dummy values, the device would continously try to reconnect as follows:

rm match
reconnect
scandone
add 0
aid 3
cnt
rm match
reconnect
scandone
add 0
aid 3
cnt
rm match
reconnect
scandone
add 0
aid 3
cnt


And it doesn't ever pause or quit.

If there's no other way, is there a way to widen the interval between each reconnection attempt?

Any help will be appreciated!

Cheers

Re: How to clear AP configuration?

PostPosted: Sat May 09, 2015 11:19 am
by dayzman
Anyone?

Re: How to clear AP configuration?

PostPosted: Sat May 09, 2015 11:40 am
by cal
dayzman wrote:Anyone?


Moin,

if you just want to get rid of it flash blank.bin.
If you dont want station mode don't configure it.

Cal

Re: How to clear AP configuration?

PostPosted: Sat May 09, 2015 11:43 am
by dayzman
cal wrote:
dayzman wrote:Anyone?


Moin,

if you just want to get rid of it flash blank.bin.
If you dont want station mode don't configure it.

Cal


I was hoping to do it programmatically. Like, upon reset, the AP settings are flushed.