Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zap feature map #6338

Merged
merged 2 commits into from
Apr 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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