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/4.1/common/api/group-status for details.
1056
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/4.1/common/api/group-status for details.
Note
Client interfaces are not supported.
1075
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/4.1/common/api/group-status for details.
Note
Client interfaces are not supported.
1092
of file components/protocol/wifi/inc/sl_wifi.h