Skip to content

Commit 761bf01

Browse files
committed
secondary network light
1 parent 17b1a38 commit 761bf01

File tree

4 files changed

+1748
-3524
lines changed

4 files changed

+1748
-3524
lines changed

examples/lighting-app/esp32/main/CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,28 @@ set(SRC_DIRS_LIST
4343
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/diagnostic-logs-server"
4444
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/color-control-server"
4545
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/ethernet-network-diagnostics-server"
46-
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/fixed-label-server"
46+
# "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/fixed-label-server"
4747
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/general-commissioning-server"
4848
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/general-diagnostics-server"
4949
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/identify-server"
5050
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/localization-configuration-server"
5151
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/time-format-localization-server"
5252
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/level-control"
5353
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/network-commissioning"
54-
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/occupancy-sensor-server"
54+
# "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/occupancy-sensor-server"
5555
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/on-off-server"
5656
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/operational-credentials-server"
5757
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/ota-requestor"
5858
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/power-source-configuration-server"
5959
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/software-diagnostics-server"
60-
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/switch-server"
60+
# "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/switch-server"
6161
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/thread-network-diagnostics-server"
6262
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/user-label-server"
6363
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/wifi-network-diagnostics-server"
6464
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/ota-requestor"
6565
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/groups-server"
6666
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/group-key-mgmt-server"
67-
"${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/scenes-server"
67+
# "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/scenes-server"
6868
)
6969

7070
if (CONFIG_ENABLE_PW_RPC)

examples/lighting-app/esp32/sdkconfig.defaults.esp32c6

+11-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE=70
2222
CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING=y
2323

2424
# Disable OpenThread
25-
CONFIG_OPENTHREAD_ENABLED=n
25+
CONFIG_OPENTHREAD_ENABLED=y
26+
CONFIG_OPENTHREAD_SRP_CLIENT=y
27+
CONFIG_OPENTHREAD_LOG_LEVEL_DYNAMIC=n
28+
CONFIG_OPENTHREAD_LOG_LEVEL_NOTE=y
29+
CONFIG_OPENTHREAD_CLI=n
30+
CONFIG_OPENTHREAD_DNS_CLIENT=y
31+
32+
CONFIG_THREAD_NETWORK_ENDPOINT_ID=2
33+
CONFIG_WIFI_NETWORK_ENDPOINT_ID=0
2634

2735
# Disable lwip ipv6 autoconfig
2836
CONFIG_LWIP_IPV6_AUTOCONFIG=y
@@ -45,7 +53,7 @@ CONFIG_MBEDTLS_KEY_EXCHANGE_ECJPAKE=y
4553
CONFIG_MBEDTLS_ECJPAKE_C=y
4654

4755
# MDNS platform
48-
CONFIG_USE_MINIMAL_MDNS=y
56+
CONFIG_USE_MINIMAL_MDNS=n
4957
CONFIG_ENABLE_EXTENDED_DISCOVERY=y
5058

5159
# FreeRTOS should use legacy API
@@ -62,6 +70,7 @@ CONFIG_ENABLE_OTA_REQUESTOR=y
6270

6371
# Enable chip shell
6472
CONFIG_ENABLE_CHIP_SHELL=y
73+
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
6574

6675
# Enable HKDF in mbedtls
6776
CONFIG_MBEDTLS_HKDF_C=y

0 commit comments

Comments
 (0)