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

[Platform] [Linux] A deadlock occurs in the commission of the device #26041

Closed
yzm157 opened this issue Apr 11, 2023 · 0 comments · Fixed by #26442
Closed

[Platform] [Linux] A deadlock occurs in the commission of the device #26041

yzm157 opened this issue Apr 11, 2023 · 0 comments · Fixed by #26442

Comments

@yzm157
Copy link
Contributor

yzm157 commented Apr 11, 2023

Reproduction steps

  1. Turn off all Matter devices
  2. Use Python for device commission
# ..... Init devCtrl
devCtrl.CommissionWiFi(3840, 20202021, 1, "wifi-ssid", "wifi-password")    # deadlock

Deadlock caused by not handling bluetooth timeout.

At src/platform/Linux/BLEManagerImpl.cpp

void BLEManagerImpl::OnScanError(CHIP_ERROR err)
{
    ChipLogError(Ble, "BLE scan error: %" CHIP_ERROR_FORMAT, err.Format());
}

The failure reason is not called back to BleLayer

Platform

python, raspi

Platform Version(s)

No response

Type

Platform validated

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

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants