1.2.12.2 WDRV_WINC_APStart Function

C

WDRV_WINC_STATUS WDRV_WINC_APStart
(
DRV_HANDLE handle,
const WDRV_WINC_BSS_CONTEXT *const pBSSCtx,
const WDRV_WINC_AUTH_CONTEXT *const pAuthCtx,
const WDRV_WINC_HTTP_PROV_CONTEXT *const pHTTPProvCtx,
const WDRV_WINC_BSSCON_NOTIFY_CALLBACK pfNotifyCallback
)

Summary

Starts an instance of Soft-AP.

Description

Using the defined BSS and authentication contexts with an optional HTTP provisioning context (socket mode only) this function creates and starts a Soft-AP instance.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle. A BSS context must have been created and initialized. An authentication context must have been created and initialized.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
pBSSCtxPointer to BSS context.
pAuthCtxPointer to authentication context.
pHTTPProvCtxPointer to HTTP provisioning context (optional).
pfNotifyCallbackPointer 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_INVALID_CONTEXT - The BSS context is not valid.

Remarks

None.