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

BLE provisioning fails on ESP32 #11782

Closed
wqx6 opened this issue Nov 15, 2021 · 0 comments
Closed

BLE provisioning fails on ESP32 #11782

wqx6 opened this issue Nov 15, 2021 · 0 comments

Comments

@wqx6
Copy link
Contributor

wqx6 commented Nov 15, 2021

Problem

BLE provisioning fails on ESP32 at current master branch, commit id: 5623978

the error log:

[1636978624.920669][648759:648764] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1636978624.920692][648759:648764] CHIP:ZCL: NOCResponse:
[1636978624.920702][648759:648764] CHIP:ZCL:   StatusCode: 0
[1636978624.920712][648759:648764] CHIP:ZCL:   FabricIndex: 1
[1636978624.920721][648759:648764] CHIP:ZCL:   DebugText: 
[1636978624.920734][648759:648764] CHIP:CTL: Device returned status 0 on receiving the NOC
[1636978624.920750][648759:648764] CHIP:CTL: Operational credentials provisioned on device 0x7f7714c79f80
[1636978624.920771][648759:648764] CHIP:TOO: Secure Pairing Success
[1636978624.921307][648759:648764] CHIP:TOO: Pairing Success
[1636978624.921311][648759:648764] CHIP:TOO: Setup failure! No pairing for device: 12345
[1636978624.921321][648759:648764] CHIP:DMG: ICR moving to [AwaitingDe]
[1636978624.921431][648759:648759] CHIP:-: ../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:774: CHIP Error 0x0000002F: Invalid argument at ../commands/common/CHIPCommand.cpp:84
[1636978624.921448][648759:648759] CHIP:TOO: Run command failure: ../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:774: CHIP Error 0x0000002F: Invalid argument
[1636978624.924182][648759:648759] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack
pure virtual method called
terminate called without an active exception

It seems caused by 3a46649. Reverting this commit id will solve this problem

Proposed Solution

It seems that we should not release device in RendezvousCleanup function.

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

No branches or pull requests

1 participant