Sub-Device Login


The Sub-Device Login node logs in a sub-device.

Node Type

EnOS.

Input and Output Ability

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

Node Properties

../../../_images/sub_device_login.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
  "MetaData": {
    "messageType": "SubDeviceLogin",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "o16109619073861404",
    "ts": "1660640806971"
  },
  "Body": {
    "clientId": "yourClientId",
    "sign": "32930212b54a6ba1e04906bd69313009497cbe6fbb3047048350790d6c8444c2",
    "deviceKey": "deviceKey2",
    "productKey": "productKey2",
    "secureMode": "2",
    "signMethod": "sha256",
    "timestamp": "1660640806928"
  }
}

Output Sample

{
  "MetaData": {
    "messageType": "SubDeviceLogin",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Failure",
    "ts": "1660640806971"
  },
  "Body": {
    "clientId": "yourClientId",
    "sign": "32930212b54a6ba1e04906bd69313009497cbe6fbb3047048350790d6c8444c2",
    "deviceKey": "deviceKey2",
    "productKey": "productKey2",
    "secureMode": "2",
    "signMethod": "sha256",
    "timestamp": "1660640806928",
    "ComponentReply[SubDevice-Login]": {
      "productKey": "productKey2",
      "deviceKey": "deviceKey2"
    }
  }
}