Hi Robby -
I don't think this NCP scenario is fully documented anywhere right now (only
external commissioning with the Thread app), but it should be. I'll be adding it to
openthread.io, but here's what you do:
1. Get the eui64 from the FTD joiner device:
> eui64
18b4300000000001
Done
2. Using wpanctl on the NCP, set network credentials, form the network, and start the commissioner:
wpanctl:utun6> setprop Network:PANID 0xDEAD
wpanctl:utun6> setprop Network:XPANID DEAD1111DEAD2222
wpanctl:utun6> setprop Network:Key 11112233445566778899DEAD1111DEAD
wpanctl:utun6> config-gateway -d "fd11:22::"
Using prefix "fd11:22::"
Gateway configured.
wpanctl:utun6> form "OpenThreadGuide"
Forming WPAN "OpenThreadGuide" as node type "router"
Successfully formed!
wpanctl:utun6> commissioner -e
Commissioner command applied.
3. Set up commissioning with a unique joiner credential (J01NU5) for our specific joiner (18b4300000000001):
wpanctl:utun6> commissioner -a J01NU5 18b4300000000001
Joiner added.
4. Switch to the FTD joiner device and start the joiner role with the joiner credential. After a few seconds you should get a "Join success" confirmation:
> ifconfig up
Done
> joiner start J01NU5
Done
> Join success
5. Start thread on the FTD joiner and it will join the NCP's network:
> networkname
OpenThreadGuide
Done
> extpanid
dead1111dead2222
Done
Let me know if you have any problems getting it to work. The default commissioner timeout is 60 seconds I believe so if you don't do it fast enough you'll have to set up commissioning for the specific joiner again (commissioner -a).
Jeff