Command Ack


The Command Ack node acknowledges the command and send the acknowledgement to the cloud.

Node Type

EnOS.

Input and Output Ability

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

Node Properties

../../../_images/command_ack.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
    "MetaData": {
        "messageType": "CommandAck",
        "assetId": "QOY8LAL0",
        "deviceKey": "versionTestD1",
        "productKey": "bDIsc2KJ",
        "orgId": "o16172478070561926",
        "ts": "1665368323956"
    },
    "Body": {
        "id": "3158590665117351936",
        "code": 200,
        "data": {}
    }
}

Output Sample

The values of componentResult indicates whether the message is sent successfully.

  • Success: The whole message is sent successfully.

  • Failure: Failed to send part of or the whole message.


{
    "MetaData": {
        "messageType": "CommandAck",
        "assetId": "QOY8LAL0",
        "deviceKey": "versionTestD1",
        "productKey": "bDIsc2KJ",
        "orgId": "o16172478070561926",
        "componentResult": "Success",
        "ts": "1665368323956"
    },
    "Body": {
        "id": "3158590665117351936",
        "code": 200,
        "data": {}
    }
}