diff --git a/src-electron/zcl/zcl-loader-dotdot.js b/src-electron/zcl/zcl-loader-dotdot.js index 1b452cffc6..3a3c97874e 100644 --- a/src-electron/zcl/zcl-loader-dotdot.js +++ b/src-electron/zcl/zcl-loader-dotdot.js @@ -380,7 +380,7 @@ function prepareCluster(cluster, types, isExtension = false) { //ret.description = '' // TODO: no description in dotdot zcl ret.define = cluster.$.name // TODO: no define in dotdot zcl ret.domain = cluster.classification[0].$.role - //ret.manufacturerCode = '' // TODO: no manufacturer code in dotdot zcl + ret.manufacturerCode = parseInt(normalizeHexValue(cluster.$.manufacturer)) ret.revision = cluster.$.revision ret.isSingleton = false // TODO: dotdot is not supporting singletons } @@ -534,6 +534,7 @@ function prepareStruct(type) { name: field.$.name, type: field.$.type, fieldIdentifier: index + 1, + array: field.$.array, }) }) })