Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

Anonymous
Not applicable
[WICED-SDK-2.2.1]

I need to know info about the AP my device is connected to, how do I get this?
0 Likes
3 Replies
Anonymous
Not applicable
An API to get this info will be added in the next SDK release, until then,

please read the information & patch in the source code provided in the attached file.
0 Likes
Anonymous
Not applicable
Thanks for the code snippets to retreive the AP details of the connected AP. However, there seems to be a small bug in returned results.

Ive updated this code to translate the bss_info_t to ap_info_t just as in the scan_result_handler.

But when I do this in the wiced_wifi_get_ap_info() function I get the wrong security type.

Ive connected to a WPA2_AES network, but the functions returns that it is WEP_PSK.

The scan results, using the same translation code, are OK.
0 Likes
Anonymous
Not applicable
Hmm.. Ill need to investigate this further.

The scan result handler determines the security setting by parsing the IEs in the probe responses however I am not sure if all that information is kept in the same format in the wl_bss_info_t structure.

Ill look into it and get back to you.
0 Likes