-->
Page 1 of 2

How to get own connectioin information?

PostPosted: Thu Mar 05, 2015 7:26 pm
by nice72
Hi everybody, I have a one question about wifi connection.

When I connected other AP, I hope to get the some information that is current rssi and bssid.

How to get the some information in the source code?

Thanks.

Re: How to get own connectioin information?

PostPosted: Mon Mar 09, 2015 3:46 am
by Athena
Hi,

you could use wifi_station_scan to get rssi and bssid of any AP。

Re: How to get own connectioin information?

PostPosted: Mon Mar 09, 2015 10:07 pm
by nice72
thanks,

If the same ssid exists on the wifi network, which I have used bssid?

example)
AP0 : SSID_TEST ( BSSID : 00:08:32:11:22:33 )
AP1 : SSID_TEST ( BSSID : 00:08:32:11:22:44 ) <--> esp_8266

and I have another question.

when the same configuration, I'd like to connect specified bssid and ssid.

please, answer to me.

Re: How to get own connectioin information?

PostPosted: Fri Mar 13, 2015 12:38 am
by Athena
Hi,

call wifi_station_set_config , stationConf.bssid_set to be 1 ,and set the stationConf.bssid