Skip to content
Snippets Groups Projects
Commit 04d83964 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

otbr-configuration: Enhance configuration to setup Commissioner Credential


This was a key part missing to make our own configuration work with an
external commissioner, like the Android app.

Also removing the space in the network name for now. Not sure if this
has been part of the problems I have seen, but none of the example has a
space in the name so better avoid it until fully debugged.

Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent 0a36c168
No related branches found
No related tags found
No related merge requests found
...@@ -12,12 +12,17 @@ ot-ctl dataset clear ...@@ -12,12 +12,17 @@ ot-ctl dataset clear
ot-ctl dataset init new ot-ctl dataset init new
ot-ctl dataset panid 0x1357 ot-ctl dataset panid 0x1357
ot-ctl dataset extpanid 11112222deadbeef ot-ctl dataset extpanid 11112222deadbeef
ot-ctl dataset networkname "Oniro\ Thread" ot-ctl dataset networkname OniroThread
ot-ctl dataset channel 26 ot-ctl dataset channel 26
ot-ctl dataset masterkey 00112233445566778899aabbccddeeff #ot-ctl dataset masterkey 00112233445566778899aabbccddeeff
#ot-ctl dataset networkkey 00112233445566778899aabbccddeeff
# J01NME is the Commissioner Credential to be used in the Android app
# J01NU5 is the Joiner Credential, set in the node and QR code
ot-ctl dataset pskc $(pskc J01NME 11112222deadbeef OniroThread)
ot-ctl dataset commit active ot-ctl dataset commit active
#ot-ctl prefix add fd11:22::/64 pasor
ot-ctl ifconfig up ot-ctl ifconfig up
ot-ctl thread start ot-ctl thread start
ot-ctl netdata register
#ot-ctl prefix add 2001::/64 paros #ot-ctl prefix add 2001::/64 paros
#ot-ctl prefix add fd11:22::/64 pasor
#ot-ctl dataset meshlocalprefix fdde:00be:ef00:aaaa:: #ot-ctl dataset meshlocalprefix fdde:00be:ef00:aaaa::
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment