Post Firmware Upgrade Process


The Post Firmware Upgrade Process node posts the upgrade process of the device firmware.

Node Type

EnOS.

Input and Output Ability

This node has multiple entry points and 2 exit points (success/failure).

Node Properties

../../../_images/post_firmware_upgrade_process.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
    "MetaData": {
        "messageType": "OtaProgress",
        "assetId": "assetId",
        "deviceKey": "deviceKey",
        "productKey": "productKey",
        "orgId": "o16172478070561926",
        "ts": "1660639072629"
    },
    "Body": {
        "step": "100",
        "desc": "100"
    }
}

Output Sample

  • The values of componentResult indicates whether the message is sent successfully.
    • Success: The message is sent successfully.
    • Failure: Failed to send.
  • Body will display the progress of the device upgrade.


{
    "MetaData": {
        "messageType": "OtaProgress",
        "assetId": "assetId",
        "deviceKey": "deviceKey",
        "productKey": "productKey",
        "orgId": "o16172478070561926",
        "componentResult": "Success",
        "ts": "1660639072629"
    },
    "Body": {
        "step": "100",
        "desc": "100"
    }
}