1.2.13.4 WDRV_WINC_BSSReconnect Function
C
WDRV_WINC_STATUS WDRV_WINC_BSSReconnect ( DRV_HANDLE handle, WDRV_WINC_BSSCON_NOTIFY_CALLBACK pfNotifyCallback )
Summary
Reconnects to a BSS using stored credentials.
Description
Reconnects to the previous BSS using credentials stored from last time.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle. WDRV_WINC_BSSConnect must have previously been called to establish connection.
Parameters
Param | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open. |
pfNotifyCallback | Pointer to notification callback function. |
Returns
WDRV_WINC_STATUS_OK - The request has been 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.
WDRV_WINC_STATUS_CONNECT_FAIL - The connection has failed.
Remarks
None.