ARM-software / CMSIS-Driver

Repository of microcontroller peripheral driver implementing the CMSIS-Driver API specification

Home Page:https://arm-software.github.io/CMSIS-Driver/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[enhancement] WiFi GetNetInfo does not populate bssid

xennex22 opened this issue · comments

I'm fairly sure it should as the ARM_WIFI_NET_INFO_t structure contains a bssid member.

It's fairly easy to add in after

strcpy (net_info->ssid, ap.ssid);

memcpy(net_info->bssid, ap.bssid, sizeof net_info->bssid);

Hi,
member bssid does not exist in ARM_WIFI_NET_INFO_t, please see CMSIS-Driver WiFi API specification:
https://github.com/ARM-software/CMSIS_5/blob/5220bc2a76efeb290beb8aa523da5306983ba498/CMSIS/Driver/Include/Driver_WiFi.h#L119-L128

Member bssid does exist in ARM_WIFI_SCAN_INFO_s used to scan available WiFi networks.

Yes, you are correct. I must have added it in because without it there is no way to match the AP you are connected to the scan list of APS if the SSID is hidden.