Skip to content

NET_SDK_GetUpgradeState

Interface Definition

1
2
int NET_SDK_GetUpgradeState(
    POINTERHANDLE lUpgradeHandle);
1
2
public static extern int NET_SDK_GetUpgradeState(
    POINTERHANDLE lUpgradeHandle);

Function Description

Get the status of the remote upgrade.

Parameter Description

Parameters Type Remark
lUpgradeHandlein POINTERHANDLE Upgrade handle, the return value of NET_SDK_Upgrade, NET_SDK_UpgradeEx, or NET_SDK_UpgradeIPC.

Return Value

  • type:int

  • remark:-1 indicates failure. The SDK cannot communicate with the device during the device upgrade. Other values ​​indicate the status. For details, refer to NET_SDK_ERROR.

Remarks

None

Error Code