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

[TW#15818] Enhance esp_wifi_ap_get_sta_list / wifi_sta_info_t to include RSSI, protocol #1095

Closed
nickzoic opened this issue Oct 10, 2017 · 5 comments
Labels
Type: Feature Request Feature request for IDF

Comments

@nickzoic
Copy link

When acting as an AP, there's a call (esp_wifi_ap_get_sta_list) to get the list of stations connected.
This returns a list connected stations as an array of wifi_sta_info_t, which at the moment only has the mac address.

It'd be helpful to also make available the most recent RSSI measurement and perhaps which protocol (b,g,n,lr) the station is using.

The station RSSI is also available from the esp_wifi_set_vendor_ie_cb mechanism, but matching this data up to the station list is fraught. See also: micropython/micropython-esp32#186

@FayeY FayeY changed the title Enhance esp_wifi_ap_get_sta_list / wifi_sta_info_t to include RSSI, protocol [TW#15818] Enhance esp_wifi_ap_get_sta_list / wifi_sta_info_t to include RSSI, protocol Oct 13, 2017
@liuzfesp
Copy link
Contributor

@nickzoic it's in our TODO list, will support it in idf3.1

@nickzoic
Copy link
Author

Brilliant, thank you!

@jack0c jack0c added the Type: Feature Request Feature request for IDF label Mar 21, 2018
@XinDeng11
Copy link
Contributor

Hi@nickzoic, we have added the rssi you need in the wifi_sta_info_t, you will find it after 3.1 release, if you earge to use, you can pull down the f3df30f9 after it merged, but it may need few days to merge for review and test

@nickzoic
Copy link
Author

That's great, we'll add it to MicroPython as soon as we can!

@igrr igrr closed this as completed in 8b38941 May 19, 2018
@nickzoic
Copy link
Author

Brilliant, thanks Ivan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request Feature request for IDF
Projects
None yet
Development

No branches or pull requests

4 participants