-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[icd] integrate ICD management command into CHIP tool #30863
Merged
yunhanw-google
merged 35 commits into
project-chip:master
from
erjiaqing:feature/icd/chip-tool-icd-list
Dec 12, 2023
Merged
[icd] integrate ICD management command into CHIP tool #30863
yunhanw-google
merged 35 commits into
project-chip:master
from
erjiaqing:feature/icd/chip-tool-icd-list
Dec 12, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erjiaqing
force-pushed
the
feature/icd/chip-tool-icd-list
branch
from
December 7, 2023 04:06
256a47d
to
4793823
Compare
pullapprove
bot
requested review from
andyg-apple,
anush-apple,
arkq,
bzbarsky-apple,
carol-apple,
cecille,
chrisdecenzo,
chshu,
chulspro,
cliffamzn,
Damian-Nordic,
dhrishi,
harsha-rajendran,
hawk248,
hicklin,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy,
joonhaengHeo,
jtung-apple,
kkasperczyk-no,
kpschoedel,
ksperling-apple,
lazarkov,
lpbeliveau-silabs and
LuDuda
December 7, 2023 04:06
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
yunhanw-google
force-pushed
the
feature/icd/chip-tool-icd-list
branch
from
December 12, 2023 01:23
8b322b2
to
10ea5cd
Compare
PR #30863: Size comparison from bc746ae to 10ea5cd Increases above 0.2%:
Increases (3 builds for linux)
Decreases (2 builds for efr32, linux)
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
thivya-amazon
pushed a commit
to thivya-amazon/connectedhomeip
that referenced
this pull request
Dec 12, 2023
…0863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build
yunhanw-google
added a commit
that referenced
this pull request
Jan 10, 2024
* ICDHandler initialization * ICDHandler initialization * Restyled by gn * Update src/app/icd/ICDHandler.cpp Co-authored-by: Jean-Francois Penven <67962328+jepenven-silabs@users.noreply.github.com> * ICDHandler initialization * ICDHandler initialization * ICDHandler initialization * Restyled by gn * ICDHandler initialization * ICDHandler initialization * Restyled by gn * ICDHandler initialization * Restyled by gn * ICDHandler initialization * ICDHandler initialization * ICDHandler initialization * ICDHandler initialization * ICDHandler initialization * Moved counter validation to DefaultICDClientStorage. * Renamed ICDHandler to CheckInHandler * Included CheckInDelegate in BUILD.gn * Restyled by gn * Added DefaultCheckInDelegate * Restyled by whitespace * Restyled by gn * Modified error codes * Updated variables * Added condition for VerifyOrReturnError * Resolve conflicts with master branch * Added CheckInHandler init in chiptool * Restyled by clang-format * Restyled by gn * Added include file * Modified the access operator * Added ICD client deps for tv-casting-app * Restyled by gn * Added unit test case for ProcessCheckInPayload * Updated doxygen comments * Addressed review comments * Addressed review comments * Addressed review comments. * Moved checkin counter validation to CheckInHandler. * Removed TestDefaultICDClientStorage from iotsdk. * Restyled by gn * add CheckInExchangeDispatch to accept unsecure check-in message * Restyled by clang-format * Removed DefaultICDClientInfoPersistentStorage.cpp. * Addressed a few review comments. * Modified a macro to make sure it is taken as a 64-bit interger. * Restyled by clang-format * Removed redundant error code CHIP_ERROR_DUPLICATE_MESSAGE * Restyled by clang-format * Modified the datatype for checkInCounter to CounterType from auto. * Added code to refresh key. * ICDHandler initialization * ICDHandler initialization * Resolve conflicts with master branch * Added CheckInHandler init in chiptool * Moved checkin counter validation to CheckInHandler. * [icd] integrate ICD management command into CHIP tool (#30863) * [icd] integrate ICD management command into CHIP tool * Delete entry on failure * Fix build * ICDHandler initialization * Added CheckInHandler init in chiptool * Fixing merge conflicts * Added OnRefreshKey callback * Restyled by gn * Modified APPDATA_LENGTh macro to inline consexpr variable. * Modified CheckInDelegate and CheckInHandler to static members in chiptool. * Return CHIP_NO_ERROR for failures in processing checkin message. * Addressed review comments * Fixed a spelling error * Moved variable definition * Reenable TestDefaultClientStorage for open iot. * Restyled by gn * Modified code to use updated API * Removed obsolete comments * Added comments * Addressed review comments * Improve ICDClientStorage (#30931) * Added const qualifier to payload * Return CHIP_NO_ERROR for duplicate check in message and log error. * Return CHIP_NO_ERROR on duplicate checkin messages * Added OnRefreshKeyRetrieve and addressed review comments * Update src/lib/core/CHIPError.h Co-authored-by: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Added a temporary suppression of error for including <unordered_map> * Added a comment to suppress Lint error * Addressed review comments * Addressed review comments * Addressed review comments. * Removed code pertaining to key refresh. Will be a separate PR. * Added a link to an issue --------- Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Jean-Francois Penven <67962328+jepenven-silabs@users.noreply.github.com> Co-authored-by: yunhanw <yunhanw@google.com> Co-authored-by: Song GUO <songguo@google.com> Co-authored-by: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the code to persist ICD information after successfully commissioned an ICD device.
This PR also adds a new command set
icd
tochip-tool
, and provideslist
command currently.Example output of
chip-tool icd list
:Note: Symmetric Key will only be printed when
DefaultSessionKeystore
isRawKeySessionKeystore
#29393