1.2.16.2 WDRV_WINC_WPSEnrolleeDiscoveryStartPBC Function
C
WDRV_WINC_STATUS WDRV_WINC_WPSEnrolleeDiscoveryStartPBC ( DRV_HANDLE handle, const WDRV_WINC_WPS_DISC_CALLBACK pfWPSDiscoveryCallback )
Summary
Start WPS discovery (Push Button).
Description
Starts the WPS discovery as an enrollee using the Push Button method.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
Param | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open. |
pfWPSDiscoveryCallback | Callback function to return discovery results to. |
Returns
WDRV_WINC_STATUS_OK - Discovery request accepted.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
Remarks
None.