1.1.4.8 WDRV_WINC_InfoDeviceFirmwareVersionGet

Function

WDRV_WINC_STATUS WDRV_WINC_InfoDeviceFirmwareVersionGet
(
DRV_HANDLE handle,
bool active,
WDRV_WINC_FIRMWARE_VERSION_INFO *const pFirmwareVersion
)

Summary

Returns the WINC firmware version information.

Description

Returns information on the WINC firmware version and build date/time.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.

Parameters

handle - Client handle obtained by a call to WDRV_WINC_Open.

active - Flag indicating if the active of inactive image is queried.

pFirmwareVersion - Pointer to structure to receive version information.

Returns

WDRV_WINC_STATUS_OK - The information has been returned.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_RETRY_REQUEST - Version information not available, try again.

Remarks

None.