Skip to content

Commit

Permalink
Add support for odd-sized (3, 5, 6, 7 bytes) integer types for attrib…
Browse files Browse the repository at this point in the history
…utes (#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>
  • Loading branch information
2 people authored and pull[bot] committed Aug 2, 2022
1 parent 96b650c commit 0d7dc11
Show file tree
Hide file tree
Showing 27 changed files with 9,126 additions and 3,919 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11262,7 +11262,7 @@
"code": 21,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -11277,7 +11277,7 @@
"code": 22,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down
1 change: 1 addition & 0 deletions src/app/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ chip_test_suite("tests") {
"TestEventPathParams.cpp",
"TestInteractionModelEngine.cpp",
"TestMessageDef.cpp",
"TestNumericAttributeTraits.cpp",
"TestReadInteraction.cpp",
"TestReportingEngine.cpp",
"TestStatusResponseMessage.cpp",
Expand Down
Loading

0 comments on commit 0d7dc11

Please sign in to comment.