Skip to content

Commit f0c1d94

Browse files
Merge branch 'master' into timer_delegate_relocation
2 parents 9a85f5f + 791f872 commit f0c1d94

File tree

255 files changed

+10148
-2053
lines changed

Some content is hidden

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

255 files changed

+10148
-2053
lines changed

build/chip/chip_test_suite.gni

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ template("chip_test_suite") {
9595
} else {
9696
public_deps += [ "${chip_root}/src/platform/logging:default" ]
9797
}
98+
public_deps += [ "${chip_root}/src/lib/support/tests:pw-test-macros" ]
9899

99100
if (chip_device_platform == "esp32") {
100101
complete_static_lib = true

config/common/cmake/make_gn_args.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ def write_gn_args(args):
5656
filtered_value = filter(lambda v: v != "D", filtered_value)
5757
filtered_value = filter(lambda v: v != "isystem", filtered_value)
5858
# Escaped quote and dollar sign characters
59-
filtered_value = map(lambda v: v.replace('"', '\\"'), filtered_value)
60-
filtered_value = map(lambda v: v.replace('$', '\\$'), filtered_value)
59+
filtered_value = (v.replace('"', '\\"') for v in filtered_value)
60+
filtered_value = (v.replace('$', '\\$') for v in filtered_value)
6161
# Remove white spaces around the argument and remove internal whitespace
6262
# for correct splitting in string_split() function
63-
filtered_value = map(lambda v: v.strip(), filtered_value)
64-
filtered_value = map(lambda v: v.replace(' ', ''), filtered_value)
63+
filtered_value = (v.strip() for v in filtered_value)
64+
filtered_value = (v.replace(' ', '') for v in filtered_value)
6565
# Remove duplicates
6666
filtered_value = list(dict.fromkeys(filtered_value))
6767

config/esp32/components/chip/create_args_gn.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@
4444
compile_commands = json.load(compile_commands_json)
4545

4646
def get_compile_flags(src_file):
47-
compile_command = list(map(lambda res: res["command"],
48-
filter(lambda cmd: cmd["file"] == src_file, compile_commands)))
47+
compile_command = [
48+
res["command"]
49+
for res in filter(lambda cmd: cmd["file"] == src_file, compile_commands)
50+
]
4951

5052
if len(compile_command) != 1:
51-
raise Exception("Failed to resolve compile flags for %s", src_file)
53+
raise Exception(f"Failed to resolve compile flags for {src_file}")
5254

5355
compile_command = compile_command[0]
5456
# Trim compiler, input and output
@@ -57,12 +59,10 @@ def get_compile_flags(src_file):
5759
replace = "-I%s" % args.idf_path
5860
replace_with = "-isystem%s" % args.idf_path
5961

60-
compile_flags = list(map(lambda f: ('"%s"' % f).replace(
61-
replace, replace_with), compile_flags))
62+
compile_flags = [f'"{f}"'.replace(replace, replace_with) for f in compile_flags]
6263

6364
if args.filter_out:
64-
filter_out = list(map(lambda f: ('"%s"' % f),
65-
args.filter_out.split(';')))
65+
filter_out = [f'"{f}"' for f in args.filter_out.split(';')]
6666
compile_flags = [c for c in compile_flags if c not in filter_out]
6767

6868
return compile_flags

config/nxp/cmake/Kconfig.matter.common

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,13 @@ config CHIP_ICD_UAT_SUPPORT
400400
Enables the User Active Mode Trigger (UAT) support in Matter. It allows the User to use application specific
401401
means (e.g. button press) to trigger an ICD device to enter the active mode and become responsive.
402402

403+
config CHIP_ICD_DSLS_SUPPORT
404+
bool "Intermittently Connected Device Dynamic SIT LIT support"
405+
depends on CHIP_ICD_LIT_SUPPORT
406+
help
407+
Enables the Dynamic SIT LIT support in Matter. It allows the application to dynamically switch between
408+
SIT and LIT modes, as long as the requirements for these modes are met (e.g. device has at least one active ICD client).
409+
403410
config CHIP_ICD_CLIENTS_PER_FABRIC
404411
int "Intermittently Connected Device number of clients per fabric"
405412
default 2

config/nxp/cmake/common.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ matter_add_gn_arg_bool("chip_enable_ethernet" CONFIG_CHIP_ETHERNET)
4949
matter_add_gn_arg_bool("chip_system_config_provide_statistics" CONFIG_CHIP_STATISTICS)
5050
matter_add_gn_arg_bool("chip_enable_icd_server" CONFIG_CHIP_ENABLE_ICD_SUPPORT)
5151
matter_add_gn_arg_bool("chip_enable_icd_lit" CONFIG_CHIP_ICD_LIT_SUPPORT)
52+
matter_add_gn_arg_bool("chip_enable_icd_dsls" CONFIG_CHIP_ICD_DSLS_SUPPORT)
5253
matter_add_gn_arg_bool("chip_enable_ota_requestor" CONFIG_CHIP_OTA_REQUESTOR)
5354
matter_add_gn_arg_bool("chip_system_config_use_openthread_inet_endpoints" CONFIG_CHIP_USE_OT_ENDPOINT)
5455

credentials/generate_revocation_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
__LOG_LEVELS__ = {
4747
'debug': logging.DEBUG,
4848
'info': logging.INFO,
49-
'warn': logging.WARN,
49+
'warn': logging.WARNING,
5050
'fatal': logging.FATAL,
5151
}
5252

docs/_extensions/external_content.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ def sync_contents(app: Sphinx) -> None:
169169

170170
srcdir = Path(app.srcdir).resolve()
171171
to_copy = []
172-
to_delete = set(f for f in srcdir.glob("**/*") if not f.is_dir())
173-
to_keep = set(
172+
to_delete = {f for f in srcdir.glob("**/*") if not f.is_dir()}
173+
to_keep = {
174174
f
175175
for k in app.config.external_content_keep
176176
for f in srcdir.glob(k)
177177
if not f.is_dir()
178-
)
178+
}
179179

180180
for content in app.config.external_content_contents:
181181
prefix_src, glob = content

docs/ids_and_codes/zap_clusters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Generally regenerate using one of:
7474
| 101 | 0x65 | Groupcast |
7575
| 113 | 0x71 | HepaFilterMonitoring |
7676
| 114 | 0x72 | ActivatedCarbonFilterMonitoring |
77+
| 121 | 0x79 | WaterTankLevelMonitoring |
7778
| 128 | 0x80 | BooleanStateConfiguration |
7879
| 129 | 0x81 | ValveConfigurationAndControl |
7980
| 144 | 0x90 | ElectricalPowerMeasurement |

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ cluster AirQuality = 91 {
16481648

16491649
/** Attributes and commands for monitoring HEPA filters in a device */
16501650
cluster HepaFilterMonitoring = 113 {
1651-
revision 1; // NOTE: Default/not specifically set
1651+
revision 1;
16521652

16531653
shared enum ChangeIndicationEnum : enum8 {
16541654
kOK = 0 [spec_name = "OK"];
@@ -1692,13 +1692,13 @@ cluster HepaFilterMonitoring = 113 {
16921692
readonly attribute bitmap32 featureMap = 65532;
16931693
readonly attribute int16u clusterRevision = 65533;
16941694

1695-
/** Reset the condition of the replaceable to the non degraded state */
1695+
/** Upon receipt, the device SHALL reset the Condition and ChangeIndicator attributes, indicating full resource availability and readiness for use, as initially configured. */
16961696
command ResetCondition(): DefaultSuccess = 0;
16971697
}
16981698

16991699
/** Attributes and commands for monitoring activated carbon filters in a device */
17001700
cluster ActivatedCarbonFilterMonitoring = 114 {
1701-
revision 1; // NOTE: Default/not specifically set
1701+
revision 1;
17021702

17031703
shared enum ChangeIndicationEnum : enum8 {
17041704
kOK = 0 [spec_name = "OK"];
@@ -1742,7 +1742,7 @@ cluster ActivatedCarbonFilterMonitoring = 114 {
17421742
readonly attribute bitmap32 featureMap = 65532;
17431743
readonly attribute int16u clusterRevision = 65533;
17441744

1745-
/** Reset the condition of the replaceable to the non degraded state */
1745+
/** Upon receipt, the device SHALL reset the Condition and ChangeIndicator attributes, indicating full resource availability and readiness for use, as initially configured. */
17461746
command ResetCondition(): DefaultSuccess = 0;
17471747
}
17481748

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4102,7 +4102,7 @@ provisional cluster ScenesManagement = 98 {
41024102

41034103
/** Attributes and commands for monitoring HEPA filters in a device */
41044104
cluster HepaFilterMonitoring = 113 {
4105-
revision 1; // NOTE: Default/not specifically set
4105+
revision 1;
41064106

41074107
shared enum ChangeIndicationEnum : enum8 {
41084108
kOK = 0 [spec_name = "OK"];
@@ -4146,13 +4146,13 @@ cluster HepaFilterMonitoring = 113 {
41464146
readonly attribute bitmap32 featureMap = 65532;
41474147
readonly attribute int16u clusterRevision = 65533;
41484148

4149-
/** Reset the condition of the replaceable to the non degraded state */
4149+
/** Upon receipt, the device SHALL reset the Condition and ChangeIndicator attributes, indicating full resource availability and readiness for use, as initially configured. */
41504150
command ResetCondition(): DefaultSuccess = 0;
41514151
}
41524152

41534153
/** Attributes and commands for monitoring activated carbon filters in a device */
41544154
cluster ActivatedCarbonFilterMonitoring = 114 {
4155-
revision 1; // NOTE: Default/not specifically set
4155+
revision 1;
41564156

41574157
shared enum ChangeIndicationEnum : enum8 {
41584158
kOK = 0 [spec_name = "OK"];
@@ -4196,7 +4196,7 @@ cluster ActivatedCarbonFilterMonitoring = 114 {
41964196
readonly attribute bitmap32 featureMap = 65532;
41974197
readonly attribute int16u clusterRevision = 65533;
41984198

4199-
/** Reset the condition of the replaceable to the non degraded state */
4199+
/** Upon receipt, the device SHALL reset the Condition and ChangeIndicator attributes, indicating full resource availability and readiness for use, as initially configured. */
42004200
command ResetCondition(): DefaultSuccess = 0;
42014201
}
42024202

0 commit comments

Comments
 (0)