5.13.0.0R1
Software Development Kit
WiFi Protected Setup

Functions

wiced_result_t wiced_wps_enrollee (wiced_wps_mode_t mode, const wiced_wps_device_detail_t *details, const char *password, wiced_wps_credential_t *credentials, uint16_t credential_count)
 
wiced_result_t wiced_wps_registrar (wiced_wps_mode_t mode, const wiced_wps_device_detail_t *details, const char *password, wiced_wps_credential_t *credentials, uint16_t credential_count)
 

Detailed Description

WICED functions to WPS (Wifi Protected Setup)

Function Documentation

wiced_result_t wiced_wps_enrollee ( wiced_wps_mode_t  mode,
const wiced_wps_device_detail_t details,
const char *  password,
wiced_wps_credential_t credentials,
uint16_t  credential_count 
)

Negotiates securely with a Wi-Fi Protected Setup (WPS) registrar (usually an Access Point) and obtains credentials necessary to join the AP.

Parameters
[in]mode: Indicates whether to use Push-Button (PBC) or PIN Number mode for WPS
[in]details: Pointer to a structure containing manufacturing details of this device
[in]password: Password for WPS PIN mode connections
[out]credentials: An array of credential structures that will receive the securely negotiated credentials
[out]credential_count: The number of structures in the credentials parameter
Returns
wiced_result_t
wiced_result_t wiced_wps_registrar ( wiced_wps_mode_t  mode,
const wiced_wps_device_detail_t details,
const char *  password,
wiced_wps_credential_t credentials,
uint16_t  credential_count 
)

Negotiates securely with a Wi-Fi Protected Setup (WPS) enrollee (usually a client device) and provides credentials necessary to join a SoftAP.

Parameters
[in]mode: Indicates whether to use Push-Button (PBC) or PIN Number mode for WPS
[in]details: Pointer to a structure containing manufacturing details of this device
[in]password: Password for WPS PIN mode connections
[out]credentials: An array of credential structures that will provide the securely negotiated credentials
[out]credential_count: The number of structures in the credentials parameter
Returns
wiced_result_t