[chef] chg: removed Thread, Wifi and Ethernet Diagnostics Clusters (#23413)
* chg: removed Thread Diagnostics, Wifi Diagnostics and Ethernet Diagnostics clusters
* chg: removed User Label Cluster, Scenes Cluster
* chg: default value of DefaultOtaProviders set to empty string
* Regenerating ZAP
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
index 25d88fb..46a52ab 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -1388,13 +1272,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1658,12 +1541,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 257;
@@ -1689,19 +1566,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
ram attribute globalSceneControl default = 1;
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap
index dcd4d1a..c6af5d2 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -7292,5 +7292,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
index dd7209e..f5684bb 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
@@ -881,256 +881,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
kWindowNotOpen = 0;
@@ -1730,106 +1480,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster AdministratorCommissioning {
callback attribute windowStatus;
callback attribute adminFabricIndex default = 1;
diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
index 35f8e4a..03bcb20 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -235,7 +235,7 @@
],
"attributes": [
{
- "name": "name support",
+ "name": "NameSupport",
"code": 0,
"mfgCode": null,
"side": "server",
@@ -2982,7 +2982,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -4068,7 +4068,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4354,7 +4354,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5645,7 +5645,7 @@
],
"attributes": [
{
- "name": "name support",
+ "name": "NameSupport",
"code": 0,
"mfgCode": null,
"side": "server",
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
index e83b7e9..0177e33 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -764,256 +759,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1267,13 +1012,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1415,106 +1159,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1553,12 +1197,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 21;
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
index 01a9ba2..b572d75 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6120,5 +6120,6 @@
"endpointVersion": 1,
"deviceIdentifier": 21
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
index a8e9510..49f75ce 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -1019,256 +903,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1522,13 +1156,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1667,106 +1300,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1805,12 +1338,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 257;
@@ -1836,19 +1363,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
ram attribute globalSceneControl default = 1;
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
index 29d1284..f1497f6 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -7292,5 +7292,6 @@
"endpointVersion": 1,
"deviceIdentifier": 257
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
index 06ba498..13f3a46 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,228 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-client cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster Descriptor = 29 {
struct DeviceTypeStruct {
devtype_id type = 0;
@@ -986,256 +759,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1489,13 +1012,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -2022,106 +1544,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -2160,16 +1582,9 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 10;
- binding cluster Scenes;
binding cluster Binding;
server cluster Identify {
@@ -2191,19 +1606,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster Descriptor {
callback attribute deviceTypeList;
callback attribute serverList;
diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
index 9670df1..6b0545f 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5612,7 +5612,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "client",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddScene",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -8992,5 +8992,6 @@
"endpointVersion": 1,
"deviceIdentifier": 10
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
index 229406a..e576750 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -1019,256 +903,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1522,13 +1156,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1922,106 +1555,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -2060,12 +1593,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 269;
@@ -2090,19 +1617,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
ram attribute globalSceneControl default = 1;
diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
index f088a81..ad7c81e 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -8410,5 +8410,6 @@
"endpointVersion": 1,
"deviceIdentifier": 269
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index 825ae1b..e750f57 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -766,256 +761,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1271,13 +1016,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1474,106 +1218,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
@@ -1614,12 +1258,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 43;
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap b/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
index f0a39a2..88591d3 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -3030,7 +3030,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -4116,7 +4116,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4402,7 +4402,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5316,7 +5316,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6316,5 +6316,6 @@
"endpointVersion": 1,
"deviceIdentifier": 43
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
index dfafa83..c3fbdaf 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -777,256 +772,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1280,13 +1025,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1427,106 +1171,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1565,12 +1209,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 774;
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
index 70c38fb..5f8092a 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6168,5 +6168,6 @@
"endpointVersion": 1,
"deviceIdentifier": 774
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
index 893d7ca..d0ee4e4 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -1012,256 +896,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1515,13 +1149,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1775,106 +1408,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1913,12 +1446,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 768;
@@ -1944,19 +1471,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap default = 1;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
callback attribute generatedCommandList;
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap
index ea77b8e..60a6850 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5678,7 +5678,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -7988,5 +7988,6 @@
"endpointVersion": 1,
"deviceIdentifier": 768
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
index 58f9266..e1227bc 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -777,256 +772,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1280,13 +1025,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1427,106 +1171,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1565,12 +1209,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 775;
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
index cca06b9..abbfe47 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6168,5 +6168,6 @@
"endpointVersion": 1,
"deviceIdentifier": 775
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
index 18726ff..d74341c 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -777,256 +772,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1280,13 +1025,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1431,106 +1175,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1569,12 +1213,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 262;
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
index c2a3edc..17290e4 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6184,5 +6184,6 @@
"endpointVersion": 1,
"deviceIdentifier": 262
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
index 9d14f8d..d266a0e 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -777,256 +772,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1280,13 +1025,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1426,106 +1170,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1564,12 +1208,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 263;
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
index 484bb62..7b43a9e 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6296,5 +6296,6 @@
"endpointVersion": 1,
"deviceIdentifier": 263
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
index 58d5544..c87555b 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -1019,256 +903,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1522,13 +1156,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1657,106 +1290,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1795,12 +1328,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 256;
@@ -1825,19 +1352,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
ram attribute globalSceneControl default = 1;
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
index 4566d5c..3626cfb 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -7292,5 +7292,6 @@
"endpointVersion": 1,
"deviceIdentifier": 256
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
index ccfb19f..156646c 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,228 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-client cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
client cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -1078,256 +851,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1581,13 +1104,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1716,106 +1238,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1854,16 +1276,9 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 259;
- binding cluster Scenes;
binding cluster OnOff;
binding cluster Binding;
@@ -1886,19 +1301,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
callback attribute generatedCommandList;
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap
index 8e7e6fd..cc3f687 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5612,7 +5612,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "client",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddScene",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -7292,5 +7292,6 @@
"endpointVersion": 1,
"deviceIdentifier": 259
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
index 333f6ae..1575d81 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster OnOff = 6 {
enum OnOffDelayedAllOffEffectVariant : ENUM8 {
kFadeToOffIn0p8Seconds = 0;
@@ -925,256 +809,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1428,13 +1062,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1563,106 +1196,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1701,12 +1234,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 266;
@@ -1731,19 +1258,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster OnOff {
ram attribute onOff;
ram attribute globalSceneControl default = 1;
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
index b3d86bd..168215c 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -6968,5 +6968,6 @@
"endpointVersion": 1,
"deviceIdentifier": 266
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
index 400870c..593a08e 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
@@ -777,256 +777,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1430,106 +1180,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
index d4fe95f..f77fd07 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -6248,5 +6248,6 @@
"endpointVersion": 1,
"deviceIdentifier": 773
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
index ff28ec0..7144dd9 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -899,256 +894,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1402,13 +1147,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1537,106 +1281,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1675,12 +1319,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 34;
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
index d96afdd..8e548fc 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6400,5 +6400,6 @@
"endpointVersion": 1,
"deviceIdentifier": 34
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
index d5773c3..30796b5 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -777,256 +772,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1280,13 +1025,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1426,106 +1170,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1564,12 +1208,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 770;
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap
index 758acc3..6a4c36b 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -6168,5 +6168,6 @@
"endpointVersion": 1,
"deviceIdentifier": 770
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
index 55ac042..4f58b00 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster Descriptor = 29 {
struct DeviceTypeStruct {
devtype_id type = 0;
@@ -875,256 +759,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1378,13 +1012,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1675,106 +1308,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1813,12 +1346,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 769;
@@ -1847,19 +1374,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster Descriptor {
callback attribute deviceTypeList;
callback attribute serverList;
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
index bd10dae..5b3d8c9 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2934,7 +2934,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -4020,7 +4020,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4306,7 +4306,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5188,7 +5188,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5760,7 +5760,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -7648,5 +7648,6 @@
"endpointVersion": 1,
"deviceIdentifier": 769
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
index fe71c91..602e899 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
@@ -1,11 +1,6 @@
// This IDL was generated automatically by ZAP.
// It is for view/code review purposes only.
-struct LabelStruct {
- char_string<16> label = 0;
- char_string<16> value = 1;
-}
-
server cluster Identify = 3 {
enum IdentifyEffectIdentifier : ENUM8 {
kBlink = 0;
@@ -107,117 +102,6 @@
fabric command access(invoke: manage) AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
}
-server cluster Scenes = 5 {
- bitmap ScenesCopyMode : BITMAP8 {
- kCopyAllScenes = 0x1;
- }
-
- struct ExtensionFieldSet {
- cluster_id clusterId = 0;
- AttributeValuePair attributeValueList[] = 1;
- }
-
- struct AttributeValuePair {
- optional attrib_id attributeId = 0;
- int8u attributeValue[] = 1;
- }
-
- readonly attribute int8u sceneCount = 0;
- readonly attribute int8u currentScene = 1;
- readonly attribute group_id currentGroup = 2;
- readonly attribute boolean sceneValid = 3;
- readonly attribute bitmap8 nameSupport = 4;
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- request struct AddSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
- ExtensionFieldSet extensionFieldSets[] = 4;
- }
-
- request struct ViewSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RemoveAllScenesRequest {
- group_id groupId = 0;
- }
-
- request struct StoreSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- }
-
- request struct RecallSceneRequest {
- group_id groupId = 0;
- INT8U sceneId = 1;
- optional nullable INT16U transitionTime = 2;
- }
-
- request struct GetSceneMembershipRequest {
- group_id groupId = 0;
- }
-
- response struct AddSceneResponse = 0 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct ViewSceneResponse = 1 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
- optional ExtensionFieldSet extensionFieldSets[] = 5;
- }
-
- response struct RemoveSceneResponse = 2 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct RemoveAllScenesResponse = 3 {
- ENUM8 status = 0;
- group_id groupId = 1;
- }
-
- response struct StoreSceneResponse = 4 {
- ENUM8 status = 0;
- group_id groupId = 1;
- INT8U sceneId = 2;
- }
-
- response struct GetSceneMembershipResponse = 6 {
- ENUM8 status = 0;
- nullable INT8U capacity = 1;
- group_id groupId = 2;
- optional INT8U sceneList[] = 3;
- }
-
- fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0;
- fabric command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
- fabric command access(invoke: manage) RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
- fabric command access(invoke: manage) RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
- fabric command access(invoke: manage) StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
- fabric command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
- fabric command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
-}
-
server cluster Descriptor = 29 {
struct DeviceTypeStruct {
devtype_id type = 0;
@@ -875,256 +759,6 @@
command ResetWatermarks(): DefaultSuccess = 0;
}
-server cluster ThreadNetworkDiagnostics = 53 {
- enum NetworkFault : ENUM8 {
- kUnspecified = 0;
- kLinkDown = 1;
- kHardwareFailure = 2;
- kNetworkJammed = 3;
- }
-
- enum RoutingRole : ENUM8 {
- kUnspecified = 0;
- kUnassigned = 1;
- kSleepyEndDevice = 2;
- kEndDevice = 3;
- kReed = 4;
- kRouter = 5;
- kLeader = 6;
- }
-
- enum ThreadConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- bitmap ThreadNetworkDiagnosticsFeature : BITMAP32 {
- kPacketCounts = 0x1;
- kErrorCounts = 0x2;
- kMLECounts = 0x4;
- kMACCounts = 0x8;
- }
-
- struct NeighborTable {
- int64u extAddress = 0;
- int32u age = 1;
- int16u rloc16 = 2;
- int32u linkFrameCounter = 3;
- int32u mleFrameCounter = 4;
- int8u lqi = 5;
- nullable int8s averageRssi = 6;
- nullable int8s lastRssi = 7;
- int8u frameErrorRate = 8;
- int8u messageErrorRate = 9;
- boolean rxOnWhenIdle = 10;
- boolean fullThreadDevice = 11;
- boolean fullNetworkData = 12;
- boolean isChild = 13;
- }
-
- struct RouteTable {
- int64u extAddress = 0;
- int16u rloc16 = 1;
- int8u routerId = 2;
- int8u nextHop = 3;
- int8u pathCost = 4;
- int8u LQIIn = 5;
- int8u LQIOut = 6;
- int8u age = 7;
- boolean allocated = 8;
- boolean linkEstablished = 9;
- }
-
- struct SecurityPolicy {
- int16u rotationTime = 0;
- bitmap16 flags = 1;
- }
-
- struct OperationalDatasetComponents {
- boolean activeTimestampPresent = 0;
- boolean pendingTimestampPresent = 1;
- boolean masterKeyPresent = 2;
- boolean networkNamePresent = 3;
- boolean extendedPanIdPresent = 4;
- boolean meshLocalPrefixPresent = 5;
- boolean delayPresent = 6;
- boolean panIdPresent = 7;
- boolean channelPresent = 8;
- boolean pskcPresent = 9;
- boolean securityPolicyPresent = 10;
- boolean channelMaskPresent = 11;
- }
-
- info event ConnectionStatus = 0 {
- ThreadConnectionStatus connectionStatus = 0;
- }
-
- info event NetworkFaultChange = 1 {
- NetworkFault current[] = 0;
- NetworkFault previous[] = 1;
- }
-
- readonly attribute nullable int16u channel = 0;
- readonly attribute nullable RoutingRole routingRole = 1;
- readonly attribute nullable char_string<16> networkName = 2;
- readonly attribute nullable int16u panId = 3;
- readonly attribute nullable int64u extendedPanId = 4;
- readonly attribute nullable octet_string<17> meshLocalPrefix = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute NeighborTable neighborTableList[] = 7;
- readonly attribute RouteTable routeTableList[] = 8;
- readonly attribute nullable int32u partitionId = 9;
- readonly attribute nullable int8u weighting = 10;
- readonly attribute nullable int8u dataVersion = 11;
- readonly attribute nullable int8u stableDataVersion = 12;
- readonly attribute nullable int8u leaderRouterId = 13;
- readonly attribute int16u detachedRoleCount = 14;
- readonly attribute int16u childRoleCount = 15;
- readonly attribute int16u routerRoleCount = 16;
- readonly attribute int16u leaderRoleCount = 17;
- readonly attribute int16u attachAttemptCount = 18;
- readonly attribute int16u partitionIdChangeCount = 19;
- readonly attribute int16u betterPartitionAttachAttemptCount = 20;
- readonly attribute int16u parentChangeCount = 21;
- readonly attribute int32u txTotalCount = 22;
- readonly attribute int32u txUnicastCount = 23;
- readonly attribute int32u txBroadcastCount = 24;
- readonly attribute int32u txAckRequestedCount = 25;
- readonly attribute int32u txAckedCount = 26;
- readonly attribute int32u txNoAckRequestedCount = 27;
- readonly attribute int32u txDataCount = 28;
- readonly attribute int32u txDataPollCount = 29;
- readonly attribute int32u txBeaconCount = 30;
- readonly attribute int32u txBeaconRequestCount = 31;
- readonly attribute int32u txOtherCount = 32;
- readonly attribute int32u txRetryCount = 33;
- readonly attribute int32u txDirectMaxRetryExpiryCount = 34;
- readonly attribute int32u txIndirectMaxRetryExpiryCount = 35;
- readonly attribute int32u txErrCcaCount = 36;
- readonly attribute int32u txErrAbortCount = 37;
- readonly attribute int32u txErrBusyChannelCount = 38;
- readonly attribute int32u rxTotalCount = 39;
- readonly attribute int32u rxUnicastCount = 40;
- readonly attribute int32u rxBroadcastCount = 41;
- readonly attribute int32u rxDataCount = 42;
- readonly attribute int32u rxDataPollCount = 43;
- readonly attribute int32u rxBeaconCount = 44;
- readonly attribute int32u rxBeaconRequestCount = 45;
- readonly attribute int32u rxOtherCount = 46;
- readonly attribute int32u rxAddressFilteredCount = 47;
- readonly attribute int32u rxDestAddrFilteredCount = 48;
- readonly attribute int32u rxDuplicatedCount = 49;
- readonly attribute int32u rxErrNoFrameCount = 50;
- readonly attribute int32u rxErrUnknownNeighborCount = 51;
- readonly attribute int32u rxErrInvalidSrcAddrCount = 52;
- readonly attribute int32u rxErrSecCount = 53;
- readonly attribute int32u rxErrFcsCount = 54;
- readonly attribute int32u rxErrOtherCount = 55;
- readonly attribute nullable int64u activeTimestamp = 56;
- readonly attribute nullable int64u pendingTimestamp = 57;
- readonly attribute nullable int32u delay = 58;
- readonly attribute nullable SecurityPolicy securityPolicy = 59;
- readonly attribute nullable octet_string<4> channelPage0Mask = 60;
- readonly attribute nullable OperationalDatasetComponents operationalDatasetComponents = 61;
- readonly attribute NetworkFault activeNetworkFaultsList[] = 62;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster WiFiNetworkDiagnostics = 54 {
- enum AssociationFailureCause : ENUM8 {
- kUnknown = 0;
- kAssociationFailed = 1;
- kAuthenticationFailed = 2;
- kSsidNotFound = 3;
- }
-
- enum SecurityType : ENUM8 {
- kUnspecified = 0;
- kNone = 1;
- kWep = 2;
- kWpa = 3;
- kWpa2 = 4;
- kWpa3 = 5;
- }
-
- enum WiFiConnectionStatus : ENUM8 {
- kConnected = 0;
- kNotConnected = 1;
- }
-
- enum WiFiVersionType : ENUM8 {
- k80211a = 0;
- k80211b = 1;
- k80211g = 2;
- k80211n = 3;
- k80211ac = 4;
- k80211ax = 5;
- }
-
- info event Disconnection = 0 {
- INT16U reasonCode = 0;
- }
-
- info event AssociationFailure = 1 {
- AssociationFailureCause associationFailure = 0;
- INT16U status = 1;
- }
-
- info event ConnectionStatus = 2 {
- WiFiConnectionStatus connectionStatus = 0;
- }
-
- readonly attribute nullable octet_string<6> bssid = 0;
- readonly attribute nullable SecurityType securityType = 1;
- readonly attribute nullable WiFiVersionType wiFiVersion = 2;
- readonly attribute nullable int16u channelNumber = 3;
- readonly attribute nullable int8s rssi = 4;
- readonly attribute nullable int32u beaconLostCount = 5;
- readonly attribute nullable int32u beaconRxCount = 6;
- readonly attribute nullable int32u packetMulticastRxCount = 7;
- readonly attribute nullable int32u packetMulticastTxCount = 8;
- readonly attribute nullable int32u packetUnicastRxCount = 9;
- readonly attribute nullable int32u packetUnicastTxCount = 10;
- readonly attribute nullable int64u currentMaxRate = 11;
- readonly attribute nullable int64u overrunCount = 12;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
-server cluster EthernetNetworkDiagnostics = 55 {
- enum PHYRateType : ENUM8 {
- k10m = 0;
- k100m = 1;
- k1000m = 2;
- k25g = 3;
- k5g = 4;
- k10g = 5;
- k40g = 6;
- k100g = 7;
- k200g = 8;
- k400g = 9;
- }
-
- readonly attribute nullable PHYRateType PHYRate = 0;
- readonly attribute nullable boolean fullDuplex = 1;
- readonly attribute int64u packetRxCount = 2;
- readonly attribute int64u packetTxCount = 3;
- readonly attribute int64u txErrCount = 4;
- readonly attribute int64u collisionCount = 5;
- readonly attribute int64u overrunCount = 6;
- readonly attribute nullable boolean carrierDetect = 7;
- readonly attribute int64u timeSinceReset = 8;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-
- command ResetCounts(): DefaultSuccess = 0;
-}
-
server cluster Switch = 59 {
bitmap SwitchFeature : BITMAP32 {
kLatchingSwitch = 0x1;
@@ -1378,13 +1012,12 @@
}
server cluster FixedLabel = 64 {
- readonly attribute LabelStruct labelList[] = 0;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
+ struct LabelStruct {
+ char_string<16> label = 0;
+ char_string<16> value = 1;
+ }
-server cluster UserLabel = 65 {
- attribute access(write: manage) LabelStruct labelList[] = 0;
+ readonly attribute LabelStruct labelList[] = 0;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
@@ -1655,106 +1288,6 @@
ram attribute clusterRevision default = 0x0001;
}
- server cluster ThreadNetworkDiagnostics {
- callback attribute channel;
- callback attribute routingRole;
- callback attribute networkName;
- callback attribute panId;
- callback attribute extendedPanId;
- callback attribute meshLocalPrefix;
- callback attribute overrunCount;
- callback attribute neighborTableList;
- callback attribute routeTableList;
- callback attribute partitionId;
- callback attribute weighting;
- callback attribute dataVersion;
- callback attribute stableDataVersion;
- callback attribute leaderRouterId;
- callback attribute detachedRoleCount;
- callback attribute childRoleCount;
- callback attribute routerRoleCount;
- callback attribute leaderRoleCount;
- callback attribute attachAttemptCount;
- callback attribute partitionIdChangeCount;
- callback attribute betterPartitionAttachAttemptCount;
- callback attribute parentChangeCount;
- callback attribute txTotalCount;
- callback attribute txUnicastCount;
- callback attribute txBroadcastCount;
- callback attribute txAckRequestedCount;
- callback attribute txAckedCount;
- callback attribute txNoAckRequestedCount;
- callback attribute txDataCount;
- callback attribute txDataPollCount;
- callback attribute txBeaconCount;
- callback attribute txBeaconRequestCount;
- callback attribute txOtherCount;
- callback attribute txRetryCount;
- callback attribute txDirectMaxRetryExpiryCount;
- callback attribute txIndirectMaxRetryExpiryCount;
- callback attribute txErrCcaCount;
- callback attribute txErrAbortCount;
- callback attribute txErrBusyChannelCount;
- callback attribute rxTotalCount;
- callback attribute rxUnicastCount;
- callback attribute rxBroadcastCount;
- callback attribute rxDataCount;
- callback attribute rxDataPollCount;
- callback attribute rxBeaconCount;
- callback attribute rxBeaconRequestCount;
- callback attribute rxOtherCount;
- callback attribute rxAddressFilteredCount;
- callback attribute rxDestAddrFilteredCount;
- callback attribute rxDuplicatedCount;
- callback attribute rxErrNoFrameCount;
- callback attribute rxErrUnknownNeighborCount;
- callback attribute rxErrInvalidSrcAddrCount;
- callback attribute rxErrSecCount;
- callback attribute rxErrFcsCount;
- callback attribute rxErrOtherCount;
- callback attribute activeTimestamp;
- callback attribute pendingTimestamp;
- callback attribute delay;
- callback attribute securityPolicy;
- callback attribute channelPage0Mask;
- callback attribute operationalDatasetComponents;
- callback attribute activeNetworkFaultsList;
- ram attribute featureMap default = 0x000F;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster WiFiNetworkDiagnostics {
- callback attribute bssid;
- callback attribute securityType;
- callback attribute wiFiVersion;
- callback attribute channelNumber;
- callback attribute rssi;
- callback attribute beaconLostCount;
- callback attribute beaconRxCount;
- callback attribute packetMulticastRxCount;
- callback attribute packetMulticastTxCount;
- callback attribute packetUnicastRxCount;
- callback attribute packetUnicastTxCount;
- callback attribute currentMaxRate;
- callback attribute overrunCount;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
- server cluster EthernetNetworkDiagnostics {
- callback attribute PHYRate;
- callback attribute fullDuplex;
- callback attribute packetRxCount;
- callback attribute packetTxCount;
- callback attribute txErrCount;
- callback attribute collisionCount;
- callback attribute overrunCount;
- callback attribute carrierDetect;
- callback attribute timeSinceReset;
- ram attribute featureMap default = 3;
- ram attribute clusterRevision default = 0x0001;
- }
-
server cluster Switch {
ram attribute featureMap;
ram attribute clusterRevision default = 1;
@@ -1793,12 +1326,6 @@
ram attribute featureMap;
ram attribute clusterRevision default = 1;
}
-
- server cluster UserLabel {
- callback attribute labelList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
}
endpoint 1 {
device type anonymousEndpointType = 514;
@@ -1823,19 +1350,6 @@
ram attribute clusterRevision default = 3;
}
- server cluster Scenes {
- ram attribute sceneCount;
- ram attribute currentScene;
- ram attribute currentGroup;
- ram attribute sceneValid;
- ram attribute nameSupport;
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 3;
- }
-
server cluster Descriptor {
callback attribute deviceTypeList;
callback attribute serverList;
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap
index 1c30a4a..9f5b8f4 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.zap
@@ -1,5 +1,5 @@
{
- "featureLevel": 81,
+ "featureLevel": 82,
"creator": "zap",
"keyValuePairs": [
{
@@ -1638,7 +1638,7 @@
"storageOption": "External",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0",
+ "defaultValue": "",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -2886,7 +2886,7 @@
"mfgCode": null,
"define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "channel",
@@ -3972,7 +3972,7 @@
"mfgCode": null,
"define": "WIFI_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "bssid",
@@ -4258,7 +4258,7 @@
"mfgCode": null,
"define": "ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "PHYRate",
@@ -5140,7 +5140,7 @@
"mfgCode": null,
"define": "USER_LABEL_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"attributes": [
{
"name": "label list",
@@ -5712,7 +5712,7 @@
"mfgCode": null,
"define": "SCENES_CLUSTER",
"side": "server",
- "enabled": 1,
+ "enabled": 0,
"commands": [
{
"name": "AddSceneResponse",
@@ -6850,5 +6850,6 @@
"endpointVersion": 1,
"deviceIdentifier": 514
}
- ]
-}
\ No newline at end of file
+ ],
+ "log": []
+}