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.
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.