Post Network Status


The Post Network Status node posts the device network status.

Node Type

EnOS.

Input and Output Ability

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

Node Properties

../../../_images/post_network_status.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
  "MetaData": {
    "messageType": "NetworkStatus",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "ts": "1654592954747"
  },
  "Body": {
    "collectTime": 1654592954627,
    "packetLossRate": 0.5,
    "networkType": "1",
    "reportTime": 1654592954627
  }
}

Output Sample

{
  "MetaData": {
    "messageType": "NetworkStatus",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Success",
    "ts": "1654592954747"
  },
  "Body": {
    "collectTime": 1654592954627,
    "packetLossRate": 0.5,
    "networkType": "1",
    "reportTime": 1654592954627
  }
}