-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TI] Factory Reset updates for CC13X2_26X2 (#23963)
* factory reset updates * Restyled by whitespace * Restyled by clang-format * CI fixes * Restyled by clang-format * Restyled by gn * updated 3 keys from factory to counters itemID * Restyled by whitespace * Restyled by clang-format * PR feedback * Restyled by clang-format * removed extern C and log function in DAC file * Restyled by clang-format Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
Showing
8 changed files
with
447 additions
and
79 deletions.
There are no files selected for viewing
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
258 changes: 258 additions & 0 deletions
258
examples/platform/cc13x2_26x2/CC13X2_26X2DeviceAttestationCreds.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
examples/platform/cc13x2_26x2/CC13X2_26X2DeviceAttestationCreds.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* | ||
* Copyright (c) 2022 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. | ||
*/ | ||
#pragma once | ||
|
||
#include <credentials/DeviceAttestationCredsProvider.h> | ||
|
||
namespace chip { | ||
namespace Credentials { | ||
namespace CC13X2_26X2 { | ||
|
||
/** | ||
* @brief Get implementation of a sample DAC provider to validate device | ||
* attestation procedure. | ||
* | ||
* @returns a singleton DeviceAttestationCredentialsProvider that relies on no | ||
* storage abstractions. | ||
*/ | ||
DeviceAttestationCredentialsProvider * GetCC13X2_26X2DacProvider(); | ||
|
||
} // namespace CC13X2_26X2 | ||
} // namespace Credentials | ||
} // namespace chip |
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
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
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
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
Oops, something went wrong.