Cloned the OTBR repository to the Raspberry Pi using :
successfully Installed the dependencies.
Attached the flashed RCP device(BRD4166A) to the Border Router platform via USB.
checked the services and it was active :
$ sudo systemctl status
Checked the RCP state :
$
sudo ot-ctl state
disabled
OT Commissioner CLI setup
Cloned the OT Commissioner repository:
installed the dependencies:
$ cd ot-commissioner
$ ./script/bootstrap.sh
Built and installed the dependencies.
Then, using the ot-ctl on the command line of OpenThread POSIX
Initialized a new operational dataset:
$ sudo ot-ctl dataset init new
Done
$ sudo ot-ctl dataset panid 0xdead
Done
$ sudo ot-ctl dataset extpanid dead1111dead2222 $ sudo ot-ctl dataset networkname OpenThreadGuide
Done
$ sudo ot-ctl dataset networkkey 11112233445566778899DEAD1111DEAD
Done
Set the PSKc:
$ sudo ot-ctl dataset pskc 198886f519a8fd7c981fee95d72f4ba7
Done
$ sudo ot-ctl dataset commit active
Done
$ sudo ot-ctl ifconfig up
Done
$ sudo ot-ctl thread start
Done
$sudo ot-ctl state
leader
Done
$ sudo ot-ctl pskc
198886f519a8fd7c981fee95d72f4ba7
Done
$ sudo ot-ctl commissioner start
Done
$ sudo ot-ctl commissioner state
Active
Done
$ sudo ot-ctl commissioner joiner add * J01NME
Error : InvalidCommand
in Joiner device:
> ifconfig up
Done
> joiner start J01NME