Wi-Fi Protected Setup#

Functions#

sl_status_t
sl_wifi_generate_wps_pin(sl_wifi_wps_pin_t *response)

Generate Wi-Fi Protected Setup (WPS) pin.

sl_status_t
sl_wifi_start_wps(sl_wifi_interface_t interface, sl_wifi_wps_mode_t mode, const sl_wifi_wps_pin_t *optional_wps_pin)

Start Wi-Fi Protected Setup (WPS).

sl_status_t
sl_wifi_stop_wps(sl_wifi_interface_t interface)

Stop current running Wi-Fi Protected Setup (WPS).

Function Documentation#

sl_wifi_generate_wps_pin#

sl_status_t sl_wifi_generate_wps_pin (sl_wifi_wps_pin_t * response)

Generate Wi-Fi Protected Setup (WPS) pin.

Parameters
[out]response

sl_wifi_wps_pin_t object that will contain the WPS pin.

  • Pre-conditions:

Returns


Definition at line 1184 of file components/protocol/wifi/inc/sl_wifi.h

sl_wifi_start_wps#

sl_status_t sl_wifi_start_wps (sl_wifi_interface_t interface, sl_wifi_wps_mode_t mode, const sl_wifi_wps_pin_t * optional_wps_pin)

Start Wi-Fi Protected Setup (WPS).

Parameters
[in]interface

Wi-Fi Access Point interface as identified by sl_wifi_interface_t

[in]mode

WPS mode as identified by sl_wifi_wps_mode_t

[in]optional_wps_pin

WPS pin object sl_wifi_wps_pin_t when SL_WIFI_WPS_PIN_MODE is used.

Returns

Note

  • This API is supported only in AP mode.


Definition at line 1203 of file components/protocol/wifi/inc/sl_wifi.h

sl_wifi_stop_wps#

sl_status_t sl_wifi_stop_wps (sl_wifi_interface_t interface)

Stop current running Wi-Fi Protected Setup (WPS).

Parameters
[in]interface

Wi-Fi Access Point interface as identified by sl_wifi_interface_t

Returns

Note

  • This API is supported only in AP mode.


Definition at line 1220 of file components/protocol/wifi/inc/sl_wifi.h