-
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
How to pair a device using qr-code and commission wifi/thread #15384
Comments
Please see #14429. This got a little stale as we prioritized some other work in the lead up to the last branch, but I should get back to it either late today or early next week. |
@cecille : I also have more questions: What is the final objective of all the commissioning callbacks ?
Also, is there any plans to improve these callbacks ? (regroup them and add more status) Currently If I do the commissioning of a thread device from the application, we have to see the Matter logs to know what happens, I think it should be good to implement more states in the For example:
Or better: add a status for each commissioning steps in
|
Callbacks cleanup issue: #15612 Please feel free to add status callback updates if you will find them helpful. You can also achieve this by using a custom commissioner delegate. |
#14429 handles this issue. Callbacks is tracked in another issue, so closing this. |
Problem
I'm looking for the correct way to pair a device with qr-code and commission the device using the Matter stack.
Before this PR (#12909) the chip-tool example was doing the commissioning step when the callback
OnPairingComplete()
was triggered.Why this example has been removed ? It's not the good way ?
Also, I found some discussions here: #14429
As I understand there are two way's to do this:
Like this the commissioning is performed automaticaly but we have to get the informations from the QR Code and we need to know (before the commissioning) the thread/wifi credentials
Network Commissioning Cluster
to commission the device (not sure if possible)Like this we just have to supply the QR Code, when the callback
OnPairingComplete()
is triggered we can ask the user for wifi/thread credentialsI'm really not sure to know what is the best way to do it.
What are these functions really intended for ??
Which function is future proof ?
Why the function with
const char * setUpCode
parameter doesn't haveCommissioningParameters
?The text was updated successfully, but these errors were encountered: