Wi-Fi Protected Setup#
Functions#
Generate Wi-Fi Protected Setup (WPS) pin.
Start Wi-Fi Protected Setup (WPS).
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.
[out] | response | sl_wifi_wps_pin_t object that will contain the WPS pin. |
Pre-conditions:
sl_wifi_init should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/latest/platform-common/status for details.
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).
[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. |
Pre-conditions:
sl_wifi_start_ap should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/latest/platform-common/status for details.
Note
This API is supported only in AP mode.
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).
[in] | interface | Wi-Fi Access Point interface as identified by sl_wifi_interface_t |
Pre-conditions:
sl_wifi_start_wps should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/latest/platform-common/status for details.
Note
This API is supported only in AP mode.
1220
of file components/protocol/wifi/inc/sl_wifi.h