1.2.6.10 WDRV_WINC_HTTPProvCtxSetConnectCallback Function

C

WDRV_WINC_STATUS WDRV_WINC_HTTPProvCtxSetConnectCallback
(
WDRV_WINC_HTTP_PROV_CONTEXT *const pHTTPProvCtx,
const WDRV_WINC_HTTPPROV_INFO_CALLBACK pfProvConnectInfoCB
)

Summary

Defines the connection information callback.

Description

Associates the function provided with the provisioning context. The callback will be used once the client has provided credentials to be used.

Precondition

WDRV_WINC_HTTPProvCtxSetDefaults must have been called.

Parameters

ParamDescription
pHTTPProvCtxPointer to provisioning store structure.
pfProvConnectInfoCBFunction pointer for callback function.

Returns

WDRV_WINC_STATUS_OK - The callback is set.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.