Skip to content

Commit

Permalink
Zap feature map (#6338)
Browse files Browse the repository at this point in the history
* Add FeatureMap attribute

* Update gen/ folders
  • Loading branch information
vivien-apple authored Apr 28, 2021
1 parent b894330 commit 692a4a2
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions examples/chip-tool/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/lighting-common/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions examples/lock-app/lock-common/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions examples/tv-app/tv-common/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions examples/window-app/common/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions src/app/zap-templates/zcl/data-model/silabs/general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ limitations under the License.
<arg name="extendedDiscoverAttributesInfoRecords" type="ExtendedDiscoverAttributesInfoRecord" array="true"/>
</command>
<attribute side="client" code="0xFFFD" define="CLUSTER_REVISION_CLIENT" type="INT16U" min="0x0001" max="0xFFFE" writable="false" default="0x0001" optional="false" introducedIn="zcl-6.0-15-02017-001">cluster revision</attribute>
<attribute side="client" code="0xFFFE" define="REPORTING_STATUS_CLIENT" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="zcl-6.0-15-02017-001">reporting status</attribute>
<attribute side="client" code="0xFFFC" define="FEATURE_MAP_CLIENT" type="INT32U" writable="false" default="0x0000" optional="true">feature map</attribute>
<attribute side="server" code="0xFFFD" define="CLUSTER_REVISION_SERVER" type="INT16U" min="0x0001" max="0xFFFE" writable="false" default="0x0001" optional="false" introducedIn="zcl-6.0-15-02017-001">cluster revision</attribute>
<attribute side="server" code="0xFFFE" define="REPORTING_STATUS_SERVER" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="zcl-6.0-15-02017-001">reporting status</attribute>
<attribute side="server" code="0xFFFC" define="FEATURE_MAP_SERVER" type="INT32U" writable="false" default="0x0000" optional="true">feature map</attribute>
</global>
<cluster singleton="true">
<name>Basic</name>
Expand Down
4 changes: 2 additions & 2 deletions src/controller/python/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down
4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/gen/attribute-id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#pragma once

// Global cluster attribute ids
#define ZCL_FEATURE_MAP_CLIENT_ATTRIBUTE_ID (0xFFFC)
#define ZCL_FEATURE_MAP_SERVER_ATTRIBUTE_ID (0xFFFC)
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
#define ZCL_REPORTING_STATUS_CLIENT_ATTRIBUTE_ID (0xFFFE)
#define ZCL_REPORTING_STATUS_SERVER_ATTRIBUTE_ID (0xFFFE)

// Attribute ids for cluster: Power Configuration

Expand Down

0 comments on commit 692a4a2

Please sign in to comment.