wifi_get_user_profiles()

Get the current user-saved Wi-Fi profile list.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_get_user_profiles(wifi_user_profile_list_t **profiles, int *num_user_profiles)

Since:

BlackBerry 10.2.0

Arguments:

profiles

Pointer that will be set to the user profile list.

num_user_profiles

The number of user profiles in the list.

Library:

libwifi (For the qcc command, use the -l wifi option to link against this library)

Description:

This function queries the user profile list. The wifi_free_user_profiles() function must be called to free the user profiles list when processing is complete.

The user profiles can be decoded by looping from 1 to num_user_profiles and calling one of the functions prefixed with wifi_get_user_profile_ to extract the details of each user profile entry.

Returns:

A return code from wifi_result_t.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus