Skip to content

Commit

Permalink
Merge branch 'master' into disconnect_previous_network_when_trying_a_new
Browse files Browse the repository at this point in the history
  • Loading branch information
DejinChen authored Sep 10, 2024
2 parents 75df75b + 01632c4 commit 9118cab
Show file tree
Hide file tree
Showing 154 changed files with 1,826 additions and 13,000 deletions.
1 change: 1 addition & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,7 @@ virtualenv
visualstudio
vlatest
VLEDs
vm
vn
vnc
vous
Expand Down
108 changes: 108 additions & 0 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2985,6 +2985,16 @@ cluster OvenMode = 73 {
revision 1;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kBake = 16384;
kConvection = 16385;
kGrill = 16386;
Expand Down Expand Up @@ -3106,6 +3116,16 @@ cluster LaundryWasherMode = 81 {
revision 2;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kNormal = 16384;
kDelicate = 16385;
kHeavy = 16386;
Expand Down Expand Up @@ -3157,6 +3177,16 @@ cluster RefrigeratorAndTemperatureControlledCabinetMode = 82 {
revision 2;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kRapidCool = 16384;
kRapidFreeze = 16385;
}
Expand Down Expand Up @@ -3234,6 +3264,16 @@ cluster RvcRunMode = 84 {
revision 3;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kIdle = 16384;
kCleaning = 16385;
kMapping = 16386;
Expand Down Expand Up @@ -3293,6 +3333,16 @@ cluster RvcCleanMode = 85 {
revision 3;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kDeepClean = 16384;
kVacuum = 16385;
kMop = 16386;
Expand Down Expand Up @@ -3403,6 +3453,16 @@ cluster DishwasherMode = 89 {
revision 2;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kNormal = 16384;
kHeavy = 16385;
kLight = 16386;
Expand Down Expand Up @@ -3644,6 +3704,16 @@ cluster MicrowaveOvenMode = 94 {
revision 1;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kNormal = 16384;
kDefrost = 16385;
}
Expand Down Expand Up @@ -3744,6 +3814,10 @@ cluster RvcOperationalState = 97 {
revision 1;

enum ErrorStateEnum : enum8 {
kNoError = 0;
kUnableToStartOrResume = 1;
kUnableToCompleteOperation = 2;
kCommandInvalidInState = 3;
kFailedToFindChargingDock = 64;
kStuck = 65;
kDustBinMissing = 66;
Expand All @@ -3755,6 +3829,10 @@ cluster RvcOperationalState = 97 {
}

enum OperationalStateEnum : enum8 {
kStopped = 0;
kRunning = 1;
kPaused = 2;
kError = 3;
kSeekingCharger = 64;
kCharging = 65;
kDocked = 66;
Expand Down Expand Up @@ -4903,6 +4981,16 @@ cluster EnergyEvseMode = 157 {
revision 1;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kManual = 16384;
kTimeOfUse = 16385;
kSolarCharging = 16386;
Expand Down Expand Up @@ -4953,6 +5041,16 @@ cluster WaterHeaterMode = 158 {
revision 1;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kOff = 16384;
kManual = 16385;
kTimed = 16386;
Expand Down Expand Up @@ -5003,6 +5101,16 @@ provisional cluster DeviceEnergyManagementMode = 159 {
revision 1;

enum ModeTag : enum16 {
kAuto = 0;
kQuick = 1;
kQuiet = 2;
kLowNoise = 3;
kLowEnergy = 4;
kVacation = 5;
kMin = 6;
kMax = 7;
kNight = 8;
kDay = 9;
kNoOptimization = 16384;
kDeviceOptimization = 16385;
kLocalOptimization = 16386;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -988,67 +988,6 @@ cluster OtaSoftwareUpdateRequestor = 42 {
command AnnounceOTAProvider(AnnounceOTAProviderRequest): DefaultSuccess = 0;
}

/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing common languages, units of measurements, and numerical formatting
standards. As such, Nodes that visually or audibly convey information need a mechanism by which
they can be configured to use a user’s preferred language, units, etc */
cluster LocalizationConfiguration = 43 {
revision 1; // NOTE: Default/not specifically set

attribute access(write: manage) char_string<35> activeLocale = 0;
readonly attribute char_string supportedLocales[] = 1;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing preferences for how dates and times are conveyed. As such, Nodes that visually
or audibly convey time information need a mechanism by which they can be configured to use a
user’s preferred format. */
cluster TimeFormatLocalization = 44 {
revision 1; // NOTE: Default/not specifically set

enum CalendarTypeEnum : enum8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
kEthiopian = 3;
kGregorian = 4;
kHebrew = 5;
kIndian = 6;
kIslamic = 7;
kJapanese = 8;
kKorean = 9;
kPersian = 10;
kTaiwanese = 11;
kUseActiveLocale = 255;
}

enum HourFormatEnum : enum8 {
k12hr = 0;
k24hr = 1;
kUseActiveLocale = 255;
}

bitmap Feature : bitmap32 {
kCalendarFormat = 0x1;
}

attribute access(write: manage) HourFormatEnum hourFormat = 0;
attribute access(write: manage) optional CalendarTypeEnum activeCalendarType = 1;
readonly attribute optional CalendarTypeEnum supportedCalendarTypes[] = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}

/** This cluster is used to manage global aspects of the Commissioning flow. */
cluster GeneralCommissioning = 48 {
revision 1; // NOTE: Default/not specifically set
Expand Down Expand Up @@ -2047,21 +1986,6 @@ endpoint 0 {
handle command AnnounceOTAProvider;
}

server cluster LocalizationConfiguration {
callback attribute activeLocale;
callback attribute supportedLocales;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
}

server cluster TimeFormatLocalization {
persist attribute hourFormat default = 0;
persist attribute activeCalendarType default = 0;
callback attribute supportedCalendarTypes;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
}

server cluster GeneralCommissioning {
ram attribute breadcrumb default = 0x0000000000000000;
callback attribute basicCommissioningInfo;
Expand Down
Loading

0 comments on commit 9118cab

Please sign in to comment.