wifi_get_scan_result_bssid()

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

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_get_scan_result_bssid(wifi_scan_results_t *scan_results, int entry_number, uint8_t *bssid)

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

bssid

A buffer of length WIFI_BSSID_ADDR_LEN where the BSSID will be copied.

Library:

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

Description:

This function queries the BSSID 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