-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add outline ZLL Commissioning definition (#1446)
Signed-off-by: Chris Jackson <[email protected]>
- Loading branch information
Showing
4 changed files
with
73 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
com.zsmartsystems.zigbee.autocode/src/main/resources/1000_ZllCommissioning.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="zigbee-description.xsd" code="0x1000"> | ||
<name>Light Link Commissioning</name> | ||
<description>Cluster used for commissioning ZLL devices, including touchlinking and network management.</description> | ||
</cluster> |
62 changes: 62 additions & 0 deletions
62
...src/main/java/com/zsmartsystems/zigbee/zcl/clusters/ZclLightLinkCommissioningCluster.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/** | ||
* Copyright (c) 2016-2024 by the respective copyright holders. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package com.zsmartsystems.zigbee.zcl.clusters; | ||
|
||
import java.util.Map; | ||
import java.util.concurrent.ConcurrentSkipListMap; | ||
|
||
import javax.annotation.Generated; | ||
|
||
import com.zsmartsystems.zigbee.ZigBeeEndpoint; | ||
import com.zsmartsystems.zigbee.zcl.ZclAttribute; | ||
import com.zsmartsystems.zigbee.zcl.ZclCluster; | ||
|
||
/** | ||
* <b>Light Link Commissioning</b> cluster implementation (<i>Cluster ID 0x1000</i>). | ||
* <p> | ||
* Cluster used for commissioning ZLL devices, including touchlinking and network | ||
* management. | ||
* <p> | ||
* Code is auto-generated. Modifications may be overwritten! | ||
*/ | ||
@Generated(value = "com.zsmartsystems.zigbee.autocode.ZigBeeCodeGenerator", date = "2024-11-19T22:12:16Z") | ||
public class ZclLightLinkCommissioningCluster extends ZclCluster { | ||
/** | ||
* The ZigBee Cluster Library Cluster ID | ||
*/ | ||
public static final int CLUSTER_ID = 0x1000; | ||
|
||
/** | ||
* The ZigBee Cluster Library Cluster Name | ||
*/ | ||
public static final String CLUSTER_NAME = "Light Link Commissioning"; | ||
|
||
@Override | ||
protected Map<Integer, ZclAttribute> initializeClientAttributes() { | ||
Map<Integer, ZclAttribute> attributeMap = super.initializeClientAttributes(); | ||
|
||
return attributeMap; | ||
} | ||
|
||
@Override | ||
protected Map<Integer, ZclAttribute> initializeServerAttributes() { | ||
Map<Integer, ZclAttribute> attributeMap = super.initializeServerAttributes(); | ||
|
||
return attributeMap; | ||
} | ||
|
||
|
||
/** | ||
* Default constructor to create a Light Link Commissioning cluster. | ||
* | ||
* @param zigbeeEndpoint the {@link ZigBeeEndpoint} this cluster is contained within | ||
*/ | ||
public ZclLightLinkCommissioningCluster(final ZigBeeEndpoint zigbeeEndpoint) { | ||
super(zigbeeEndpoint, CLUSTER_ID, CLUSTER_NAME); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters