-
Notifications
You must be signed in to change notification settings - Fork 309
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
End device onboarding flow #4847
Comments
Now that #5324 is merged, here's a short summary of the backend. Claiming/Unclaiming (Primary flow)
Getting Identifiers from a QR Code
|
So following our meeting just now, we figured out that it is not actually possible to determine the device model, versions and region from the QR code scan since it will only give us the device profile info and brand ID, which can be valid for multiple combinations. So there are two things to do here:
I will work on modifying the wireframes accordingly. |
For background: currently, the QR code contains vendor ID and profile ID, and there's gonna be a codec ID. That might be useful, but that does not provide the version identifiers which is useful for stats and display. So ideally, the QR code tells us not only the vendor ID, but the model ID, hardware and firmware version and band. We could still use a single identifier for that, but not "profile ID" and "codec ID". However, that identifier would replace the need for a profile ID and vendor ID. Until we have that, don't bother with this. We should not attempt reverse lookups. It gets too complicated also considering we support referring to profiles of other vendors. |
Alright then. I've finalized the wireframes so that we can now plan implementation. Please have a look and confirm. I this still blocked on anything else? Otherwise we can remove the |
This look complete to me. |
ACK. Looks good to me as well. This isn't blocked so I'll remove that label. |
Summary
New end device onboarding flow
Replaces #3770
Blocked by #4840
Blocked by #4841
Blocked by #4845
Why do we need this?
To make it even easier to onboard new end devices by scanning QR codes.
Also we need to remove the creation on an external Join Server and integrate device claiming in the onboarding process.
For most end users, device creation and claiming is conceptually the same. We should put this in one nice device onboarding experience.
What is already there? What do you see now?
What is missing? What do you want to see?
Onboarding flow with QR code scanning, claiming, manual creation and retrieving info from the Device Repository integrated.
How do you propose to implement this?
For onboarding:
We have the following properties in an end device onboarding state:
Allow user to choose between: scan QR code, choose from device repository and manual creation:
QRCodeParser.Parse()
rpc (Parse QR code #4845)00
!)join_server_address
join_server_address
For offboarding
Check if the
join_server_address
is setHow do you propose to test this?
Let's test the flows first. I'm not sure what the best of doing that is; using mock ups?
These are key scenarios we need to support:
Can you do this yourself and submit a Pull Request?
Can review
The text was updated successfully, but these errors were encountered: