...
NetWiFiMgr_AP_Scan()
...
The Wireless Manager’s AP_Scan()
function start the scan process. Results are passed back to the caller in a table of NET_IF_WIFI_AP
structure which contains fields for link network SSID, channel, network type, Security type and signal strength. Anchor
Files
...
net_wifi_mgr.c
Prototype
...
rowspan | 2 |
---|
...
Anchor
Note that since every Wireless Manager’s AP_Scan()
function is accessed only by function pointer via the Wireless Manager’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’. Anchor
static
’.Arguments
Anchor
p_if
Pointer to the interface to scan with.
...
p_buf_scan
Anchor
Pointer to table that will receive the return network found.
...
scan_len_max
Length of the scan buffer (i.e., number of network that can be found).
Anchor
p_ssid
Pointer to variable that contains the SSID to find.
...
ch
Anchor
The wireless channel to scan:
...
NET_IF_WIFI_CH_ALL
...
NET_IF_WIFI_CH_1
...
NET_IF_WIFI_CH_2
...
...
NET_IF_WIFI_CH_3
...
NET_IF_WIFI_CH_4
...
NET_IF_WIFI_CH_5
...
NET_IF_WIFI_CH_6
...
NET_IF_WIFI_CH_7
...
NET_IF_WIFI_CH_8
...
NET_IF_WIFI_CH_9
...
NET_IF_WIFI_CH_10
...
NET_IF_WIFI_CH_11
...
...
NET_IF_WIFI_CH_12
...
NET_IF_WIFI_CH_13
...
NET_IF_WIFI_CH_14
...
...
perr
Anchor
Pointer to variable that will receive the return error code from this function.
...
Returned Values
...
Required Configuration
...
None.anchor
Notes/Warnings
...
None.