Skip to content

Commit f90211e

Browse files
authored
Merge branch 'master' into AA/mDNSnlunit
2 parents b70f8a0 + 27a05ca commit f90211e

File tree

396 files changed

+5367
-6419
lines changed

Some content is hidden

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

396 files changed

+5367
-6419
lines changed

.github/.wordlist.txt

+2
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ DelayedActionTime
369369
delayedApplyActionTimeSec
370370
delayedQueryActionTimeSec
371371
delayQuery
372+
deliverables
372373
demangle
373374
deployable
374375
depottools
@@ -729,6 +730,7 @@ JLink
729730
JLinkExe
730731
JLinkRTTClient
731732
JN
733+
jni
732734
jpg
733735
jre
734736
js

.github/workflows/qemu.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ jobs:
6060
build \
6161
"
6262
- name: Run all tests
63-
# Disabled being tracked here: https://github.com/project-chip/connectedhomeip/issues/32587
64-
if: false
6563
run: |
6664
src/test_driver/esp32/run_qemu_image.py \
6765
--verbose \

.github/workflows/tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ jobs:
559559
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-rvc-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace_file json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_RVCOPSTATE_2_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
560560
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-rvc-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace_file json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_RVCOPSTATE_2_3.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
561561
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-rvc-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace_file json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_RVCOPSTATE_2_4.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS examples/rvc-app/rvc-common/pics/rvc-app-pics-values --endpoint 1 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
562+
scripts/run_in_python_env.sh out/venv './src/python_testing/test_testing/test_TC_DA_1_2.py'
562563
- name: Uploading core files
563564
uses: actions/upload-artifact@v4
564565
if: ${{ failure() && !env.ACT }}

config/esp32/components/chip/Kconfig

+14-2
Original file line numberDiff line numberDiff line change
@@ -1192,8 +1192,11 @@ menu "CHIP Device Layer"
11921192
menu "Commissioning Window Options"
11931193
config CHIP_DISCOVERY_TIMEOUT_SECS
11941194
int "Commissioning Window Timeout in seconds"
1195-
range 180 900
1196-
default 900
1195+
range 180 900 if !ENABLE_BLE_EXT_ANNOUNCEMENT
1196+
range 901 172800 if ENABLE_BLE_EXT_ANNOUNCEMENT
1197+
default 900 if !ENABLE_BLE_EXT_ANNOUNCEMENT
1198+
default 172800 if ENABLE_BLE_EXT_ANNOUNCEMENT
1199+
11971200
help
11981201
The amount of time (in seconds) after which the CHIP platform will close the Commissioning Window
11991202
endmenu
@@ -1216,4 +1219,13 @@ menu "CHIP Device Layer"
12161219

12171220
endmenu
12181221

1222+
menu "Enable BLE Extended Announcement"
1223+
config ENABLE_BLE_EXT_ANNOUNCEMENT
1224+
bool "Enable BLE Extended Announcement"
1225+
default n
1226+
help
1227+
Enable BLE Extended Announcement.To be used with CHIP_DISCOVERY_TIMEOUT_SECS for extended announcement duration.
1228+
1229+
endmenu
1230+
12191231
endmenu

config/zephyr/Kconfig

+18
Original file line numberDiff line numberDiff line change
@@ -533,4 +533,22 @@ config CHIP_OTA_IMAGE_EXTRA_ARGS
533533

534534
endif
535535

536+
config CHIP_BLE_EXT_ADVERTISING
537+
bool "Bluetooth LE extended advertising"
538+
help
539+
Enable Bluetooth LE extended advertising, which allows the device to advertise
540+
Matter service over Bluetooth LE for a period of time longer than 15 minutes.
541+
If this config is true,
542+
CHIP_DEVICE_CONFIG_DISCOVERY_TIMEOUT_SECS define can be set up to 172800 seconds (48h).
543+
544+
config CHIP_BLE_ADVERTISING_DURATION
545+
int "Bluetooth LE advertising duration in minutes"
546+
range 15 2880 if CHIP_BLE_EXT_ADVERTISING
547+
range 0 15
548+
default 15
549+
help
550+
Specify how long the device will advertise Matter service over Bluetooth LE in minutes.
551+
If CHIP_BLE_EXT_ADVERTISING is set to false, the maximum duration time is 15 minutes,
552+
else the maximum duration time can be extended to 2880 minutes (48h).
553+
536554
endif

docs/cluster_and_device_type_dev/cluster_and_device_type_dev.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ types in the SDK.
3636
- XML defines conformance
3737
- [src/app/zap-templates/zcl/data-model/chip/matter-devices.xml](https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml)
3838

39-
The following wiki page has a detailed description of how and where to add
40-
cluster and device type definitions so they are picked up properly by ZAP/ember
41-
and the SDK.
42-
43-
[https://groups.csa-iot.org/wg/matter-tsg/wiki/howto-add-a-new-device-type](https://groups.csa-iot.org/wg/matter-tsg/wiki/howto-add-a-new-device-type)
39+
See [How To Add New Device Types & Clusters](how_to_add_new_dts_and_clusters.md)
40+
for a detailed description of how and where to add cluster and device type
41+
definitions so they are picked up properly by ZAP/ember and the SDK.
4442

4543
Note that the output should also be verified against the spec using the
4644
[.matter parser tools](https://project-chip.github.io/connectedhomeip-doc/guides/matter_idl_tooling.html).

0 commit comments

Comments
 (0)