-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[SQA] Ble-wifi commissioning gets fail in RPI platform(Linux) #32033
Comments
Tried with other sample-apps as well and the ble-wifi commisioning gets fail by throwing an below error:
|
The error here is within the BLE code on the client-side stack (within chip-tool), failing to even establish a PASE connection with the device. No BLE code was changed in #31983, and we're not even to getting anywhere near exercising the WiFi driver code on the device side here, so this issue is unrelated to that PR. The key error seems to be this:
From a brief web search it looks like this is some kind of issue where See e.g. |
@arkq Tried pulling your PR to check the pairing Sample app used : All Cluster App I am able to pair via BLE-WiFi for the first time (i.e., first pair after I reboot the whole device). After that, I killed the app then cleared the temp files and attempted pairing again, but encountered some communication issues. Attached log for your reference:
|
In the provided sample app log I can see @yunhanw-google could you look at this? You've introduced that assertion a week ago. |
I think this is expected one, it means the application code call this API from non-matter thread, you need to call this from matter thread. |
I attempted multiple pairings by killing the app and clearing the temporary files. Here are the results: I was able to successfully pair each time when I defined my own discriminator, such as "--discriminator 3848". However, when attempting to pair with the default discriminator 3840, the pairing fails intermittently, occurring approximately 3 out of 10 times. |
Could you attach logs from failed attempt? |
CHIP-TOOL : Ble_wifi pairing(without discriminator).txt |
It looks like BLE connection interference. In the current form of Matter specification (spec for Bluetooth Transport Protocol) we can no do anything about it: Logs from controller:
And on the DUT side I can not see any logs related with BLE communication. |
@arkq On my setup I saw two issues when I tried to pair over ble (using chip-tool pairing ble-wifi command i.e. using
Attached logs for both scenarios.. chip-tool-log_not_connecting_to_wifi.txt chip_tool_log_bt_not_Connected.txt |
Ad.1: It seems that your RPi is not configured properly. D-Bus has rejected the call from the
|
Ad.2: I would count is as BLE connection interference (it can happen from time to time):
|
Feature Area
Other
Test Case
Ble-wifi Pairing
Reproduction steps
./chip-all-clusters-app --wifi
./chip-tool pairing ble-wifi 1 SSID SSID-PWD 20202021 3840
Expected behavior: All-clusters-app and Chip-tool should be commission over Ble-wifi transport without getting any error.
Actual behavior:
Bug prevalence
Whenever I do
GitHub hash of the SDK that was being used
3ec1ba5
Platform
raspi
Anything else?
DUT Log: All-clusters-app_log.txt
Chip-tool Log: Chip-tool_log.txt
The text was updated successfully, but these errors were encountered: