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

Add Resource Monitoring Cluster Implementation #27798

Merged
merged 159 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 138 commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
cbc5729
Add Basic Resource Monitoring Server Implementation
tobiasgraf Jun 5, 2023
3ad1cc2
Add Basic Working Resource Monitoring Example App
tobiasgraf Jun 5, 2023
fb6630c
Improve log output
tobiasgraf Jun 5, 2023
703e850
Replace some HepafilterMonitoring specifics with more general Resourc…
tobiasgraf Jun 13, 2023
e6ecd75
Apply clang-format
tobiasgraf Jun 13, 2023
eb945ba
More Hepa to ResourceMonitoring replacement
tobiasgraf Jun 13, 2023
0d204c8
Add ActivatedCarbonFilterMonitoring Cluster
tobiasgraf Jun 15, 2023
7628aab
Rename ActivatedCarbonFilterMonitoring.cpp to ActivatedCarbonFilterMo…
tobiasgraf Jun 21, 2023
0a78dc1
Split delegate definitions into separate files
tobiasgraf Jun 21, 2023
14a0b40
Cleanup some Headers
tobiasgraf Jun 21, 2023
c4c3293
Rename member variables
tobiasgraf Jun 22, 2023
0471379
Refactoring: Rename Delegate to Instance
tobiasgraf Jun 30, 2023
275f701
Refactoring: Implement Read and Write function
tobiasgraf Jun 30, 2023
3bb9a09
Refactoring: reorder methods to math the order in the .h file
tobiasgraf Jun 30, 2023
3ea650e
Run Clang-Format
tobiasgraf Jun 30, 2023
101c167
Add Getter for DegradationDirection Attribute
tobiasgraf Jun 30, 2023
8f037ae
Add Construction Option To Set OnResetCondition To Supported
tobiasgraf Jul 3, 2023
9e30662
Add Default Values
tobiasgraf Jul 3, 2023
48915f3
Modified the AttributePersistenceProvider ReadValue function signitur…
hicklin Jul 3, 2023
c527c96
Force External Storage for All Resource Monitoring Clusters
tobiasgraf Jul 3, 2023
bb70cb3
Force External Storage for All Resource Monitoring Clusters
tobiasgraf Jul 3, 2023
1f989a9
Expanded AttributePersistanceProvider API to include reading and wirt…
hicklin Jul 3, 2023
402166e
Add LastChangedTime to Attributes For ResourceMonitoring Clusters
tobiasgraf Jul 3, 2023
9768c49
Add LastChangedTime to Attributes For ResourceMonitoring Clusters
tobiasgraf Jul 3, 2023
d7f5266
Merge branch 'master' into add-replaceable-monitoring-cluster-impleme…
tobiasgraf Jul 3, 2023
f06a376
Merge branch '27570-add-lastchangedtime-to-resource-monitoring-cluste…
tobiasgraf Jul 3, 2023
7293ca2
Add `LastChangedTime` to Forced External Storage List For Resource Mo…
tobiasgraf Jul 3, 2023
bded692
Add LastChangedTime To Resource-Monitoring Server Implementation
tobiasgraf Jul 3, 2023
b5ed2d5
Templated the AttributePersistanceProvider read and wiret function to…
hicklin Jul 3, 2023
c58e9a2
Fixed AttributePersistanceProvider accepted types. Added read helper …
hicklin Jul 4, 2023
1b1abfe
Merge branch 'project-chip:master' into expand_AttributePersistancePr…
hicklin Jul 4, 2023
e398672
Restyled by clang-format
restyled-commits Jul 4, 2023
dd1a518
Formatting and some comments
tobiasgraf Jul 4, 2023
2b891b7
Make OnResetCondition Pure Virtual
tobiasgraf Jul 4, 2023
50a965b
Set LastChangedTime In the OnResetCondition Handler
tobiasgraf Jul 4, 2023
6e3d3c7
Fixed mismatched size return error of DefaultAttributePersistenceProv…
hicklin Jul 4, 2023
f177691
Add All Missing Aliased Clusters
tobiasgraf Jul 5, 2023
0c9de82
Merge remote-tracking branch 'github-dyson/expand_AttributePersistanc…
tobiasgraf Jul 5, 2023
4630dc1
Started work on tests for the AttributePersistenceProvider.
hicklin Jul 5, 2023
14c3f86
Add Missing Instances to resourceMonitoring Test App
tobiasgraf Jul 5, 2023
f4e3321
Add Persistent Storage To LastChangedTime
tobiasgraf Jul 5, 2023
494beb1
Add README.md
tobiasgraf Jul 5, 2023
cb377f5
Remove `ResourceMonitoringAliasesInstanceMap` as it wasn't really needed
tobiasgraf Jul 5, 2023
8cf61b1
Update Description Of Init()
tobiasgraf Jul 5, 2023
b8f34ea
Update Description of AppInit() and OnResetCondition()
tobiasgraf Jul 5, 2023
d60a795
Added unit tests for AttributePersistenceProvider testing the storage…
hicklin Jul 5, 2023
1643373
Changed the type of aSize in ReadValue to size_t
hicklin Jul 6, 2023
e1ec87e
Removed the dependancy on generated code in the AttributePersistencez…
hicklin Jul 6, 2023
bed3251
Merge remote-tracking branch 'github-dyson/expand_AttributePersistanc…
tobiasgraf Jul 6, 2023
4574741
Added static funtctions to get the KVS null representation for differ…
hicklin Jul 6, 2023
64014d4
Fix Errors after Merge
tobiasgraf Jul 6, 2023
9d7f063
Some Changes From Comments From The ModeBase PR
tobiasgraf Jul 6, 2023
b5d456c
Added functions to read and write nullable bools and accompanying tests.
hicklin Jul 6, 2023
15230fc
Incorporated boolean tests in the scalar test.
hicklin Jul 6, 2023
476bf9c
Merge branch 'master' into expand_AttributePersistanceProvider_API
hicklin Jul 6, 2023
76db4d3
Added failure before init test
hicklin Jul 6, 2023
333ac54
Restyled by clang-format
restyled-commits Jul 6, 2023
89200fa
Merge remote-tracking branch 'github-dyson/expand_AttributePersistanc…
tobiasgraf Jul 6, 2023
6d0d817
Move Headers To Resource-Monitoring-Common
tobiasgraf Jul 6, 2023
f5d695c
Move Cpp files To resource-monitor-common
tobiasgraf Jul 6, 2023
71c58fa
Remove All Unused Aliases For The Resource-Monitoring-Cluster
tobiasgraf Jul 6, 2023
4f9c481
Merge branch 'master' into expand_AttributePersistanceProvider_API
hicklin Jul 7, 2023
2d6f26a
Fixed after merge.
hicklin Jul 7, 2023
2d4cca0
Removed the failure on init test as it may have been causing seg faul…
hicklin Jul 7, 2023
09488ec
Renamed GetNull -> GetNullValueForNullableType
hicklin Jul 7, 2023
582b92c
Added the initialisation of valueReadBack and added a new templated f…
hicklin Jul 7, 2023
7c1bf20
Added handline of signed ints and accompanying tests.
hicklin Jul 7, 2023
81d062f
Added handline of nullable signed ints and accompanying tests.
hicklin Jul 7, 2023
de3b1c9
Type cast null.
hicklin Jul 7, 2023
35070d1
Merge branch 'master' into expand_AttributePersistanceProvider_API
hicklin Jul 7, 2023
7f2423f
Restyled by clang-format
restyled-commits Jul 7, 2023
9ab6af9
Changed shift bit to be af the same type are the return val.
hicklin Jul 7, 2023
e289e60
Added tests got GetNull functions
hicklin Jul 7, 2023
450a7cb
Remove Aliased Clusters From Resource Monitoring Clusters except Hepa…
tobiasgraf Jul 7, 2023
a8ad6f5
Add Resource Monitoring Aliased Clusters Server implementation To Lin…
tobiasgraf Jul 7, 2023
1ac8e7a
Merge remote-tracking branch 'github-dyson/expand_AttributePersistanc…
tobiasgraf Jul 7, 2023
bbd9c25
Remove Todo
tobiasgraf Jul 7, 2023
9965615
Remove Aliased Clusters From Resource Monitoring Clusters except Hepa…
tobiasgraf Jul 7, 2023
e71d415
Remove Redundant Check
tobiasgraf Jul 7, 2023
311ff15
Apply Restyled patch
tobiasgraf Jul 7, 2023
2c8462e
Remove Tests For Removed Aliased Clusters
tobiasgraf Jul 7, 2023
baba2b8
Fix Spelling
tobiasgraf Jul 7, 2023
258ce7e
Remove Unused / disallowed #include <maps>
tobiasgraf Jul 7, 2023
d3ba7f5
Remove resource-monitoring-instances.h
tobiasgraf Jul 7, 2023
59a8e76
Remove Unneeded Destructors
tobiasgraf Jul 7, 2023
a0bc95e
Use Default Descructor and Make Class Non copyable or moveable
tobiasgraf Jul 7, 2023
c497d13
Change IsAliascluster to IsValidAliasCluster
tobiasgraf Jul 7, 2023
94311fa
Fix Typo
tobiasgraf Jul 7, 2023
14553da
Reset ChangeIndication Attribute On ResetCondition Command
tobiasgraf Jul 10, 2023
846fde4
Set FeatureMap To 3
tobiasgraf Jul 10, 2023
8fbe321
Rename mFeature To mFeatureMap
tobiasgraf Jul 11, 2023
6dff85b
Rewrite Some Comments From "function" to "method"
tobiasgraf Jul 11, 2023
0c7b4ce
Remove Const
tobiasgraf Jul 11, 2023
7d6db41
Update Comment Of Init() Method
tobiasgraf Jul 11, 2023
2683592
Remove Commented Code
tobiasgraf Jul 11, 2023
55659d0
Added TODO For REP Feature
tobiasgraf Jul 11, 2023
c3376a8
Change From "Next value" To "UINT8_MAX"
tobiasgraf Jul 11, 2023
9a6052b
Use ChipLogDetail Instead Of ChipLogError
tobiasgraf Jul 11, 2023
a823743
Fix Log on Some Platforms
tobiasgraf Jul 11, 2023
6e34132
Update README.md For Linux Resource-Monitoring-Example-App
tobiasgraf Jul 11, 2023
3124299
Remove Aliased Clusters From Resource Monitoring Clusters except Hepa…
tobiasgraf Jul 11, 2023
54d75f9
Regen Code
tobiasgraf Jul 11, 2023
50c959e
Apply Restylerd Patch
tobiasgraf Jul 11, 2023
da5536f
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 11, 2023
a2e5f59
Update Wordlist
tobiasgraf Jul 11, 2023
21a0ba4
Remove PICS values For Resource Monitoring Clusters That Were Removed
tobiasgraf Jul 11, 2023
5b366b4
Remove PICS For Resource Monitoring Clusters from PICS.yaml
tobiasgraf Jul 11, 2023
7ce4b24
Add Resource Monitoring README.md To docs/examples/index.md
tobiasgraf Jul 12, 2023
fdb8d04
Remove redundant chip::app:: prefixes
tobiasgraf Jul 13, 2023
2e97275
Use Bitset Instead Of Just a Number For FeatureMap
tobiasgraf Jul 13, 2023
40a5369
Remove Options from CHIPProjectAppConfig.h
tobiasgraf Jul 13, 2023
3b81bd7
Remove network commissioning bits
tobiasgraf Jul 13, 2023
8eab5cc
Make Hepa And ActivateCarbon Filter Monitoring Instances Static
tobiasgraf Jul 13, 2023
7603690
Remove ClusterId From Specialized Hepa and Activated Carbon Construtors
tobiasgraf Jul 13, 2023
1ba02a2
Add Getter for Endpoint
tobiasgraf Jul 13, 2023
a678569
Remove Nonsense Comment
tobiasgraf Jul 13, 2023
0d3b732
Remove Aliased Cluster IDs That Got Removed
tobiasgraf Jul 13, 2023
1edc80d
Fix Typo
tobiasgraf Jul 13, 2023
7b105e8
Simplify HandleResetCondition Method
tobiasgraf Jul 13, 2023
e805865
Add Copyright
tobiasgraf Jul 14, 2023
cd17dc7
Sort out Includes
tobiasgraf Jul 14, 2023
40e83ef
Make Methods To Private
tobiasgraf Jul 14, 2023
5aeb72e
Initialize All The Member Varaibles With Initializer List
tobiasgraf Jul 14, 2023
e29a27d
Explicit Delete Move Constructors
tobiasgraf Jul 14, 2023
a14390f
Make More Methods To Private
tobiasgraf Jul 14, 2023
774ba6e
Update Comment For OnResetCondition Command Handler
tobiasgraf Jul 14, 2023
cf10762
Add FeatureMap To Zcl*.json Files
tobiasgraf Jul 14, 2023
c238bb2
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 14, 2023
5acc6da
Apply restyled Patch
tobiasgraf Jul 17, 2023
1ee26bf
Remove ResetCondtion::Type And Encode
tobiasgraf Jul 17, 2023
1f181b3
Remove While Loop's Body
tobiasgraf Jul 17, 2023
d0af4d2
Move OnResetCondition Handling to Cluster Implementation
tobiasgraf Jul 17, 2023
34207be
Apply Restyled Patch
tobiasgraf Jul 17, 2023
e9518db
Fix Typo
tobiasgraf Jul 17, 2023
89b4b14
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 18, 2023
30b2f6c
Remove Init For Resource Monitoring Clusters From main-common.cpp
tobiasgraf Jul 18, 2023
fd78fc1
Merge branch 'master' into add-replaceable-monitoring-cluster-impleme…
tobiasgraf Jul 18, 2023
4a5f438
Apply Restyled Patch
tobiasgraf Jul 18, 2023
f4b6d04
Update examples/resource-monitoring-app/linux/src/main.cpp
tobiasgraf Jul 19, 2023
47d14d0
Update examples/resource-monitoring-app/linux/src/main.cpp
tobiasgraf Jul 19, 2023
57bcc44
Fix Some Typos
tobiasgraf Jul 19, 2023
34e6355
Disable Removed Test Cases
tobiasgraf Jul 19, 2023
3ff1ac8
Apply Restylerd Patch
tobiasgraf Jul 19, 2023
4f8a60c
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 19, 2023
e42d78b
Apply Restyled Patch
tobiasgraf Jul 19, 2023
8d69a61
Add Resource-Monitoring-Server To ESP32 All Clusters Example
tobiasgraf Jul 19, 2023
2fe40f7
Remove Test Scripts For Aliased Clusters
tobiasgraf Jul 19, 2023
b7d433f
Revert "Disable Removed Test Cases"
tobiasgraf Jul 19, 2023
0d9ac99
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 19, 2023
79b5407
Add VerifyOrDie() When More Than 1 EP gets Initialized For Hepa Or Ac…
tobiasgraf Jul 19, 2023
ca90534
Add Resource-Monitoring Clusters To ESP32 Minimal App
tobiasgraf Jul 19, 2023
6747fdd
Apply Restyled Patch
tobiasgraf Jul 19, 2023
2dba6f2
Move Resource-Monitoring Instances/Delegates To All-Clusters-Common
tobiasgraf Jul 19, 2023
c7f5451
Apply Restyled Patch
tobiasgraf Jul 19, 2023
38cd24e
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 19, 2023
34a36ef
Update Code Gen
tobiasgraf Jul 19, 2023
14b2aa4
Merge branch 'master' into add-replaceable-monitoring-cluster-impleme…
cliffamzn Jul 19, 2023
b69faa0
Merge remote-tracking branch 'origin/master' into add-replaceable-mon…
tobiasgraf Jul 19, 2023
9653ee2
Fix Zap After Merge + CodeGen
tobiasgraf Jul 19, 2023
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
1 change: 1 addition & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ HomePods
hostapd
hostname
href
HEPA
HTTPS
HW
hwadr
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,12 @@ tv-casting-app/**/README

window-app/**/README
```

## Resource monitoring example

```{toctree}
:glob:
:maxdepth: 1

resource-monitoring-app/**/README
```
Loading