1.1.17.6 WDRV_WINC_InfoDeviceFirmwareVersionGet

C

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

Description

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

Precondition

WDRV_WINC_Initialize must have been called.

WDRV_WINC_Open must have been called to obtain a valid handle.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
activeFlag indicating if the active of inactive image is queried.
pFirmwareVersionPointer 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.