Post Firmware Version


The Post Firmware Version node posts the version information 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_version.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
    "MetaData": {
        "messageType": "OtaInform",
        "assetId": "assetId",
        "deviceKey": "deviceKey",
        "productKey": "productKey",
        "orgId": "yourorgId",
        "ts": "1660639072629"
    },
    "Body": {
        "version": "1.0.3"
    }
}

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 current device firmware version.


{
    "MetaData": {
        "messageType": "OtaInform",
        "assetId": "assetId",
        "deviceKey": "deviceKey",
        "productKey": "productKey",
        "orgId": "yourorgId",
        "componentResult": "Success",
        "ts": "1660639072629"
    },
    "Body": {
        "version": "1.0.3"
    }
}