Getting RSSI in AP mode
Posted: Thu Jul 05, 2018 8:46 am
Hi all,
I have an application running in AP + STA mode.
When the AP is connected to a network, I display the RSSI of this connection using esp_wifi_sta_get_ap_info.
Everything works fine until I scan the access points available: esp_wifi_scan_start + esp_wifi_scan_get_ap_records.
From this point, esp_wifi_sta_get_ap_info always returns the same RSSI value.
The function does not fail, it just keeps giving the RSSI value that was fetched before doing the scan.
Any idea what could cause this issue?
Thanks,
Franck.
I have an application running in AP + STA mode.
When the AP is connected to a network, I display the RSSI of this connection using esp_wifi_sta_get_ap_info.
Everything works fine until I scan the access points available: esp_wifi_scan_start + esp_wifi_scan_get_ap_records.
From this point, esp_wifi_sta_get_ap_info always returns the same RSSI value.
The function does not fail, it just keeps giving the RSSI value that was fetched before doing the scan.
Any idea what could cause this issue?
Thanks,
Franck.