@@ -277,6 +277,18 @@ attribute_t *create_product_appearance(cluster_t *cluster, uint8_t *value, uint1
277
277
ATTRIBUTE_FLAG_NONE, esp_matter_array (value, length, count));
278
278
}
279
279
280
+ attribute_t *create_specification_version (cluster_t *cluster, uint32_t value)
281
+ {
282
+ return esp_matter::attribute::create (cluster, BasicInformation::Attributes::SpecificationVersion::Id, ATTRIBUTE_FLAG_NONE,
283
+ esp_matter_uint32 (value));
284
+ }
285
+
286
+ attribute_t *create_max_paths_per_invoke (cluster_t *cluster, uint16_t value)
287
+ {
288
+ return esp_matter::attribute::create (cluster, BasicInformation::Attributes::MaxPathsPerInvoke::Id, ATTRIBUTE_FLAG_NONE,
289
+ esp_matter_uint16 (value));
290
+ }
291
+
280
292
} /* attribute */
281
293
} /* basic_information */
282
294
@@ -447,6 +459,12 @@ attribute_t *create_reboot_count(cluster_t *cluster, uint16_t value)
447
459
ATTRIBUTE_FLAG_NONVOLATILE, esp_matter_uint16 (value));
448
460
}
449
461
462
+ attribute_t *create_up_time (cluster_t *cluster, uint64_t value)
463
+ {
464
+ return esp_matter::attribute::create (cluster, GeneralDiagnostics::Attributes::UpTime ::Id,
465
+ ATTRIBUTE_FLAG_NONVOLATILE, esp_matter_uint64 (value));
466
+ }
467
+
450
468
attribute_t *create_test_event_triggers_enabled (cluster_t *cluster, bool value)
451
469
{
452
470
return esp_matter::attribute::create (cluster, GeneralDiagnostics::Attributes::TestEventTriggersEnabled::Id,
@@ -1047,47 +1065,28 @@ attribute_t *create_group_name_support(cluster_t *cluster, uint8_t value)
1047
1065
} /* attribute */
1048
1066
} /* groups */
1049
1067
1050
- namespace scenes {
1068
+ namespace scenes_management {
1051
1069
namespace attribute {
1052
-
1053
- attribute_t *create_scene_count (cluster_t *cluster, uint8_t value)
1054
- {
1055
- return esp_matter::attribute::create (cluster, Scenes::Attributes::SceneCount::Id, ATTRIBUTE_FLAG_NONE,
1056
- esp_matter_uint8 (value));
1057
- }
1058
-
1059
- attribute_t *create_current_scene (cluster_t *cluster, uint8_t value)
1070
+ attribute_t *create_last_configured_by (cluster_t *cluster, uint64_t value)
1060
1071
{
1061
- return esp_matter::attribute::create (cluster, Scenes ::Attributes::CurrentScene ::Id, ATTRIBUTE_FLAG_NONE,
1062
- esp_matter_uint8 (value));
1072
+ return esp_matter::attribute::create (cluster, ScenesManagement ::Attributes::LastConfiguredBy ::Id, ATTRIBUTE_FLAG_NONE,
1073
+ esp_matter_uint64 (value));
1063
1074
}
1064
1075
1065
- attribute_t *create_current_group (cluster_t *cluster, uint16_t value)
1076
+ attribute_t *create_scene_table_size (cluster_t *cluster, uint16_t value)
1066
1077
{
1067
- return esp_matter::attribute::create (cluster, Scenes ::Attributes::CurrentGroup ::Id, ATTRIBUTE_FLAG_NONE,
1078
+ return esp_matter::attribute::create (cluster, ScenesManagement ::Attributes::SceneTableSize ::Id, ATTRIBUTE_FLAG_NONE,
1068
1079
esp_matter_uint16 (value));
1069
1080
}
1070
1081
1071
- attribute_t *create_scene_valid (cluster_t *cluster, bool value)
1072
- {
1073
- return esp_matter::attribute::create (cluster, Scenes::Attributes::SceneValid::Id, ATTRIBUTE_FLAG_NONE,
1074
- esp_matter_bool (value));
1075
- }
1076
-
1077
- attribute_t *create_scene_name_support (cluster_t *cluster, uint8_t value)
1078
- {
1079
- return esp_matter::attribute::create (cluster, Scenes::Attributes::NameSupport::Id, ATTRIBUTE_FLAG_NONE,
1080
- esp_matter_bitmap8 (value));
1081
- }
1082
-
1083
- attribute_t *create_scene_table_size (cluster_t *cluster, uint16_t value)
1082
+ attribute_t *create_fabric_scene_info (cluster_t *cluster, const uint8_t * value, uint16_t length, uint16_t count)
1084
1083
{
1085
- return esp_matter::attribute::create (cluster, Scenes ::Attributes::SceneTableSize ::Id, ATTRIBUTE_FLAG_NONE,
1086
- esp_matter_uint16 ( value));
1084
+ return esp_matter::attribute::create (cluster, ScenesManagement ::Attributes::FabricSceneInfo ::Id, ATTRIBUTE_FLAG_NONE,
1085
+ esp_matter_array (( uint8_t *) value, length, count ));
1087
1086
}
1088
1087
1089
1088
} /* attribute */
1090
- } /* scenes */
1089
+ } /* scenes_management */
1091
1090
1092
1091
namespace on_off {
1093
1092
namespace attribute {
@@ -1251,7 +1250,7 @@ attribute_t *create_current_saturation(cluster_t *cluster, uint8_t value, uint8_
1251
1250
attribute_t *attribute =
1252
1251
esp_matter::attribute::create (cluster, ColorControl::Attributes::CurrentSaturation::Id,
1253
1252
ATTRIBUTE_FLAG_NONVOLATILE, esp_matter_uint8 (value));
1254
- if (!attribute) {
1253
+ if (!attribute) {
1255
1254
ESP_LOGE (TAG, " Could not create attribute" );
1256
1255
return NULL ;
1257
1256
}
@@ -1308,7 +1307,7 @@ attribute_t *create_color_temperature_mireds(cluster_t *cluster, uint16_t value,
1308
1307
attribute_t *attribute =
1309
1308
esp_matter::attribute::create (cluster, ColorControl::Attributes::ColorTemperatureMireds::Id,
1310
1309
ATTRIBUTE_FLAG_NONVOLATILE, esp_matter_uint16 (value));
1311
- if (!attribute) {
1310
+ if (!attribute) {
1312
1311
ESP_LOGE (TAG, " Could not create attribute" );
1313
1312
return NULL ;
1314
1313
}
@@ -1321,7 +1320,7 @@ attribute_t *create_color_temp_physical_min_mireds(cluster_t *cluster, uint16_t
1321
1320
attribute_t *attribute =
1322
1321
esp_matter::attribute::create (cluster, ColorControl::Attributes::ColorTempPhysicalMinMireds::Id,
1323
1322
ATTRIBUTE_FLAG_NONE, esp_matter_uint16 (value));
1324
- if (!attribute) {
1323
+ if (!attribute) {
1325
1324
ESP_LOGE (TAG, " Could not create attribute" );
1326
1325
return NULL ;
1327
1326
}
@@ -1334,7 +1333,7 @@ attribute_t *create_color_temp_physical_max_mireds(cluster_t *cluster, uint16_t
1334
1333
attribute_t *attribute =
1335
1334
esp_matter::attribute::create (cluster, ColorControl::Attributes::ColorTempPhysicalMaxMireds::Id,
1336
1335
ATTRIBUTE_FLAG_NONE, esp_matter_uint16 (value));
1337
- if (!attribute) {
1336
+ if (!attribute) {
1338
1337
ESP_LOGE (TAG, " Could not create attribute" );
1339
1338
return NULL ;
1340
1339
}
@@ -1347,7 +1346,7 @@ attribute_t *create_couple_color_temp_to_level_min_mireds(cluster_t *cluster, ui
1347
1346
attribute_t *attribute =
1348
1347
esp_matter::attribute::create (cluster, ColorControl::Attributes::CoupleColorTempToLevelMinMireds::Id,
1349
1348
ATTRIBUTE_FLAG_NONE, esp_matter_uint16 (value));
1350
- if (!attribute) {
1349
+ if (!attribute) {
1351
1350
ESP_LOGE (TAG, " Could not create attribute" );
1352
1351
return NULL ;
1353
1352
}
@@ -1391,7 +1390,7 @@ attribute_t *create_current_y(cluster_t *cluster, uint16_t value, uint16_t min,
1391
1390
attribute_t *create_drift_compensation (cluster_t *cluster, uint8_t value, uint8_t min, uint8_t max)
1392
1391
{
1393
1392
attribute_t *attribute =
1394
- esp_matter::attribute::create (cluster, ColorControl::Attributes::DriftCompensation::Id,
1393
+ esp_matter::attribute::create (cluster, ColorControl::Attributes::DriftCompensation::Id,
1395
1394
ATTRIBUTE_FLAG_NONE, esp_matter_enum8 (value));
1396
1395
if (!attribute) {
1397
1396
ESP_LOGE (TAG, " Could not create attribute" );
@@ -1484,7 +1483,7 @@ attribute_t *create_primary_n_x(cluster_t *cluster, uint16_t value, uint8_t inde
1484
1483
break ;
1485
1484
}
1486
1485
return NULL ;
1487
-
1486
+
1488
1487
}
1489
1488
1490
1489
attribute_t *create_primary_n_y (cluster_t *cluster, uint16_t value, uint8_t index)
0 commit comments