|
| 1 | +/* |
| 2 | + * |
| 3 | + * Copyright (c) 2024 Project CHIP Authors |
| 4 | + * |
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + * you may not use this file except in compliance with the License. |
| 7 | + * You may obtain a copy of the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, software |
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + * See the License for the specific language governing permissions and |
| 15 | + * limitations under the License. |
| 16 | + */ |
| 17 | + |
| 18 | +#pragma once |
| 19 | + |
| 20 | +// Please refer to https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/namespaces |
| 21 | +constexpr const uint8_t kNamespaceCommonLevel = 5; |
| 22 | +// Common Number Namespace: 5, tag 0 (Low) |
| 23 | +constexpr const uint8_t kTagCommonLow = 0; |
| 24 | +// Common Number Namespace: 5, tag 1 (Medium) |
| 25 | +constexpr const uint8_t kTagCommonMedium = 1; |
| 26 | +// Common Number Namespace: 5, tag 2 (High) |
| 27 | +constexpr const uint8_t kTagCommonHigh = 2; |
| 28 | + |
| 29 | +constexpr const uint8_t kNamespaceCommonNumber = 7; |
| 30 | +// Common Number Namespace: 7, tag 0 (Zero) |
| 31 | +constexpr const uint8_t kTagCommonZero = 0; |
| 32 | +// Common Number Namespace: 7, tag 1 (One) |
| 33 | +constexpr const uint8_t kTagCommonOne = 1; |
| 34 | +// Common Number Namespace: 7, tag 2 (Two) |
| 35 | +constexpr const uint8_t kTagCommonTwo = 2; |
| 36 | + |
| 37 | +constexpr const uint8_t kNamespacePosition = 8; |
| 38 | +// Common Position Namespace: 8, tag: 0 (Left) |
| 39 | +constexpr const uint8_t kTagPositionLeft = 0; |
| 40 | +// Common Position Namespace: 8, tag: 1 (Right) |
| 41 | +constexpr const uint8_t kTagPositionRight = 1; |
| 42 | +// Common Position Namespace: 8, tag: 2 (Top) |
| 43 | +constexpr const uint8_t kTagPositionTop = 2; |
| 44 | +// Common Position Namespace: 8, tag: 3 (Bottom) |
| 45 | +constexpr const uint8_t kTagPositionBottom = 3; |
| 46 | +// Common Position Namespace: 8, tag: 4 (Middle) |
| 47 | +constexpr const uint8_t kTagPositionMiddle = 4; |
| 48 | +// Common Position Namespace: 8, tag: 5 (Row) |
| 49 | +constexpr const uint8_t kTagPositionRow = 5; |
| 50 | +// Common Position Namespace: 8, tag: 6 (Column) |
| 51 | +constexpr const uint8_t kTagPositionColumn = 6; |
0 commit comments