File tree 19 files changed +112
-4
lines changed
19 files changed +112
-4
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,11 @@ const ASRConfig::Key ASRConfig::kConfigKey_WiFiSecurity = { kConfigNamespa
80
80
const ASRConfig::Key ASRConfig::kConfigKey_WiFiMode = { kConfigNamespace_ChipConfig , " wifimode" };
81
81
const ASRConfig::Key ASRConfig::kConfigKey_UniqueId = { kConfigNamespace_ChipConfig , " unique-id" };
82
82
83
+ const ASRConfig::Key ASRConfig::kConfigKey_VendorName = { kConfigNamespace_ChipConfig , " vendor-name" };
84
+ const ASRConfig::Key ASRConfig::kConfigKey_ProductName = { kConfigNamespace_ChipConfig , " product-name" };
85
+ const ASRConfig::Key ASRConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipConfig , " hardware-version-string" };
86
+ const ASRConfig::Key ASRConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig , " software-version-string" };
87
+
83
88
// Keys stored in the Chip-counters namespace
84
89
const ASRConfig::Key ASRConfig::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
85
90
const ASRConfig::Key ASRConfig::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ const AmebaConfig::Key AmebaConfig::kConfigKey_RegulatoryLocation = { k
79
79
const AmebaConfig::Key AmebaConfig::kConfigKey_LocationCapability = { kConfigNamespace_ChipConfig , " location-capability" };
80
80
const AmebaConfig::Key AmebaConfig::kConfigKey_CountryCode = { kConfigNamespace_ChipConfig , " country-code" };
81
81
82
+ const AmebaConfig::Key AmebaConfig::kConfigKey_VendorName = { kConfigNamespace_ChipConfig , " vendor-name" };
83
+ const AmebaConfig::Key AmebaConfig::kConfigKey_ProductName = { kConfigNamespace_ChipConfig , " product-name" };
84
+ const AmebaConfig::Key AmebaConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipConfig , " hardware-version-string" };
85
+ const AmebaConfig::Key AmebaConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig , " software-version-string" };
86
+
82
87
// Keys stored in the Chip-counters namespace
83
88
const AmebaConfig::Key AmebaConfig::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
84
89
const AmebaConfig::Key AmebaConfig::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ const BekenConfig::Key BekenConfig::kConfigKey_RegulatoryLocation = { k
79
79
const BekenConfig::Key BekenConfig::kConfigKey_CountryCode = { kConfigNamespace_ChipConfig , " country-code" };
80
80
const BekenConfig::Key BekenConfig::kConfigKey_Breadcrumb = { kConfigNamespace_ChipConfig , " breadcrumb" };
81
81
82
+ const BekenConfig::Key BekenConfig::kConfigKey_VendorName = { kConfigNamespace_ChipConfig , " vendor-name" };
83
+ const BekenConfig::Key BekenConfig::kConfigKey_ProductName = { kConfigNamespace_ChipConfig , " product-name" };
84
+ const BekenConfig::Key BekenConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipConfig , " hardware-version-string" };
85
+ const BekenConfig::Key BekenConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig , " software-version-string" };
86
+
82
87
// Keys stored in the Chip-counters namespace
83
88
const BekenConfig::Key BekenConfig::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
84
89
const BekenConfig::Key BekenConfig::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ const ESP32Config::Key ESP32Config::kConfigKey_WeekDaySchedules = { kConfigNam
97
97
const ESP32Config::Key ESP32Config::kConfigKey_YearDaySchedules = { kConfigNamespace_ChipConfig , " year-day-sched" };
98
98
const ESP32Config::Key ESP32Config::kConfigKey_HolidaySchedules = { kConfigNamespace_ChipConfig , " holiday-sched" };
99
99
100
+ const ESP32Config::Key ESP32Config::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig , " sw-ver-str" };
101
+
100
102
// Keys stored in the Chip-counters namespace
101
103
const ESP32Config::Key ESP32Config::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
102
104
const ESP32Config::Key ESP32Config::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ class ESP32Config
99
99
static const Key kConfigKey_YearDaySchedules ;
100
100
static const Key kConfigKey_HolidaySchedules ;
101
101
102
+ static const Key kConfigKey_SoftwareVersionString ;
103
+
102
104
// CHIP Counter keys
103
105
static const Key kCounterKey_RebootCount ;
104
106
static const Key kCounterKey_UpTime ;
Original file line number Diff line number Diff line change @@ -88,6 +88,15 @@ const P6Config::Key P6Config::kConfigKey_YearDaySchedules = { kConfigNamespace_C
88
88
const P6Config::Key P6Config::kConfigKey_HolidaySchedules = { kConfigNamespace_ChipConfig , " holiday-schedules" };
89
89
;
90
90
91
+ const P6Config::Key P6Config::kConfigKey_VendorName = { kConfigNamespace_ChipConfig , " vendor-name" };
92
+ ;
93
+ const P6Config::Key P6Config::kConfigKey_ProductName = { kConfigNamespace_ChipConfig , " product-name" };
94
+ ;
95
+ const P6Config::Key P6Config::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipConfig , " hardware-version-string" };
96
+ ;
97
+ const P6Config::Key P6Config::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig , " software-version-string" };
98
+ ;
99
+
91
100
// Keys stored in the Chip-counters namespace
92
101
const P6Config::Key P6Config::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
93
102
const P6Config::Key P6Config::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ const PosixConfig::Key PosixConfig::kConfigKey_CountryCode = { kConfigNam
74
74
const PosixConfig::Key PosixConfig::kConfigKey_LocationCapability = { kConfigNamespace_ChipConfig , " location-capability" };
75
75
const PosixConfig::Key PosixConfig::kConfigKey_UniqueId = { kConfigNamespace_ChipFactory , " unique-id" };
76
76
77
+ const PosixConfig::Key PosixConfig::kConfigKey_VendorName = { kConfigNamespace_ChipFactory , " vendor-name" };
78
+ const PosixConfig::Key PosixConfig::kConfigKey_ProductName = { kConfigNamespace_ChipFactory , " product-name" };
79
+ const PosixConfig::Key PosixConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipFactory , " hardware-version-string" };
80
+ const PosixConfig::Key PosixConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipFactory , " software-version-string" };
81
+
77
82
// Keys stored in the Chip-counters namespace
78
83
const PosixConfig::Key PosixConfig::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
79
84
const PosixConfig::Key PosixConfig::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ class PosixConfig
78
78
static const Key kConfigKey_VendorId ;
79
79
static const Key kConfigKey_ProductId ;
80
80
81
+ static const Key kConfigKey_VendorName ;
82
+ static const Key kConfigKey_ProductName ;
83
+ static const Key kConfigKey_HardwareVersionString ;
84
+ static const Key kConfigKey_SoftwareVersionString ;
85
+
81
86
static const Key kCounterKey_RebootCount ;
82
87
static const Key kCounterKey_UpTime ;
83
88
static const Key kCounterKey_TotalOperationalHours ;
Original file line number Diff line number Diff line change @@ -66,6 +66,15 @@ const PosixConfig::Key PosixConfig::kConfigKey_RegulatoryLocation = { kConfigNam
66
66
const PosixConfig::Key PosixConfig::kConfigKey_CountryCode = { kConfigNamespace_ChipConfig , " country-code" };
67
67
const PosixConfig::Key PosixConfig::kConfigKey_UniqueId = { kConfigNamespace_ChipConfig , " unique-id" };
68
68
69
+ const PosixConfig::Key PosixConfig::kConfigKey_VendorName = { kConfigNamespace_ChipConfig , " vendor-name" };
70
+ const PosixConfig::Key PosixConfig::kConfigKey_ProductName = { kConfigNamespace_ChipConfig , " product-name" };
71
+ const PosixConfig::Key PosixConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipConfig , " hardware-version-string" };
72
+ const PosixConfig::Key PosixConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipConfig , " software-version-string" };
73
+
74
+ static const Key kConfigKey_ ;
75
+ static const Key kConfigKey_ ;
76
+ static const Key kConfigKey_ ;
77
+ static const Key kConfigKey_ ;
69
78
// Keys stored in the Chip-counters namespace
70
79
const PosixConfig::Key PosixConfig::kCounterKey_TotalOperationalHours = { kConfigNamespace_ChipCounters ,
71
80
" total-operational-hours" };
Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ class PosixConfig
75
75
static const Key kConfigKey_VendorId ;
76
76
static const Key kConfigKey_ProductId ;
77
77
78
+ static const Key kConfigKey_VendorName ;
79
+ static const Key kConfigKey_ProductName ;
80
+ static const Key kConfigKey_HardwareVersionString ;
81
+ static const Key kConfigKey_SoftwareVersionString ;
82
+
78
83
static const Key kCounterKey_TotalOperationalHours ;
79
84
static const Key kCounterKey_BootReason ;
80
85
Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ class BLConfig
77
77
78
78
static constexpr char kBLKey_factoryResetFlag [] = (" __factory_reset_pending" );
79
79
80
- static const Key kConfigKey_VendorName ;
81
- static const Key kConfigKey_ProductName ;
82
- static const Key kConfigKey_HardwareVersionString ;
83
- static const Key kConfigKey_SoftwareVersionString ;
80
+ static constexpr char kConfigKey_VendorName [] = ( " vendor-name " ) ;
81
+ static constexpr char kConfigKey_ProductName [] = ( " product-name " ) ;
82
+ static constexpr char kConfigKey_HardwareVersionString [] = ( " hardware-version-string " ) ;
83
+ static constexpr char kConfigKey_SoftwareVersionString [] = ( " software-version-string " ) ;
84
84
85
85
static void Init (void );
86
86
Original file line number Diff line number Diff line change @@ -123,6 +123,18 @@ const CC13XX_26XXConfig::Key CC13XX_26XXConfig::kConfigKey_UniqueId = {
123
123
{ .systemID = kCC13XX_26XXMatter_SysID , .itemID = kCC13XX_26XXMatter_ItemID_ChipConfig , .subID = 0x0001d }
124
124
};
125
125
126
+ const CC13XX_26XXConfig::Key CC13XX_26XXConfig::kConfigKey_VendorName = {
127
+ { .systemID = kCC13XX_26XXMatter_SysID , .itemID = kCC13XX_26XXMatter_ItemID_ChipConfig , .subID = 0x0001e }
128
+ };
129
+ const CC13XX_26XXConfig::Key CC13XX_26XXConfig::kConfigKey_ProductName = {
130
+ { .systemID = kCC13XX_26XXMatter_SysID , .itemID = kCC13XX_26XXMatter_ItemID_ChipConfig , .subID = 0x0001f }
131
+ };
132
+ const CC13XX_26XXConfig::Key CC13XX_26XXConfig::kConfigKey_HardwareVersionString = {
133
+ { .systemID = kCC13XX_26XXMatter_SysID , .itemID = kCC13XX_26XXMatter_ItemID_ChipConfig , .subID = 0x00020 }
134
+ };
135
+ const CC13XX_26XXConfig::Key CC13XX_26XXConfig::kConfigKey_SoftwareVersionString = {
136
+ { .systemID = kCC13XX_26XXMatter_SysID , .itemID = kCC13XX_26XXMatter_ItemID_ChipConfig , .subID = 0x00021 }
137
+ };
126
138
/* Internal for the KVS interface. */
127
139
const CC13XX_26XXConfig::Key CC13XX_26XXConfig::kConfigKey_KVS_key = { { .systemID = kCC13XX_26XXMatter_SysID ,
128
140
.itemID = kCC13XX_26XXMatter_ItemID_ChipKVS_key } };
Original file line number Diff line number Diff line change @@ -318,6 +318,11 @@ const CC32XXConfig::Key CC32XXConfig::kConfigKey_Spake2pIterationCount = { "TI_k
318
318
const CC32XXConfig::Key CC32XXConfig::kConfigKey_Spake2pSalt = { " TI_kConfigKey_Spake2pSalt" };
319
319
const CC32XXConfig::Key CC32XXConfig::kConfigKey_Spake2pVerifier = { " TI_kConfigKey_Spake2pVerifier" };
320
320
321
+ const CC32XXConfig::Key CC32XXConfig::kConfigKey_VendorName = { " TI_kConfigKey_VendorName" };
322
+ const CC32XXConfig::Key CC32XXConfig::kConfigKey_ProductName = { " TI_kConfigKey_ProductName" };
323
+ const CC32XXConfig::Key CC32XXConfig::kConfigKey_HardwareVersionString = { " TI_kConfigKey_HardwareVersionString" };
324
+ const CC32XXConfig::Key CC32XXConfig::kConfigKey_SoftwareVersionString = { " TI_kConfigKey_SoftwareVersionString" };
325
+
321
326
CC32XXKVSList * pList;
322
327
323
328
CHIP_ERROR CC32XXConfig::Init ()
Original file line number Diff line number Diff line change @@ -85,6 +85,16 @@ const MbedConfig::Key MbedConfig::kConfigKey_RegulatoryLocation = { CONFIG_KEY("
85
85
const MbedConfig::Key MbedConfig::kConfigKey_CountryCode = { CONFIG_KEY (" country-code" ) };
86
86
const MbedConfig::Key MbedConfig::kConfigKey_UniqueId = { CONFIG_KEY (" unique-id" ) };
87
87
88
+ const MbedConfig::Key MbedConfig::kConfigKey_VendorName = { CONFIG_KEY (" vendor-name" ) };
89
+ const MbedConfig::Key MbedConfig::kConfigKey_ProductName = { CONFIG_KEY (" product-name" ) };
90
+ const MbedConfig::Key MbedConfig::kConfigKey_HardwareVersionString = { CONFIG_KEY (" hardware-version-string" ) };
91
+ const MbedConfig::Key MbedConfig::kConfigKey_SoftwareVersionString = { CONFIG_KEY (" software-version-string" ) };
92
+
93
+ static const Key kConfigKey_ ;
94
+ static const Key kConfigKey_ ;
95
+ static const Key kConfigKey_ ;
96
+ static const Key kConfigKey_ ;
97
+
88
98
// Keys stored in the Chip-counters namespace
89
99
const MbedConfig::Key MbedConfig::kCounterKey_RebootCount = { COUNTER_KEY (" reboot-count" ) };
90
100
const MbedConfig::Key MbedConfig::kCounterKey_UpTime = { COUNTER_KEY (" up-time" ) };
Original file line number Diff line number Diff line change @@ -100,6 +100,14 @@ const MT793XConfig::Key MT793XConfig::kConfigKey_YearDaySchedules = { .Namespace
100
100
.Name = " yearday-sched" };
101
101
const MT793XConfig::Key MT793XConfig::kConfigKey_HolidaySchedules = { .Namespace = kConfigNamespace_ChipConfig ,
102
102
.Name = " holiday-sched" };
103
+
104
+ const MT793XConfig::Key MT793XConfig::kConfigKey_VendorName = { .Namespace = kConfigNamespace_ChipConfig , .Name = " vendor-name" };
105
+ const MT793XConfig::Key MT793XConfig::kConfigKey_ProductName = { .Namespace = kConfigNamespace_ChipConfig , .Name = " product-name" };
106
+ const MT793XConfig::Key MT793XConfig::kConfigKey_HardwareVersionString = { .Namespace = kConfigNamespace_ChipConfig ,
107
+ .Name = " hardware-version-string" };
108
+ const MT793XConfig::Key MT793XConfig::kConfigKey_SoftwareVersionString = { .Namespace = kConfigNamespace_ChipConfig ,
109
+ .Name = " software-version-string" };
110
+
103
111
// CHIP Counter Keys
104
112
const MT793XConfig::Key MT793XConfig::kConfigKey_BootCount = { .Namespace = kConfigNamespace_ChipCounters , .Name = " boot-count" };
105
113
const MT793XConfig::Key MT793XConfig::kConfigKey_TotalOperationalHours = { .Namespace = kConfigNamespace_ChipCounters ,
Original file line number Diff line number Diff line change @@ -101,6 +101,11 @@ class MT793XConfig
101
101
static const Key kConfigKey_WeekDaySchedules ;
102
102
static const Key kConfigKey_YearDaySchedules ;
103
103
static const Key kConfigKey_HolidaySchedules ;
104
+
105
+ static const Key kConfigKey_VendorName ;
106
+ static const Key kConfigKey_ProductName ;
107
+ static const Key kConfigKey_HardwareVersionString ;
108
+ static const Key kConfigKey_SoftwareVersionString ;
104
109
// CHIP Counter Keys
105
110
static const Key kConfigKey_BootCount ;
106
111
static const Key kConfigKey_TotalOperationalHours ;
Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ class STM32Config
67
67
static constexpr Key kConfigKey_Breadcrumb = 22 ;
68
68
static constexpr Key kConfigKey_UniqueId = 23 ;
69
69
static constexpr Key kConfigKey_ProductRevision = 24 ;
70
+
71
+ static constexpr Key kConfigKey_VendorName = 25 ;
72
+ static constexpr Key kConfigKey_ProductName = 26 ;
73
+ static constexpr Key kConfigKey_HardwareVersionString = 27 ;
74
+ static constexpr Key kConfigKey_SoftwareVersionString = 28 ;
75
+
70
76
// Set key id limits for each group.
71
77
static constexpr Key kConfigKey_Base = kConfigKey_SerialNum ;
72
78
static constexpr Key kConfigKey_Max = kConfigKey_UniqueId ;
Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ const PosixConfig::Key PosixConfig::kConfigKey_Breadcrumb = { kConfigNam
78
78
const PosixConfig::Key PosixConfig::kConfigKey_LocationCapability = { kConfigNamespace_ChipConfig , " location-capability" };
79
79
const PosixConfig::Key PosixConfig::kConfigKey_UniqueId = { kConfigNamespace_ChipFactory , " unique-id" };
80
80
81
+ const PosixConfig::Key PosixConfig::kConfigKey_VendorName = { kConfigNamespace_ChipFactory , " vendor-name" };
82
+ const PosixConfig::Key PosixConfig::kConfigKey_ProductName = { kConfigNamespace_ChipFactory , " product-name" };
83
+ const PosixConfig::Key PosixConfig::kConfigKey_HardwareVersionString = { kConfigNamespace_ChipFactory , " hardware-version-string" };
84
+ const PosixConfig::Key PosixConfig::kConfigKey_SoftwareVersionString = { kConfigNamespace_ChipFactory , " software-version-string" };
85
+
81
86
// Keys stored in the Chip-counters namespace
82
87
const PosixConfig::Key PosixConfig::kCounterKey_RebootCount = { kConfigNamespace_ChipCounters , " reboot-count" };
83
88
const PosixConfig::Key PosixConfig::kCounterKey_UpTime = { kConfigNamespace_ChipCounters , " up-time" };
Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ class PosixConfig
82
82
static const Key kConfigKey_VendorId ;
83
83
static const Key kConfigKey_ProductId ;
84
84
85
+ static const Key kConfigKey_VendorName ;
86
+ static const Key kConfigKey_ProductName ;
87
+ static const Key kConfigKey_HardwareVersionString ;
88
+ static const Key kConfigKey_SoftwareVersionString ;
89
+
85
90
static const Key kCounterKey_RebootCount ;
86
91
static const Key kCounterKey_UpTime ;
87
92
static const Key kCounterKey_TotalOperationalHours ;
You can’t perform that action at this time.
0 commit comments