Skip to content

Commit

Permalink
Remove ZclDataType from auto code generation
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
  • Loading branch information
cdjackson committed Mar 10, 2019
1 parent 565b71f commit cc0204a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 172 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TimeZone;

import com.zsmartsystems.zigbee.autocode.xml.ZigBeeXmlCluster;
Expand Down Expand Up @@ -112,14 +111,12 @@ public static void main(final String[] args) {
allClusters.addAll(zdoClusters);
ZigBeeZclDependencyGenerator typeGenerator = new ZigBeeZclDependencyGenerator(allClusters);
Map<String, String> zclTypes = typeGenerator.getDependencyMap();
Set<String> dataTypes = typeGenerator.getZclTypeMap();

new ZigBeeZclClusterGenerator(zclClusters, generatedDate, zclTypes);
new ZigBeeZclCommandGenerator(zclClusters, generatedDate, zclTypes);
new ZigBeeZclConstantGenerator(zclClusters, generatedDate, zclTypes);
new ZigBeeZclStructureGenerator(zclClusters, generatedDate, zclTypes);
new ZigBeeZclClusterTypeGenerator(zclClusters, generatedDate, zclTypes);
new ZigBeeZclDataTypeGenerator(dataTypes, generatedDate);

new ZigBeeZclCommandGenerator(zdoClusters, generatedDate, zclTypes);

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import java.util.HashMap;
import java.util.Map;

import javax.annotation.Generated;

import com.zsmartsystems.zigbee.ExtendedPanId;
import com.zsmartsystems.zigbee.IeeeAddress;
import com.zsmartsystems.zigbee.zcl.ZclStatus;
Expand Down Expand Up @@ -40,10 +38,9 @@

/**
* Enumeration of the ZCL data types.
* <p>
* Code is auto-generated. Modifications may be overwritten!
*
* @author Chris Jackson
*/
@Generated(value = "com.zsmartsystems.zigbee.autocode.ZigBeeCodeGenerator", date = "2019-02-09T19:41:47Z")
public enum ZclDataType {
BINDING_TABLE(BindingTable.class, 0x00, false),
BITMAP_16_BIT(Integer.class, 0x19, false),
Expand Down

0 comments on commit cc0204a

Please sign in to comment.