Hello,
I am using nRF5 SDK for Thread v4.1 for thread implementation using nRF52840 SOC. I have used mqtt-sn sleepy publisher as my base example to develop my software.
I would like to know the step by step procedure of how i can commission my device with USB disabled. In general scenario and in docs we start joiner role from thread joiner device using thread CLI interface. But my final product won't have cli to save power. So i would like to know how could it start it from the my code.
So here is what i wish for :
Fresh Thread Device -> If thread device not commissioned Starts Joiner Role from software (if not commissioned already) -> than using thread app i scan the QR code to commission the device.
Here is a video link by google: https://www.youtube.com/watch?v=JPXw5Hw--4M&list=PL6ZGUO-7lngtBO-jeUnc3-4obV4fkv70g at 35:40 minute in video you can see thread commissioning video from Mrs Vaas. In the video, the device is already in joiner state if not commissioned already.
I would like to implement something like that as i am at the end of my software development, this seamless commissioning is my final task.
Secondly i would also like to know how can i delete all the commissioned data from the end device in case i want to re-commission my device.
So can anyone please help me with the code implementation of how can i achieve this .