Closed danbim closed 11 years ago
As the WiseML self-description will be generated from the data in DeviceDB the DeviceConfig bean should include the nodes capabilities. Here's an example excerpt from the JSON representation:
"capability": [ { "name": "urn:wisebed:node:capability:ir", "datatype": "integer", "unit": "lux", "default": "0" }, { "name": "urn:wisebed:node:capability:humidity", "datatype": "integer", "unit": "raw", "default": "0" } ]
As the WiseML self-description will be generated from the data in DeviceDB the DeviceConfig bean should include the nodes capabilities. Here's an example excerpt from the JSON representation: