-
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
Workaround: Temorarily enable BLE during Enhanced Commissioning Window #9344
Conversation
3d4e753
to
00cc721
Compare
00cc721
to
4bae9c3
Compare
4bae9c3
to
8b5ac05
Compare
Do not turn on BLE when opening the Enhanced Commissioning Window.connectedhomeip/src/app/server/Server.cpp Lines 302 to 310 in 8b5ac05
This comment was generated by todo based on a
|
Size increase report for "gn_qpg-example-build" from 8be2f3d
Full report output
|
Size increase report for "nrfconnect-example-build" from 8be2f3d
Full report output
|
Size increase report for "esp32-example-build" from 8be2f3d
Full report output
|
If we can't conduct ECM over IP, doesn't that mean we just can't support ECM period? What is the usefulness for a kludge that allows this to happen over BLE? That seems like a way to get test cases to pass, but without providing actual value. Can we think critically about what this actually un-blocks? |
@sagar-apple , please confirm - enhanced commissioning is broken right now - until the full mDNS on network is working well. |
That's correct. This issue captures what's missing #9343 |
Thanks! @saurabhst @andy31415 @Damian-Nordic @hawk248 ? |
@LuDuda ? |
Problem
Our SDK currently doesn't offer a mechanism for an App to know whether a commissionable node is available on-network or via BLE.
It's impossible to know which mechanism to use (this is different from CLI based tests where the tester knows exactly what their test case is). In addition to that the on-network API requires an IP Address. Which is unreasonable to expect an app/non-tester to provide.
#9343
Problem: In addition to that, we recently disabled BLE advertisements while opening the Enhanced Commissioning Window.
Prior to that, we could use the same commissioning mechanism(BLE) to pair an accessory regardless of which commissioning mode the accessory was in.
While we address this issue with the underlying SDK, we should continue to allow BLE based commissioning even on Enhanced Commissioning Windows so that we can re-enable test and integration for this and restore prior functionality.
Change overview
Enabled BLE during the enhanced commissioning flow again.
Testing
How was this tested? (at least one bullet point required)
Tested that CHIPTool iOS is able to pair with an accessory put into Enhanced Commissioning mode via the chip-tool CLI.