Page 1 of 1

Getting RSSI of connected access point.

Posted: Wed Apr 04, 2018 11:07 pm
by fly135
Anyone know how to get the RSSI of an access point that is connected? I see it while scanning APs. I see it listed as in "promiscuous mode RX callback buffers". But a quick search of the docs reveals nothing else.

John A

Re: Getting RSSI of connected access point.

Posted: Wed Apr 04, 2018 11:19 pm
by fly135
Found it in another thread....

viewtopic.php?t=578

Code: Select all

wifi_ap_record_t wifidata;
if (esp_wifi_sta_get_ap_info(&wifidata)==0){
printf("rssi:%d\r\n", wifidata.rssi);
}