SDK 0.9.4 wifi_station_scan callback return 0 sta in promisc

reaper7
Posts: 25
Joined: Fri Oct 24, 2014 7:26 pm

SDK 0.9.4 wifi_station_scan callback return 0 sta in promisc

Postby reaper7 » Fri Jan 23, 2015 4:15 pm

When I enable promiscuous mode:

Code: Select all

wifi_promiscuous_enable(1);

and next start station scan:

Code: Select all

wifi_station_scan(NULL, scan_done_callback))

then scan_done_callback return 0 stations
even if I disable promiscuous mode before execute start scan:

Code: Select all

wifi_promiscuous_enable(0);


but all code with scan works well and return available AP's when I only comment:

Code: Select all

wifi_promiscuous_enable(1);

reaper7
Posts: 25
Joined: Fri Oct 24, 2014 7:26 pm

Re: SDK 0.9.4 wifi_station_scan callback return 0 sta in pro

Postby reaper7 » Sat Jan 24, 2015 2:49 am

new ESP8266 SDK (esp_iot_sdk_v0.9.5_15_01_23) solved problem described above :D

with simple add:

Code: Select all

wifi_promiscuous_enable(0);

before execute wifi_station_scan

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: SDK 0.9.4 wifi_station_scan callback return 0 sta in pro

Postby Her Mary » Thu Jan 29, 2015 11:16 am

That's great !

Who is online

Users browsing this forum: No registered users and 199 guests