Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1223195

Browse files
bzbarsky-appletlykkeberg-grundfos
authored andcommittedMay 10, 2023
Add support for odd-sized (3, 5, 6, 7 bytes) integer types for attributes (#11870)
* Add support for odd-sized (3, 5, 6, 7 bytes) integer types for attributes. Fixes #8202 * Make it easier to test both endian-nesses of NumericAttributeTraits. * Fix null representation for the signed case. * Add unit tests for NumericAttributeTraits for unusual integer sizes. Co-authored-by: Thomas Lykkeberg <tlykkeberg@grundfos.com>
1 parent 9f6a23b commit 1223195

File tree

27 files changed

+9126
-3919
lines changed

27 files changed

+9126
-3919
lines changed
 

‎examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

+2-2
Original file line numberDiff line numberDiff line change
@@ -11262,7 +11262,7 @@
1126211262
"code": 21,
1126311263
"mfgCode": null,
1126411264
"side": "server",
11265-
"included": 0,
11265+
"included": 1,
1126611266
"storageOption": "RAM",
1126711267
"singleton": 0,
1126811268
"bounded": 0,
@@ -11277,7 +11277,7 @@
1127711277
"code": 22,
1127811278
"mfgCode": null,
1127911279
"side": "server",
11280-
"included": 0,
11280+
"included": 1,
1128111281
"storageOption": "RAM",
1128211282
"singleton": 0,
1128311283
"bounded": 0,

‎src/app/tests/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ chip_test_suite("tests") {
5353
"TestEventPathParams.cpp",
5454
"TestInteractionModelEngine.cpp",
5555
"TestMessageDef.cpp",
56+
"TestNumericAttributeTraits.cpp",
5657
"TestReadInteraction.cpp",
5758
"TestReportingEngine.cpp",
5859
"TestStatusResponseMessage.cpp",

0 commit comments

Comments
 (0)
Please sign in to comment.