Skip to content

Commit

Permalink
Replace OCTET_STRING with now supported CHAR_STRING
Browse files Browse the repository at this point in the history
  • Loading branch information
pjzander-signify committed Oct 23, 2021
1 parent a32184c commit 9e50a6e
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ limitations under the License.
<struct name="ActionStruct">
<cluster code="0x0025"/>
<item name="ActionID" type="INT16U"/>
<!-- TODO: Change Name to CHAR_STRING once it is supported #6112 -->
<item name="Name" type="OCTET_STRING" length="32"/>
<item name="Name" type="CHAR_STRING" length="32"/>
<item name="Type" type="ActionTypeEnum"/>
<item name="EndpointListID" type="INT16U"/>
<item name="SupportedCommands" type="INT16U"/>
Expand All @@ -79,8 +78,7 @@ limitations under the License.
<struct name="EndpointListStruct">
<cluster code="0x0025"/>
<item name="EndpointListID" type="INT16U"/>
<!-- TODO: Change Name to CHAR_STRING once it is supported #6112 -->
<item name="Name" type="OCTET_STRING" length="32"/>
<item name="Name" type="CHAR_STRING" length="32"/>
<item name="Type" type="EndpointListTypeEnum"/>
<!-- TODO: Change Endpoints to INT16U array once it is supported -->
<item name="Endpoints" type="OCTET_STRING" length="256"/>
Expand Down
16 changes: 8 additions & 8 deletions src/controller/java/zap-generated/CHIPClusters-JNI.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/controller/python/chip/clusters/CHIPClusters.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/controller/python/chip/clusters/Objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -4177,7 +4177,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(
Label="ActionID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(
Label="Name", Tag=1, Type=bytes),
Label="Name", Tag=1, Type=str),
ClusterObjectFieldDescriptor(
Label="Type", Tag=2, Type=BridgedActions.Enums.ActionTypeEnum),
ClusterObjectFieldDescriptor(
Expand All @@ -4189,7 +4189,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
])

ActionID: 'uint' = None
Name: 'bytes' = None
Name: 'str' = None
Type: 'BridgedActions.Enums.ActionTypeEnum' = None
EndpointListID: 'uint' = None
SupportedCommands: 'uint' = None
Expand All @@ -4204,15 +4204,15 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(
Label="EndpointListID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(
Label="Name", Tag=1, Type=bytes),
Label="Name", Tag=1, Type=str),
ClusterObjectFieldDescriptor(
Label="Type", Tag=2, Type=BridgedActions.Enums.EndpointListTypeEnum),
ClusterObjectFieldDescriptor(
Label="Endpoints", Tag=3, Type=bytes),
])

EndpointListID: 'uint' = None
Name: 'bytes' = None
Name: 'str' = None
Type: 'BridgedActions.Enums.EndpointListTypeEnum' = None
Endpoints: 'bytes' = None

Expand Down
4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions zzz_generated/all-clusters-app/zap-generated/attribute-size.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions zzz_generated/chip-tool/zap-generated/cluster/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e50a6e

Please sign in to comment.