I have a question regarding Commissioner and Joiners management. Current implementation seems to only support manual Joiner removal. It seems quite inconvinient to remove it manually anytime Joiner attaches, otherwise the buffer for Joiners gets filled up easily.
I would like to introduce some automation to the Joiner removal process, and I see two options to implement it:
Personally I would opt for option 1, as it seems neat and would not require to modify for example a NCP code, but I would like to see your opinion.
I like option 1. I would consider adding OpenThread API to enable/disable automatic Joiner removal.
I would also vote for option 1.
Thanks for proposing this enhancement! I also prefer Option 1. I think we should make the timeout mandatory (users can always add a long timeout if they wish). I am also fine with removing the Joiner after sending the Joiner Finalize Response. However, if/when OpenThread supports application-layer provisioning through the DTLS session, we may need to add hooks so that the application can indicate when application-layer provisioning has completed successfully.
Most helpful comment
I would also vote for option 1.