wifi_get_scan_result_ssid()

Get the Service Set Identifier (SSID) for a Wi-Fi scan result entry.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_get_scan_result_ssid(wifi_scan_results_t *scan_results, int entry_number, char *ssid)

Since:

BlackBerry 10.2.0

Arguments:

scan_results

The scan result list.

entry_number

Scan result entry to query. The index range is between 1 and num_scan_entries, which can be queried by calling wifi_get_scan_results().

ssid

A buffer of length WIFI_MAX_SSID_BUFFER_LEN where the SSID will be copied. The SSID will be NULL terminated.

Library:

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

Description:

This function queries the SSID for the scan result entry provided.

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