-
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.
Merge remote-tracking branch 'upstream/master' into protocol-pigweed
- Loading branch information
Showing
123 changed files
with
11,218 additions
and
575 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
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
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
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,51 @@ | ||
/* | ||
* | ||
* Copyright (c) 2024 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 | ||
|
||
// Please refer to https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/namespaces | ||
constexpr const uint8_t kNamespaceCommonLevel = 5; | ||
// Common Number Namespace: 5, tag 0 (Low) | ||
constexpr const uint8_t kTagCommonLow = 0; | ||
// Common Number Namespace: 5, tag 1 (Medium) | ||
constexpr const uint8_t kTagCommonMedium = 1; | ||
// Common Number Namespace: 5, tag 2 (High) | ||
constexpr const uint8_t kTagCommonHigh = 2; | ||
|
||
constexpr const uint8_t kNamespaceCommonNumber = 7; | ||
// Common Number Namespace: 7, tag 0 (Zero) | ||
constexpr const uint8_t kTagCommonZero = 0; | ||
// Common Number Namespace: 7, tag 1 (One) | ||
constexpr const uint8_t kTagCommonOne = 1; | ||
// Common Number Namespace: 7, tag 2 (Two) | ||
constexpr const uint8_t kTagCommonTwo = 2; | ||
|
||
constexpr const uint8_t kNamespacePosition = 8; | ||
// Common Position Namespace: 8, tag: 0 (Left) | ||
constexpr const uint8_t kTagPositionLeft = 0; | ||
// Common Position Namespace: 8, tag: 1 (Right) | ||
constexpr const uint8_t kTagPositionRight = 1; | ||
// Common Position Namespace: 8, tag: 2 (Top) | ||
constexpr const uint8_t kTagPositionTop = 2; | ||
// Common Position Namespace: 8, tag: 3 (Bottom) | ||
constexpr const uint8_t kTagPositionBottom = 3; | ||
// Common Position Namespace: 8, tag: 4 (Middle) | ||
constexpr const uint8_t kTagPositionMiddle = 4; | ||
// Common Position Namespace: 8, tag: 5 (Row) | ||
constexpr const uint8_t kTagPositionRow = 5; | ||
// Common Position Namespace: 8, tag: 6 (Column) | ||
constexpr const uint8_t kTagPositionColumn = 6; |
Oops, something went wrong.