Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESP32] Energy Management App fails ble-wifi commissioning due to missing WiFi ConnectMaxTimeSeconds attribute #37868

Closed
jamesharrow opened this issue Mar 4, 2025 · 1 comment

Comments

@jamesharrow
Copy link
Contributor

Reproduction steps

Using latest chip-tool (1.5 TE1 SHA: e34015c) the DUT fails to commission:

CHIPTOOL   | 2025-03-04 13:53:07.691674 | CHIP:CTL Failed to read Wi-Fi ConnectMaxTimeSeconds (endpoint 0): src/app/ClusterStateCache.cpp:379: CHIP Error 0x00000010: Key not found
CHIPTOOL   | 2025-03-04 13:53:07.692773 | CHIP:CTL Failed to parsing Network Commissioning information: src/app/ClusterStateCache.cpp:379: CHIP Error 0x00000010: Key not found
CHIPTOOL   | 2025-03-04 13:53:07.693716 | CHIP:CTL Error on commissioning step 'ReadCommissioningInfo': 'src/app/ClusterStateCache.cpp:379: CHIP Error 0x00000010: Key not found'
CHIPTOOL   | 2025-03-04 13:53:07.696106 | CHIP:CTL Going from commissioning step 'ReadCommissioningInfo' with lastErr = 'src/app/ClusterStateCache.cpp:379: CHIP Error 0x00000010: Key not found' -> 'Cleanup'
CHIPTOOL   | 2025-03-04 13:53:07.697153 | CHIP:CTL Performing next commissioning step 'Cleanup' with completion status = 'src/app/ClusterStateCache.cpp:379: CHIP Error 0x00000010: Key not found'
CHIPTOOL   | 2025-03-04 13:53:07.698089 | CHIP:CTL Disarming failsafe on device 0xffff7001d6d0

This is because the ConnectMaxTimeSeconds attribute is not enabled in ZAP file and needs to be given a suitable value.

Platform

esp32

Platform Version(s)

ESP IDF 5.3

Type

Manually tested with SDK

(Optional) If manually tested please explain why this is only manually tested

No response

Anything else?

No response

@jamesharrow
Copy link
Contributor Author

Fixed in #37881

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment