examples/generic_switch: set the namespace id value in taglist attribute to a standard one

This commit is contained in:
liyashuai
2025-04-25 11:17:42 +08:00
parent 417f7390e5
commit ad0c291b89
+1 -1
View File
@@ -42,7 +42,7 @@ extern const char insights_auth_key_end[] asm("_binary_insights_auth_key_txt_end
namespace {
// Please refer to https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/namespaces
constexpr const uint8_t kNamespaceSwitches = 43;
constexpr const uint8_t kNamespaceSwitches = 0x43;
// Common Number Namespace: 7, tag 0 (Zero)
constexpr const uint8_t kTagSwitchOn = 0;
// Common Number Namespace: 7, tag 1 (One)