Fix database loading error for node model identifier

pull/9/head
Simon Stürz 2020-10-28 08:18:00 +01:00
parent a9d55b18fb
commit 531d8075d4
3 changed files with 3 additions and 34 deletions

View File

@ -1,31 +0,0 @@
# Library architecture
* `ZigbeeNetworkManager(ZigbeeNetworkInterfaceType)`: This is the main entry point for using the library. Here you can specify which interface should be used.
* `ZigbeeNetworkInterface` Create a generic interface depending on the selected `ZigbeeNetworkInterfaceType`
* `ZigbeeUartInterface`
* `ZigbeeUartInterfaceNxp` (WIP)
* `ZigbeeUartInterfaceDeconz` (TODO)
* `ZigbeeUartInterfaceNordic` (TODO)
* `ZigbeeNetwork(ZigbeeNetworkInterface)`
PROPERTY `panId`
PROPERTY `channel`
PROPERTY `type`
...
* List of `ZigbeeNode(ZigbeeNetworkInterface)`
PROPERTY `ieeeAddress`
PROPERTY `shortAddress`
PROPERTY `nodeDescriptor`
PROPERTY `powerDescriptor`
* List of `ZigbeeNodeEndpoint(ZigbeeNetworkInterface)`
property `profile`
property `deviceType`
* List of `InputCluster`
* List of `Attributes`
* List of `Commands`
* List of `OutputCluster`
* List of `Attributes`
* List of `Commands`

View File

@ -11,8 +11,8 @@ Depending on your available hardware following gateway modules are supported
> Note: the firmware erquires an entire rework and implement the APS layer
* ~~JN5168 (SoM)~~
* ~~JN5169 (USB Stick)~~
* JN5168 (SoM)
* JN5169 (USB Stick)
## deCONZ

View File

@ -141,7 +141,7 @@ QList<ZigbeeNode *> ZigbeeNetworkDatabase::loadNodes()
endpoint->m_manufacturerName = basicCluster->attribute(ZigbeeClusterBasic::AttributeManufacturerName).dataType().toString();
if (basicCluster->hasAttribute(ZigbeeClusterBasic::AttributeModelIdentifier))
endpoint->m_modelIdentifier = basicCluster->attribute(ZigbeeClusterBasic::AttributeManufacturerName).dataType().toString();
endpoint->m_modelIdentifier = basicCluster->attribute(ZigbeeClusterBasic::AttributeModelIdentifier).dataType().toString();
if (basicCluster->hasAttribute(ZigbeeClusterBasic::AttributeSwBuildId))
endpoint->m_softwareBuildId = basicCluster->attribute(ZigbeeClusterBasic::AttributeSwBuildId).dataType().toString();