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 ICD Client Info management support with persistent storage #29783

Merged
merged 24 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f5c7eb9
Add ICD Client Info management support with persistent storage
yunhanw-google Nov 1, 2023
f4b8fcc
Move to 1 entry per fabric for storage
yunhanw-google Nov 26, 2023
ca0fa84
adjust test
yunhanw-google Nov 27, 2023
b6ea879
remove counter storage
yunhanw-google Nov 27, 2023
8d6eb2a
rename ICDClientStorageDelegate to ICDClientStorage
yunhanw-google Nov 27, 2023
bc71eae
remove global static for DefaultICDClientStorage
yunhanw-google Nov 27, 2023
9ed35c4
update doxygen
yunhanw-google Nov 27, 2023
9f65dc7
revert change for storagekeyname
yunhanw-google Nov 27, 2023
d49de9e
add fabricList to record all fabric and move to one persistent storag…
yunhanw-google Nov 27, 2023
538c037
remove ICDFabricListCounter and use 255 to hold that large buffer ins…
yunhanw-google Nov 28, 2023
3842714
create two fields within tlv struct to hold FabricICDClientInfoCounte…
yunhanw-google Nov 28, 2023
59047f7
address comments
yunhanw-google Nov 28, 2023
5a3f99e
address comments
yunhanw-google Nov 28, 2023
76be866
Restyled by clang-format
restyled-commits Nov 28, 2023
5920e9b
fix ci
yunhanw-google Nov 28, 2023
b5a6df2
Restyled by clang-format
restyled-commits Nov 28, 2023
a5b62bf
address comments
yunhanw-google Nov 28, 2023
6c29a09
address comments
yunhanw-google Nov 28, 2023
c751af8
address comments
yunhanw-google Nov 28, 2023
1eff6e0
rename ProcessCheckInPayload and update argument for StoreEntry with …
yunhanw-google Nov 29, 2023
5ba2178
Update src/app/icd/client/DefaultICDClientStorage.h
yunhanw-google Nov 29, 2023
5bcda55
address comments
yunhanw-google Nov 29, 2023
11e66f7
Restyled by whitespace
restyled-commits Nov 29, 2023
cac7caa
Restyled by clang-format
restyled-commits Nov 29, 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
5 changes: 4 additions & 1 deletion scripts/tools/check_includes_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,8 @@
'src/lib/support/jsontlv/JsonToTlv.cpp': {'sstream'},
'src/lib/support/jsontlv/JsonToTlv.h': {'string'},
'src/lib/support/jsontlv/TlvToJson.h': {'string'},
'src/lib/support/jsontlv/TextFormat.h': {'string'}
'src/lib/support/jsontlv/TextFormat.h': {'string'},
'src/app/icd/client/DefaultICDClientStorage.cpp': {'vector'},
'src/app/icd/client/DefaultICDClientStorage.h': {'vector'},
'src/app/icd/client/DefaultICDStorageKey.h': {'vector'}
}
32 changes: 32 additions & 0 deletions src/app/icd/client/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright (c) 2023 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/chip.gni")

# ICD sources and configurations
source_set("manager") {
sources = [
"DefaultICDClientStorage.cpp",
"DefaultICDClientStorage.h",
"ICDClientInfo.h",
"ICDClientStorage.h",
]

deps = [ "${chip_root}/src/lib/core" ]
public_deps = [
"${chip_root}/src/app:app_config",
"${chip_root}/src/crypto",
"${chip_root}/src/lib/support",
]
}
Loading