Versions Compared

Key

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


...

Function NameDescription
NetIF_WiFi_

...

...

Create an wireless access point.

Files

...

...

Prototype

 

Arguments

if_nbr

...

WiFi_Join()Join an wireless access point.

...

...

...

Pointer to a buffer that will receive wireless access point found.

buf_scan_len_max

Maximum number of access point that can be stored in the scan buffer.

p_ssid

Pointer to a:

a. string that contains the hidden SSID to scan for

b. null pointer, if the scan is for all SSID broadcasted.

ch

Wireless channel number 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

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

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

...

Leave()Leave the access point previously joined.
NetIF_WiFi_Scan() Scan available wireless access point.
NetIF_WiFi_GetPeerInfo() Get the info of peers connected to the access point.