Skip to content

Commit fdf05eb

Browse files
authored
Merge pull request #303 from espressif/matter_over_nimble_commissioning
feat(matter): removes CHIPOBLE to manage it case by case
2 parents 0c2137b + bde2460 commit fdf05eb

File tree

9 files changed

+35
-6
lines changed

9 files changed

+35
-6
lines changed

configs/defconfig.common

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ CONFIG_I2S_ISR_IRAM_SAFE=y
125125
# Matter Settings
126126
#
127127
# Disable Matter BLE
128-
CONFIG_ENABLE_CHIPOBLE=n
129128
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=n
130129
# ESP Insights
131130
CONFIG_ENABLE_ESP_INSIGHTS_TRACE=n
132131
# Use compact attribute storage mode
133132
CONFIG_ESP_MATTER_NVS_USE_COMPACT_ATTR_STORAGE=y
133+
# Do not use minimal mDNS within Matter Core
134+
CONFIG_USE_MINIMAL_MDNS=n
134135

135136
#TinyUSB Config
136137
CONFIG_TINYUSB_CDC_MAX_PORTS=2

configs/defconfig.esp32

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
2020
CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
2121
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
2222
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096
23+
24+
# Matter settings:
25+
CONFIG_ENABLE_CHIPOBLE=n

configs/defconfig.esp32c3

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ CONFIG_ESP_WIFI_SCAN_CACHE=y
1212
CONFIG_ESP_WIFI_MBO_SUPPORT=y
1313
CONFIG_ESP_WIFI_11R_SUPPORT=y
1414
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4096
15+
16+
# Matter settings:
17+
CONFIG_ENABLE_CHIPOBLE=y

configs/defconfig.esp32c5

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,13 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
5050
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
5151
# end of OpenThread
5252

53-
# Matter shall use only WiFi
54-
CONFIG_ENABLE_MATTER_OVER_THREAD=n
53+
# ESP32-C5 fails when ESP Matter 1.4.1 is used. Try this latter with some other IDF 5.5 commit
54+
# Matter settings: WiFi and OpenThread + CHIPoBLE
55+
# CONFIG_ENABLE_CHIPOBLE=y
56+
# CONFIG_ENABLE_MATTER_OVER_THREAD=y
57+
# Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id.
58+
# CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
59+
# CONFIG_WIFI_NETWORK_ENDPOINT_ID=0
5560

5661
#
5762
# Zigbee

configs/defconfig.esp32c6

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
4444
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
4545
# end of OpenThread
4646

47-
# Matter shall use only WiFi
48-
CONFIG_ENABLE_MATTER_OVER_THREAD=n
47+
# Matter settings: WiFi and OpenThread + CHIPoBLE
48+
CONFIG_ENABLE_CHIPOBLE=y
49+
CONFIG_ENABLE_MATTER_OVER_THREAD=y
50+
# Set endpoint id for Thread and Wi-Fi, depending on the secondary network interface endpoint id.
51+
CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
52+
CONFIG_WIFI_NETWORK_ENDPOINT_ID=0
4953

5054
#
5155
# Zigbee

configs/defconfig.esp32h2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
4040
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
4141
# end of OpenThread
4242

43+
# Matter settings: OpenThread + CHIPoBLE
44+
CONFIG_ENABLE_CHIPOBLE=y
45+
CONFIG_ENABLE_MATTER_OVER_THREAD=y
46+
# Disable Matter over WiFi
47+
CONFIG_ENABLE_WIFI_AP=n
48+
CONFIG_ENABLE_WIFI_STATION=n
49+
4350
#
4451
# Zigbee
4552
#

configs/defconfig.esp32s2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ CONFIG_ULP_COPROC_ENABLED=y
1515
CONFIG_ULP_COPROC_TYPE_FSM=y
1616
# CONFIG_ULP_COPROC_TYPE_RISCV=y
1717
CONFIG_ULP_COPROC_RESERVE_MEM=512
18+
19+
# Matter settings:
20+
CONFIG_ENABLE_CHIPOBLE=n

configs/defconfig.esp32s3

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ CONFIG_ULP_COPROC_RESERVE_MEM=512
2626
# RGB Display Optimizations
2727
# CONFIG_LCD_RGB_ISR_IRAM_SAFE is not set
2828
CONFIG_LCD_RGB_RESTART_IN_VSYNC=y
29+
30+
# Matter settings:
31+
CONFIG_ENABLE_CHIPOBLE=y

main/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ dependencies:
2020
version: "1.4.1"
2121
require: public
2222
rules:
23-
- if: "target not in [esp32c2, esp32h2, esp32p4]"
23+
- if: "target not in [esp32c2, esp32c5, esp32p4]"

0 commit comments

Comments
 (0)