Skip to content

Commit e169a12

Browse files
committed
Regen from XML
1 parent 8b4f859 commit e169a12

File tree

71 files changed

+293
-15956
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+293
-15956
lines changed

examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

+12-128
Original file line numberDiff line numberDiff line change
@@ -1270,16 +1270,6 @@ cluster Thermostat = 513 {
12701270
kCoolingAndHeatingWithReheat = 5;
12711271
}
12721272

1273-
enum PresetScenarioEnum : enum8 {
1274-
kUnspecified = 0;
1275-
kOccupied = 1;
1276-
kUnoccupied = 2;
1277-
kSleep = 3;
1278-
kWake = 4;
1279-
kVacation = 5;
1280-
kUserDefined = 6;
1281-
}
1282-
12831273
enum SetpointChangeSourceEnum : enum8 {
12841274
kManual = 0;
12851275
kSchedule = 1;
@@ -1341,10 +1331,6 @@ cluster Thermostat = 513 {
13411331
kSetback = 0x10;
13421332
kAutoMode = 0x20;
13431333
kLocalTemperatureNotExposed = 0x40;
1344-
kMatterScheduleConfiguration = 0x80;
1345-
kPresets = 0x100;
1346-
kSetpoints = 0x200;
1347-
kQueuedPresetsSupported = 0x400;
13481334
}
13491335

13501336
bitmap HVACSystemTypeBitmap : bitmap8 {
@@ -1354,9 +1340,8 @@ cluster Thermostat = 513 {
13541340
kHeatingUsesFuel = 0x20;
13551341
}
13561342

1357-
bitmap PresetTypeFeaturesBitmap : bitmap16 {
1358-
kAutomatic = 0x1;
1359-
kSupportsNames = 0x2;
1343+
bitmap OccupancyBitmap : bitmap8 {
1344+
kOccupied = 0x1;
13601345
}
13611346

13621347
bitmap ProgrammingOperationModeBitmap : bitmap8 {
@@ -1397,62 +1382,6 @@ cluster Thermostat = 513 {
13971382
kCoolSetpointPresent = 0x2;
13981383
}
13991384

1400-
bitmap ScheduleTypeFeaturesBitmap : bitmap16 {
1401-
kSupportsPresets = 0x1;
1402-
kSupportsSetpoints = 0x2;
1403-
kSupportsNames = 0x4;
1404-
kSupportsOff = 0x8;
1405-
}
1406-
1407-
bitmap TemperatureSetpointHoldPolicyBitmap : bitmap8 {
1408-
kHoldDurationElapsed = 0x1;
1409-
kHoldDurationElapsedOrPresetChanged = 0x2;
1410-
}
1411-
1412-
struct ScheduleTransitionStruct {
1413-
ScheduleDayOfWeekBitmap dayOfWeek = 0;
1414-
int16u transitionTime = 1;
1415-
optional octet_string<16> presetHandle = 2;
1416-
optional SystemModeEnum systemMode = 3;
1417-
optional temperature coolingSetpoint = 4;
1418-
optional temperature heatingSetpoint = 5;
1419-
}
1420-
1421-
struct ScheduleStruct {
1422-
nullable octet_string<16> scheduleHandle = 0;
1423-
SystemModeEnum systemMode = 1;
1424-
optional char_string<64> name = 2;
1425-
optional octet_string<16> presetHandle = 3;
1426-
ScheduleTransitionStruct transitions[] = 4;
1427-
optional nullable boolean builtIn = 5;
1428-
}
1429-
1430-
struct PresetStruct {
1431-
nullable octet_string<16> presetHandle = 0;
1432-
PresetScenarioEnum presetScenario = 1;
1433-
optional nullable char_string<64> name = 2;
1434-
optional temperature coolingSetpoint = 3;
1435-
optional temperature heatingSetpoint = 4;
1436-
nullable boolean builtIn = 5;
1437-
}
1438-
1439-
struct PresetTypeStruct {
1440-
PresetScenarioEnum presetScenario = 0;
1441-
int8u numberOfPresets = 1;
1442-
PresetTypeFeaturesBitmap presetTypeFeatures = 2;
1443-
}
1444-
1445-
struct QueuedPresetStruct {
1446-
nullable octet_string<16> presetHandle = 0;
1447-
nullable epoch_s transitionTimestamp = 1;
1448-
}
1449-
1450-
struct ScheduleTypeStruct {
1451-
SystemModeEnum systemMode = 0;
1452-
int8u numberOfSchedules = 1;
1453-
ScheduleTypeFeaturesBitmap scheduleTypeFeatures = 2;
1454-
}
1455-
14561385
struct WeeklyScheduleTransitionStruct {
14571386
int16u transitionTime = 0;
14581387
nullable temperature heatSetpoint = 1;
@@ -1461,23 +1390,23 @@ cluster Thermostat = 513 {
14611390

14621391
readonly attribute nullable temperature localTemperature = 0;
14631392
readonly attribute optional nullable temperature outdoorTemperature = 1;
1464-
readonly attribute optional bitmap8 occupancy = 2;
1393+
readonly attribute optional OccupancyBitmap occupancy = 2;
14651394
readonly attribute optional temperature absMinHeatSetpointLimit = 3;
14661395
readonly attribute optional temperature absMaxHeatSetpointLimit = 4;
14671396
readonly attribute optional temperature absMinCoolSetpointLimit = 5;
14681397
readonly attribute optional temperature absMaxCoolSetpointLimit = 6;
14691398
readonly attribute optional int8u PICoolingDemand = 7;
14701399
readonly attribute optional int8u PIHeatingDemand = 8;
1471-
attribute access(write: manage) optional bitmap8 HVACSystemTypeConfiguration = 9;
1400+
attribute access(write: manage) optional HVACSystemTypeBitmap HVACSystemTypeConfiguration = 9;
14721401
attribute access(write: manage) optional int8s localTemperatureCalibration = 16;
1473-
attribute optional int16s occupiedCoolingSetpoint = 17;
1474-
attribute optional int16s occupiedHeatingSetpoint = 18;
1475-
attribute optional int16s unoccupiedCoolingSetpoint = 19;
1476-
attribute optional int16s unoccupiedHeatingSetpoint = 20;
1477-
attribute access(write: manage) optional int16s minHeatSetpointLimit = 21;
1478-
attribute access(write: manage) optional int16s maxHeatSetpointLimit = 22;
1479-
attribute access(write: manage) optional int16s minCoolSetpointLimit = 23;
1480-
attribute access(write: manage) optional int16s maxCoolSetpointLimit = 24;
1402+
attribute optional temperature occupiedCoolingSetpoint = 17;
1403+
attribute optional temperature occupiedHeatingSetpoint = 18;
1404+
attribute optional temperature unoccupiedCoolingSetpoint = 19;
1405+
attribute optional temperature unoccupiedHeatingSetpoint = 20;
1406+
attribute access(write: manage) optional temperature minHeatSetpointLimit = 21;
1407+
attribute access(write: manage) optional temperature maxHeatSetpointLimit = 22;
1408+
attribute access(write: manage) optional temperature minCoolSetpointLimit = 23;
1409+
attribute access(write: manage) optional temperature maxCoolSetpointLimit = 24;
14811410
attribute access(write: manage) optional int8s minSetpointDeadBand = 25;
14821411
attribute access(write: manage) optional RemoteSensingBitmap remoteSensing = 26;
14831412
attribute access(write: manage) ControlSequenceOfOperationEnum controlSequenceOfOperation = 27;
@@ -1508,20 +1437,6 @@ cluster Thermostat = 513 {
15081437
attribute access(write: manage) optional ACLouverPositionEnum ACLouverPosition = 69;
15091438
readonly attribute optional nullable temperature ACCoilTemperature = 70;
15101439
attribute access(write: manage) optional ACCapacityFormatEnum ACCapacityformat = 71;
1511-
readonly attribute optional PresetTypeStruct presetTypes[] = 72;
1512-
readonly attribute optional ScheduleTypeStruct scheduleTypes[] = 73;
1513-
readonly attribute optional int8u numberOfPresets = 74;
1514-
readonly attribute optional int8u numberOfSchedules = 75;
1515-
readonly attribute optional int8u numberOfScheduleTransitions = 76;
1516-
readonly attribute optional nullable int8u numberOfScheduleTransitionPerDay = 77;
1517-
readonly attribute optional nullable octet_string<16> activePresetHandle = 78;
1518-
readonly attribute optional nullable octet_string<16> activeScheduleHandle = 79;
1519-
attribute access(write: manage) optional PresetStruct presets[] = 80;
1520-
attribute access(write: manage) optional ScheduleStruct schedules[] = 81;
1521-
readonly attribute optional boolean presetsSchedulesEditable = 82;
1522-
readonly attribute optional TemperatureSetpointHoldPolicyBitmap temperatureSetpointHoldPolicy = 83;
1523-
readonly attribute optional nullable epoch_s setpointHoldExpiryTimestamp = 84;
1524-
readonly attribute optional nullable QueuedPresetStruct queuedPreset = 85;
15251440
readonly attribute command_id generatedCommandList[] = 65528;
15261441
readonly attribute command_id acceptedCommandList[] = 65529;
15271442
readonly attribute event_id eventList[] = 65530;
@@ -1553,23 +1468,6 @@ cluster Thermostat = 513 {
15531468
ScheduleModeBitmap modeToReturn = 1;
15541469
}
15551470

1556-
request struct SetActiveScheduleRequestRequest {
1557-
octet_string<16> scheduleHandle = 0;
1558-
}
1559-
1560-
request struct SetActivePresetRequestRequest {
1561-
octet_string<16> presetHandle = 0;
1562-
optional int16u delayMinutes = 1;
1563-
}
1564-
1565-
request struct StartPresetsSchedulesEditRequestRequest {
1566-
int16u timeoutSeconds = 0;
1567-
}
1568-
1569-
request struct SetTemperatureSetpointHoldPolicyRequest {
1570-
TemperatureSetpointHoldPolicyBitmap temperatureSetpointHoldPolicy = 0;
1571-
}
1572-
15731471
/** Command description for SetpointRaiseLower */
15741472
command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
15751473
/** Command description for SetWeeklySchedule */
@@ -1578,20 +1476,6 @@ cluster Thermostat = 513 {
15781476
command GetWeeklySchedule(GetWeeklyScheduleRequest): GetWeeklyScheduleResponse = 2;
15791477
/** This command is used to clear the weekly schedule. The ClearWeeklySchedule command has no payload. */
15801478
command access(invoke: manage) ClearWeeklySchedule(): DefaultSuccess = 3;
1581-
/** This command is used to set the active schedule. */
1582-
command SetActiveScheduleRequest(SetActiveScheduleRequestRequest): DefaultSuccess = 5;
1583-
/** This command is used to set the active preset. */
1584-
command SetActivePresetRequest(SetActivePresetRequestRequest): DefaultSuccess = 6;
1585-
/** This command is used to start editing the presets and schedules. */
1586-
command access(invoke: manage) StartPresetsSchedulesEditRequest(StartPresetsSchedulesEditRequestRequest): DefaultSuccess = 7;
1587-
/** This command is used to cancel editing presets and schedules. */
1588-
command access(invoke: manage) CancelPresetsSchedulesEditRequest(): DefaultSuccess = 8;
1589-
/** This command is used to notify the server that all edits are done and should be committed. */
1590-
command access(invoke: manage) CommitPresetsSchedulesRequest(): DefaultSuccess = 9;
1591-
/** This command is sent to cancel a queued preset. */
1592-
command access(invoke: manage) CancelSetActivePresetRequest(): DefaultSuccess = 10;
1593-
/** This command sets the set point hold policy. */
1594-
command SetTemperatureSetpointHoldPolicy(SetTemperatureSetpointHoldPolicyRequest): DefaultSuccess = 11;
15951479
}
15961480

15971481
/** An interface for controlling a fan in a heating/cooling system. */

0 commit comments

Comments
 (0)