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

Update ot-br-posix WebUI and REST to expose more commissioner joiner add <eui64> <pskd> <timeout> customization #1799

Closed
rretanubun opened this issue Mar 21, 2023 · 3 comments

Comments

@rretanubun
Copy link

Current state

The current ot-br-posix WebUI and REST-API assumes a promiscuous joiner mode (no eui64) and an assumed joiner timeout of 120 seconds (thread default).

ref: https://github.com/openthread/ot-br-posix/blob/main/src/web/web-service/frontend/res/js/app.js#L412-L421

While this is convenient for demo purposes, this is also not how most customers would expect to commission devices onto their network.

Proposed solution

Update the WebUI and REST handler to expose and accept additional parameters (eui64 and timeout)
Bonus: since most thread stacks support 2 simultaneous joiners, maybe up to 2 joiner can be specified at once.

Alternate

We ended up creating custom REST-endpoints to support this for now.

Context

I am unclear if dropping this support from our TBR's WebUI and REST-API handler will break matter device onboarding, is there other onboarding systems relying on promiscuous joiners that the community is aware of?

Thank you for everyone's time.

@wgtdkp
Copy link
Member

wgtdkp commented Mar 27, 2023

It sounds good to add such support.

I am unclear if dropping this support from our TBR's WebUI and REST-API handler will break matter device onboarding, is there other onboarding systems relying on promiscuous joiners that the community is aware of?

Matter is not relying on this kind of Thread commissioning, they define their own protocol for Thread network provisioning.

We ended up creating custom REST-endpoints to support this for now.

Would you like to contribute the implementation back to OTBR? I think OTBR-web should support both modes of "specifying the eui64" and "allowing all joiners".

@OmegaRelay
Copy link

Just to add to this I do currently have a pull request open #2515 requiring review which adds commissioner support to the rest api where joiners can be added to the commissioner using pskd, timeout and either eui64 or discerner

@jwhui
Copy link
Member

jwhui commented Nov 20, 2024

Closing stale issue.

@jwhui jwhui closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants