github.com/enbility/spine-go@v0.7.0/spine/testdata/nm_detaileddiscoverydata_send_reply_expected.json (about)

     1  {
     2      "datagram": {
     3          "header": {
     4              "specificationVersion": "1.3.0",
     5              "addressSource": {
     6                  "device": "TestDeviceAddress",
     7                  "entity": [
     8                      0
     9                  ],
    10                  "feature": 0
    11              },
    12              "addressDestination": {
    13                  "device": "HEMS",
    14                  "entity": [
    15                      0
    16                  ],
    17                  "feature": 0
    18              },
    19              "msgCounter": 2,
    20              "msgCounterReference": 1,
    21              "cmdClassifier": "reply"
    22          },
    23          "payload": {
    24              "cmd": [
    25                  {
    26                      "nodeManagementDetailedDiscoveryData": {
    27                          "specificationVersionList": {
    28                              "specificationVersion": [
    29                                  "1.3.0"
    30                              ]
    31                          },
    32                          "deviceInformation": {
    33                              "description": {
    34                                  "deviceAddress": {
    35                                      "device": "TestDeviceAddress"
    36                                  },
    37                                  "deviceType": "EnergyManagementSystem",
    38                                  "networkFeatureSet": "smart"
    39                              }
    40                          },
    41                          "entityInformation": [
    42                              {
    43                                  "description": {
    44                                      "entityAddress": {
    45                                          "device": "TestDeviceAddress",
    46                                          "entity": [
    47                                              0
    48                                          ]
    49                                      },
    50                                      "entityType": "DeviceInformation"
    51                                  }
    52                              }
    53                          ],
    54                          "featureInformation": [
    55                              {
    56                                  "description": {
    57                                      "featureAddress": {
    58                                          "device": "TestDeviceAddress",
    59                                          "entity": [
    60                                              0
    61                                          ],
    62                                          "feature": 0
    63                                      },
    64                                      "featureType": "NodeManagement",
    65                                      "role": "special",
    66                                      "supportedFunction": [
    67                                          {
    68                                              "function": "nodeManagementSubscriptionDeleteCall",
    69                                              "possibleOperations": {}
    70                                          },
    71                                          {
    72                                              "function": "nodeManagementBindingData",
    73                                              "possibleOperations": {
    74                                                  "read": {}
    75                                              }
    76                                          },
    77                                          {
    78                                              "function": "nodeManagementBindingRequestCall",
    79                                              "possibleOperations": {}
    80                                          },
    81                                          {
    82                                              "function": "nodeManagementBindingDeleteCall",
    83                                              "possibleOperations": {}
    84                                          },
    85                                          {
    86                                              "function": "nodeManagementDestinationListData",
    87                                              "possibleOperations": {
    88                                                  "read": {}
    89                                              }
    90                                          },
    91                                          {
    92                                              "function": "nodeManagementDetailedDiscoveryData",
    93                                              "possibleOperations": {
    94                                                  "read": {}
    95                                              }
    96                                          },
    97                                          {
    98                                              "function": "nodeManagementUseCaseData",
    99                                              "possibleOperations": {
   100                                                  "read": {}
   101                                              }
   102                                          },
   103                                          {
   104                                              "function": "nodeManagementSubscriptionData",
   105                                              "possibleOperations": {
   106                                                  "read": {}
   107                                              }
   108                                          },
   109                                          {
   110                                              "function": "nodeManagementSubscriptionRequestCall",
   111                                              "possibleOperations": {}
   112                                          }									
   113                                      ]
   114                                  }
   115                              },
   116                              {
   117                                  "description": {
   118                                      "featureAddress": {
   119                                          "device": "TestDeviceAddress",
   120                                          "entity": [
   121                                              0
   122                                          ],
   123                                          "feature": 1
   124                                      },
   125                                      "featureType": "DeviceClassification",
   126                                      "role": "server",
   127                                      "supportedFunction": [
   128                                          {
   129                                              "function": "deviceClassificationManufacturerData",
   130                                              "possibleOperations": {
   131                                                  "read": {}
   132                                              }
   133                                          }
   134                                      ]
   135                                  }
   136                              }
   137                          ]
   138                      }
   139                  }
   140              ]
   141          }
   142      }
   143  }