Skip to content

Commit

Permalink
Merge branch 'master' into granbery/electrical_measurement
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/controller/python/chip/clusters/__init__.py
  • Loading branch information
hasty committed Jan 27, 2024
2 parents 78c7658 + e03a83c commit 5677719
Show file tree
Hide file tree
Showing 283 changed files with 8,726 additions and 9,539 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ examples/thermostat/ameba/build
# https://github.com/espressif/idf-component-manager#using-with-a-project
examples/*/esp32/managed_components
examples/*/esp32/dependencies.lock

# jupyter temporary files
.ipynb_checkpoints

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ endpoint 0 {
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -2105,7 +2105,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -2192,7 +2192,7 @@ endpoint 2 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -2433,7 +2433,7 @@ endpoint 3 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -2477,7 +2477,7 @@ endpoint 4 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down
20 changes: 10 additions & 10 deletions examples/air-purifier-app/air-purifier-common/air-purifier-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -2445,10 +2445,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3525,10 +3525,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -6822,10 +6822,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -7347,10 +7347,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,7 @@ endpoint 0 {
callback attribute serverList;
callback attribute clientList;
callback attribute partsList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -2309,7 +2309,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -4048,10 +4048,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7168,7 +7168,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -7749,7 +7749,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -9049,7 +9049,7 @@ endpoint 2 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -9118,7 +9118,7 @@ endpoint 65534 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down
28 changes: 14 additions & 14 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl-with-test-extensions.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data with some extensions"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -459,10 +459,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -7544,10 +7544,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -23809,10 +23809,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -24593,10 +24593,10 @@
"side": "server",
"type": "bitmap32",
"included": 1,
"storageOption": "RAM",
"storageOption": "External",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": null,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ void emberAfDeviceEnergyManagementClusterInitCallback(chip::EndpointId endpointI
BitMask<DeviceEnergyManagement::Feature, uint32_t>(
DeviceEnergyManagement::Feature::kPowerAdjustment, DeviceEnergyManagement::Feature::kPowerForecastReporting,
DeviceEnergyManagement::Feature::kStateForecastReporting, DeviceEnergyManagement::Feature::kStartTimeAdjustment,
DeviceEnergyManagement::Feature::kPausable, DeviceEnergyManagement::Feature::kForecastAdjustment,
DeviceEnergyManagement::Feature::kConstraintBasedAdjustment));
DeviceEnergyManagement::Feature::kPausable));

if (!gInstance)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4467,12 +4467,13 @@ cluster WakeOnLan = 1283 {

/** This cluster provides an interface for controlling the current Channel on a device. */
cluster Channel = 1284 {
revision 1; // NOTE: Default/not specifically set
revision 2;

enum ChannelTypeEnum : enum8 {
kSatellite = 0;
kCable = 1;
kTerrestrial = 2;
kOTT = 3;
}

enum LineupInfoTypeEnum : enum8 {
Expand All @@ -4488,14 +4489,14 @@ cluster Channel = 1284 {
bitmap Feature : bitmap32 {
kChannelList = 0x1;
kLineupInfo = 0x2;
kElectronicGuide = 0x3;
kRecordProgram = 0x4;
kElectronicGuide = 0x4;
kRecordProgram = 0x8;
}

bitmap RecordingFlagBitmap : bitmap32 {
kScheduled = 0x1;
kRecordSeries = 0x2;
kRecorded = 0x3;
kRecorded = 0x4;
}

struct ProgramCastStruct {
Expand Down Expand Up @@ -4641,7 +4642,7 @@ cluster Channel = 1284 {

/** This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. */
cluster TargetNavigator = 1285 {
revision 1; // NOTE: Default/not specifically set
revision 2;

enum StatusEnum : enum8 {
kSuccess = 0;
Expand Down Expand Up @@ -4685,7 +4686,7 @@ cluster TargetNavigator = 1285 {

/** This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or Speaker. */
cluster MediaPlayback = 1286 {
revision 1; // NOTE: Default/not specifically set
revision 2;

enum CharacteristicEnum : enum8 {
kForcedSubtitles = 0;
Expand Down Expand Up @@ -4727,9 +4728,9 @@ cluster MediaPlayback = 1286 {
bitmap Feature : bitmap32 {
kAdvancedSeek = 0x1;
kVariableSpeed = 0x2;
kTextTracks = 0x3;
kAudioTracks = 0x4;
kAudioAdvance = 0x5;
kTextTracks = 0x4;
kAudioTracks = 0x8;
kAudioAdvance = 0x10;
}

struct TrackAttributesStruct {
Expand Down Expand Up @@ -5332,7 +5333,7 @@ cluster ApplicationBasic = 1293 {

/** This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App running on a Video Player device, which is represented as an endpoint (see [TV Architecture]), can use this cluster to help make the user account on the Content App match the user account on the Client. */
cluster AccountLogin = 1294 {
revision 1; // NOTE: Default/not specifically set
revision 2;

critical event LoggedOut = 0 {
optional node_id node = 0;
Expand Down Expand Up @@ -5897,7 +5898,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -6303,7 +6304,7 @@ endpoint 1 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -6850,7 +6851,7 @@ endpoint 2 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down Expand Up @@ -6914,7 +6915,7 @@ endpoint 65534 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
callback attribute featureMap;
callback attribute clusterRevision;
}

Expand Down
Loading

0 comments on commit 5677719

Please sign in to comment.