Functions
Device Upgrade

Upgrade device and get upgrade progress. More...

Functions

MV_CAMCTRL_API int __stdcall MV_CC_LocalUpgrade (IN void *handle, IN const void *strFilePathName)
 Device Local Upgrade. More...
 
MV_CAMCTRL_API int __stdcall MV_CC_GetUpgradeProcess (IN void *handle, IN OUT unsigned int *pnProcess)
 Current upgrade progress. More...
 

Detailed Description

Upgrade device and get upgrade progress.

Function Documentation

◆ MV_CC_LocalUpgrade()

MV_CAMCTRL_API int __stdcall MV_CC_LocalUpgrade ( IN void *  handle,
IN const void *  strFilePathName 
)

Device Local Upgrade.

Parameters
handle[IN] Device handle.
strFilePathName[IN] File name.
Returns
Return MV_OK for success, and return corresponding error code for failure.
Note
Call this API to send the upgrade firmware to the device for upgrade. For this API, information will be returned until the upgrade firmware is sent to the device. The response may take a long time.

◆ MV_CC_GetUpgradeProcess()

MV_CAMCTRL_API int __stdcall MV_CC_GetUpgradeProcess ( IN void *  handle,
IN OUT unsigned int *  pnProcess 
)

Current upgrade progress.

Parameters
handle[IN] Device handle.
pnProcess[IN][OUT] Current upgrade progress, from 0 to 100.
Returns
Return MV_OK for success, and return corresponding error code for failure.