Skip to content

sdkconfig: fix WiFi→Thread commissioning using correct CHIP Kconfig s…#40

Merged
GuvHas merged 1 commit intomainfrom
claude/review-esp32-thread-code-EsKdn
Mar 18, 2026
Merged

sdkconfig: fix WiFi→Thread commissioning using correct CHIP Kconfig s…#40
GuvHas merged 1 commit intomainfrom
claude/review-esp32-thread-code-EsKdn

Conversation

@GuvHas
Copy link
Copy Markdown
Owner

@GuvHas GuvHas commented Mar 18, 2026

CONFIG_ESP_WIFI_ENABLED=n (previous attempt) had no effect: esp_matter's component dependency on esp_wifi forces the option back to y, so the WiFi NetworkCommissioning cluster was still registered and HA's matter-server still provisioned WiFi credentials instead of Thread.

The correct symbols are in connectedhomeip's chip/Kconfig:

CONFIG_WIFI_NETWORK_COMMISSIONING_DRIVER=n
Removes the WiFi NetworkCommissioning cluster from the device descriptor.
The commissioner sees only the Thread cluster and must push Thread
credentials, not WiFi credentials.

CONFIG_ENABLE_WIFI_STATION=n
Prevents CHIP's device-layer from bringing up the WiFi station
("Starting ESP WiFi layer"), avoiding the reconnect loop that appeared
in the logs when the commissioner tried to use the absent WiFi cluster.

BLE commissioning is independent of CHIP's WiFi station and is unaffected.

…ymbols

CONFIG_ESP_WIFI_ENABLED=n (previous attempt) had no effect: esp_matter's
component dependency on esp_wifi forces the option back to y, so the WiFi
NetworkCommissioning cluster was still registered and HA's matter-server
still provisioned WiFi credentials instead of Thread.

The correct symbols are in connectedhomeip's chip/Kconfig:

  CONFIG_WIFI_NETWORK_COMMISSIONING_DRIVER=n
    Removes the WiFi NetworkCommissioning cluster from the device descriptor.
    The commissioner sees only the Thread cluster and must push Thread
    credentials, not WiFi credentials.

  CONFIG_ENABLE_WIFI_STATION=n
    Prevents CHIP's device-layer from bringing up the WiFi station
    ("Starting ESP WiFi layer"), avoiding the reconnect loop that appeared
    in the logs when the commissioner tried to use the absent WiFi cluster.

BLE commissioning is independent of CHIP's WiFi station and is unaffected.

https://claude.ai/code/session_01SxqAiQApiRTwXefk9aQ6bR
@GuvHas GuvHas merged commit ba20983 into main Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants