Get RSSI of current station?

bjpirt
Posts: 15
Joined: Sun Nov 09, 2014 4:15 pm

Get RSSI of current station?

Postby bjpirt » Fri Mar 20, 2015 6:36 pm

Hi,
I was wondering if it is possible to be able to read the RSSI of the station that the ESP is currently connected to? I know I can do a scan for all stations, but I was wondering if it possible without doing a scan?
Thanks,
Ben

doughboy
Posts: 63
Joined: Thu Mar 05, 2015 1:54 am

Re: Get RSSI of current station?

Postby doughboy » Sat Mar 21, 2015 1:26 am

I think you can do it using
AT+CWLAP="<your AP>"
and it will only show the info for that particular AP, including RSSI

bjpirt
Posts: 15
Joined: Sun Nov 09, 2014 4:15 pm

Re: Get RSSI of current station?

Postby bjpirt » Sat Mar 21, 2015 3:54 am

Thanks @doughboy, although I should have also mentioned I was looking to get the C code for doing this. I've looked at the source for that AT command and it looks like it still does a full scan to get that information, it just filters the output if you enter a SSID.

Does anyone from Espressif know if it's possible to get the RSSI of the station you've joined?

Thanks,
Ben

jayc75
Posts: 23
Joined: Sun Feb 15, 2015 6:44 pm

Re: Get RSSI of current station?

Postby jayc75 » Sat Mar 21, 2015 4:02 am

they did include that in the new AT Command please check the latest docs...

bjpirt
Posts: 15
Joined: Sun Nov 09, 2014 4:15 pm

Re: Get RSSI of current station?

Postby bjpirt » Tue Mar 24, 2015 5:42 pm

@jayc75 unfortunately that AT command just uses a scan behind the scenes and filters the results. What I'm looking for is the ability to read out the RSSI of the currently joined access point without having to perform a wifi scan.

Could someone from Espressif weigh in please?

systemsconnect
Posts: 11
Joined: Tue Jan 20, 2015 3:47 pm

Re: Get RSSI of current station?

Postby systemsconnect » Tue Mar 24, 2015 6:23 pm

Yes, that would be a really nice feature!

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Get RSSI of current station?

Postby ESP_Faye » Thu Mar 26, 2015 10:13 am

Hi,

Yes,only wifi_station_scan can get rssi , here is a scan demo http://bbs.espressif.com/viewtopic.php?f=21&t=229

use the SSID of target AP as parameter, it can get rssi of specific AP .

bjpirt
Posts: 15
Joined: Sun Nov 09, 2014 4:15 pm

Re: Get RSSI of current station?

Postby bjpirt » Thu Mar 26, 2015 6:12 pm

@Espressif_Faye Thanks for responding - shame it requires a full scan, but thanks for letting me know. Consider it a feature request that it would be nice to be able to get the RSSI of the current AP without having to do a scan.
Many thanks,
Ben

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Get RSSI of current station?

Postby ESP_Faye » Fri Mar 27, 2015 9:45 am

Hi,

Thanks for your valuable advice,we will think over this.

Regards,
Faye

Who is online

Users browsing this forum: No registered users and 56 guests