Mr-Markus / ZigbeeNet

A .NET Standard library for working with ZigBee
Eclipse Public License 1.0
131 stars 47 forks source link

namespace mismatch for some ZCL commands #127

Closed spudwebb closed 3 years ago

spudwebb commented 3 years ago

For example ZoneEnrollRequestCommand class is in the namesapce ZigBeeNet.ZCL.Clusters.IASZone, it should be ZigBeeNet.ZCL.Clusters.IasZone

the problem is in the code generator, we should generate namespace in ZigBeeZclCommandGenerator like we do in ZigBeeZclConstantGenerator:

@out.WriteLine("namespace ZigBeeNet" + packageRoot);