Skip to content

Expand access to SDK's struct bss_info#8683

Merged
mcspr merged 3 commits into
esp8266:masterfrom
mhightower83:pr-raw-getNetworkInfo
Oct 10, 2022
Merged

Expand access to SDK's struct bss_info#8683
mcspr merged 3 commits into
esp8266:masterfrom
mhightower83:pr-raw-getNetworkInfo

Conversation

@mhightower83
Copy link
Copy Markdown
Contributor

@mhightower83 mhightower83 commented Oct 8, 2022

The NONOS SDK's struct bss_info in user_interface.h has grown since the beginning of this project. The additional elements are not accessible. Add a method for R/O access to full struct bss_info.

const bss_info *ESP8266WiFiScanClass::getScanInfoByIndex(int i);

Update example WiFiScan.ino

Requested here #7965 (comment). I have also needed this feature.

The NONOS SDK's `struct bss_info` in `user_interface.h` has grown since the
beginning of this project. The additional elements are not accessible.
Add a method for R/O access to full `struct bss_info`.

Update example WiFiScan.ino
Comment thread libraries/ESP8266WiFi/src/ESP8266WiFiScan.cpp Outdated
@mcspr mcspr merged commit 3df5693 into esp8266:master Oct 10, 2022
@mcspr mcspr mentioned this pull request Oct 10, 2022
@mhightower83 mhightower83 deleted the pr-raw-getNetworkInfo branch October 11, 2022 16:51
@mcspr mcspr added this to the 3.1 milestone Nov 2, 2022
@TD-er
Copy link
Copy Markdown
Contributor

TD-er commented Nov 3, 2022

Thanks!

hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request Nov 18, 2024
The NONOS SDK's `struct bss_info` in `user_interface.h` has grown since the
beginning of this project. The additional elements are not accessible.
Add a method for R/O access to full `struct bss_info`.

See esp8266#7965 (comment)
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

Successfully merging this pull request may close these issues.

3 participants