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

This commit is contained in:
liyashuai
2025-05-09 11:54:29 +08:00
parent 6232e912c8
commit ba4603a7a9
+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)