Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Files

...

11234401123440Every Wireless Manager layer net_wifi_mgr.c Anchor11234461123446

Prototype

...

rowspan2

...

Anchor11234481123448 

 

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

Arguments

Anchor11396951139695p_if Anchor11396961139696

Pointer to the interface to scan with.

...

p_buf_scan Anchor11397641139764

Pointer to table that will receive the return network found.

...

11397651139765scan_len_max Anchor11397661139766

Length of the scan buffer (i.e., number of network that can be found).

Anchor11397871139787p_ssid Anchor11397821139782

Pointer to variable that contains the SSID to find.

...

ch Anchor11321811132181

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 Anchor11321931132193

Pointer to variable that will receive the return error code from this function.

...

Returned Values

...

11156221115622None.anchor11156231115623

Required Configuration

...

None.anchor10971981097198

Notes/Warnings

...

None.