1.1.21.8 WDRV_WINC_OTAImageActivate
C
WDRV_WINC_STATUS WDRV_WINC_OTAImageActivate ( DRV_HANDLE handle, const WDRV_WINC_OTA_STATUS_CALLBACK pfUpdateStatusCB )
Description
Marks a firmware image in NVM memory as active so that it will be used on the next boot.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
Parameters
Parameters | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open . |
pfUpdateStatusCB | Callback to indicate update status. |
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.
Remarks
None.