Versions Compared

Key

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

Scan available wireless access point.

Files

net_if_wifi.h/net_if_wifi.c

Prototype

Code Block

          void NetIF_WiFi_Scan (NET_IF_NBR           if_nbr,
                                NET_IF_WIFI_AP      *p_buf_scan,
                                CPU_INT16U           buf_scan_len_max,
                          const NET_IF_WIFI_SSID    *p_ssid,
                                NET_IF_WIFI_CH       ch,
                                NET_ERR             *p_err);

Arguments

if_nbr

Interface number to scan wireless access point.

...

NET_IF_WIFI_ERR_NONE
NET_IF_WIFI_ERR_CH_INVALID
NET_IF_WIFI_ERR_SCAN
NET_IF_ERR_NULL_PTR

Returned Value

Number of wireless access point found and set in the scan buffer.

Required Configuration

None.

Notes / Warnings

None.