Skip to content

Commit 4c42a96

Browse files
author
chaitanya jandhyala
committed
fix compilation errors
1 parent a37f7ac commit 4c42a96

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

src/platform/Infineon/CYW30739/CYW30739Config.h

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ class CYW30739Config
7171
static constexpr Key kConfigKey_DACKey = CYW30739ConfigKey(kChipFactory_KeyBase, 0x21);
7272
static constexpr Key kConfigKey_PAICert = CYW30739ConfigKey(kChipFactory_KeyBase, 0x22);
7373
static constexpr Key kConfigKey_CertDeclaration = CYW30739ConfigKey(kChipFactory_KeyBase, 0x23);
74+
static constexpr Key kConfigKey_SoftwareVersionString = CYW30739ConfigKey(kChipFactory_KeyBase, 0x24);
75+
7476
// CHIP Config Keys
7577
static constexpr Key kConfigKey_ServiceConfig = CYW30739ConfigKey(kChipConfig_KeyBase, 0x00);
7678
static constexpr Key kConfigKey_PairedAccountId = CYW30739ConfigKey(kChipConfig_KeyBase, 0x01);

src/platform/Tizen/PosixConfig.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ const PosixConfig::Key PosixConfig::kConfigKey_ProductName = { kConfig
7171
const PosixConfig::Key PosixConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipConfig, "hardware-version-string" };
7272
const PosixConfig::Key PosixConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig, "software-version-string" };
7373

74-
static const Key kConfigKey_;
75-
static const Key kConfigKey_;
76-
static const Key kConfigKey_;
77-
static const Key kConfigKey_;
7874
// Keys stored in the Chip-counters namespace
7975
const PosixConfig::Key PosixConfig::kCounterKey_TotalOperationalHours = { kConfigNamespace_ChipCounters,
8076
"total-operational-hours" };

src/platform/android/AndroidConfig.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const AndroidConfig::Key AndroidConfig::kConfigKey_Spake2pSalt = { kCo
8282
const AndroidConfig::Key AndroidConfig::kConfigKey_Spake2pVerifier = { kConfigNamespace_ChipFactory, "verifier" };
8383
const AndroidConfig::Key AndroidConfig::kConfigKey_DeviceTypeId = { kConfigNamespace_ChipFactory, "device-type-id" };
8484
const AndroidConfig::Key AndroidConfig::kConfigKey_DeviceName = { kConfigNamespace_ChipFactory, "device-name" };
85+
const AndroidConfig::Key AndroidConfig::kConfigKey_VendorName = { kConfigNamespace_ChipFactory, "vendor-name" };
8586

8687
// Keys stored in the Chip-config namespace
8788
const AndroidConfig::Key AndroidConfig::kConfigKey_ServiceConfig = { kConfigNamespace_ChipConfig, "service-config" };

src/platform/android/AndroidConfig.h

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ class AndroidConfig
8484
static const Key kConfigKey_DeviceTypeId;
8585
static const Key kConfigKey_DeviceName;
8686

87+
static const Key kConfigKey_VendorName;
88+
8789
static CHIP_ERROR Init();
8890

8991
// Config value accessors.

src/platform/mbed/MbedConfig.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ const MbedConfig::Key MbedConfig::kConfigKey_ProductName = { CONFIG_KE
9090
const MbedConfig::Key MbedConfig::kConfigKey_HardwareVersionString = { CONFIG_KEY("hardware-version-string") };
9191
const MbedConfig::Key MbedConfig::kConfigKey_SoftwareVersionString = { CONFIG_KEY("software-version-string") };
9292

93-
static const Key kConfigKey_;
94-
static const Key kConfigKey_;
95-
static const Key kConfigKey_;
96-
static const Key kConfigKey_;
97-
9893
// Keys stored in the Chip-counters namespace
9994
const MbedConfig::Key MbedConfig::kCounterKey_RebootCount = { COUNTER_KEY("reboot-count") };
10095
const MbedConfig::Key MbedConfig::kCounterKey_UpTime = { COUNTER_KEY("up-time") };

src/platform/openiotsdk/KVPsaPsStore.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_CountryCode = GetPsaPaKe
6767
const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_LocationCapability = GetPsaPaKey(kMatterConfig_KeyOffset, 0x08);
6868
const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_UniqueId = GetPsaPaKey(kMatterConfig_KeyOffset, 0x09);
6969

70+
const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_VendorName = GetPsaPaKey(kMatterConfig_KeyOffset, 0x0A);
71+
const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_ProductName = GetPsaPaKey(kMatterConfig_KeyOffset, 0x0B);
72+
const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_HardwareVersionString = GetPsaPaKey(kMatterConfig_KeyOffset, 0x0C);
73+
const KVPsaPsStore::Key KVPsaPsStore::kConfigKey_SoftwareVersionString = GetPsaPaKey(kMatterConfig_KeyOffset, 0x0D);
74+
7075
// Keys stored in the Matter counters group
7176
const KVPsaPsStore::Key KVPsaPsStore::kCounterKey_RebootCount = GetPsaPaKey(kMatterCounter_KeyOffset, 0x00);
7277
const KVPsaPsStore::Key KVPsaPsStore::kCounterKey_UpTime = GetPsaPaKey(kMatterCounter_KeyOffset, 0x01);

src/platform/tests/TestConfigurationMgr.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ TEST_F(TestConfigurationMgr, SerialNumber)
9999
err = GetDeviceInstanceInfoProvider()->GetSerialNumber(buf, 64);
100100
EXPECT_EQ(err, CHIP_NO_ERROR);
101101

102-
EXPECT_EQ(strlen(buf), 5u);
103-
EXPECT_STREQ(buf, "89051");
102+
EXPECT_EQ(strlen(buf), 7u);
103+
EXPECT_STREQ(buf, "AAZZ236");
104104
}
105105

106106
TEST_F(TestConfigurationMgr, UniqueId)

0 commit comments

Comments
 (0)