Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp_wifi_sta_get_ap_info doesn't update RSSI value (IDFGH-3704) #5632

Closed
dyarkovoy opened this issue Jul 22, 2020 · 4 comments
Closed

esp_wifi_sta_get_ap_info doesn't update RSSI value (IDFGH-3704) #5632

dyarkovoy opened this issue Jul 22, 2020 · 4 comments

Comments

@dyarkovoy
Copy link
Contributor

Environment

  • Development Kit: [none]
  • Module or chip used: [ESP32-WROOM-32D]
  • IDF version (run git describe --tags to find it): 3.40001.200521 (4.0.1)
  • Build System: [CMake]
  • Compiler version (run xtensa-esp32-elf-gcc --version to find it): 2.80200.200226 (8.2.0)
  • Operating System: [Windows]
  • (Windows only) environment type: PlatformIO
  • Using an IDE?: [Yes] PlatformIO
  • Power Supply: [USB]

Problem Description

wifi_ap_record_t.rssi value obtained by calling esp_wifi_sta_get_ap_info() is valid only for the moment ESP32 associated with the AP, and doesn't update when signal strength changes (ESP32 moves away/closer to the AP). If this is intended behavior, docs don't seem to be mentioning it. ESP8266 behaves differently and returns up-to-date value of RSSI.

@github-actions github-actions bot changed the title esp_wifi_sta_get_ap_info doesn't update RSSI value esp_wifi_sta_get_ap_info doesn't update RSSI value (IDFGH-3704) Jul 22, 2020
@liuzfesp
Copy link
Contributor

Hi @dyarkovoy, is the AP hidden AP?

@dyarkovoy
Copy link
Contributor Author

Hi, @liuzfesp , you are right, the AP is hidden and once I un-hide it, I get real-time RSSI readings.
So is it expected behavior for hidden APs?
Is there any other way to get real-time RSSI for hidden AP?

@HarveyRong-Esp
Copy link
Contributor

Hi @dyarkovoy, This is bug, we will fix it soon, thanks for your feedback.

@Alvin1Zhang
Copy link
Collaborator

@dyarkovoy Thanks for reporting, we had a fix under internal reviewing. This issue will be closed automatically once the fix is available on GitHub. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants