New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document: Thread Commissioning Demonstration with OpenThread and Border Router #62
Comments
Everything but the Thread Commissioning App part has been posted on openthread.io: https://openthread.io/guides/border_router/build Since there are issues with the Thread Commissioning App and OTBR, we'll need that public version updated so others can use it. |
I just received an update for the Thread Commissioning App, v1.01.11.7a3daa7. Does this build fix the remaining issues blocking it working with borderrouter? |
Yes it does :) |
W.R.T. To documentation the commissioning process you might take a look at the changes I did with the commissioning test app Work was done in this Pull request: #92 The key thing here is here: The standalone test application can commission any thread device from the Linux command line. The command line syntax presented below as a shell script fragment below explains the steps. #! /bin/sh
# Clear the ARGS variable.
ARGS=""
# OpenThread network parameters all items are found on
# the OTBR-WEB "form network" screen.
ARGS="$ARGS --network-name $OT_NETWORK_NAME"
ARGS="$ARGS --xpanid $OT_XPANID"
ARGS="$ARGS --agent-passphrase $OT_AGENT_PASSPHRASE"
# Details about the joiner.
ARGS="$ARGS --joiner-eui64 $OT_JOINER_EUI64"
ARGS="$ARGS --joiner-passphrase $OT_JOINER_PASSPHRASE"
# How to talk to the agent, this would come from mDNS broadcasts.
# In this example we specify the details on the command line.
ARGS="$ARGS --agent-addr $OT_AGENT_IPADDR"
ARGS="$ARGS --agent-port $OT_AGENT_IPPORT"
# As this test application is for debugging it includes an "envelope"
# timeout in case things go wrong.
# By Envelope, we mean the entire commissioning process end to end
# Here we set a 200 second timeout.
# In practice, it is typically 60 seconds.
# using a RaspberryPi or BeagleBoneBlack + CC2538
ARGS="$ARGS --comm-envelope-timeout 200"
# Note: there are other options, use "--help" to list them.
# Tell the tool to "commission a device"
ARGS="$ARGS --commission-device"
# Commission
$OTBR_COMMISSIONER_EXE $ARGS |
W.R.T. This item >> Ping or communicate with a host located in Internet A simple suggestion is: a) In the "thirdparty/libcoap" directory By default, openthread builds libcoap with b) If you rebuild libcoap but ENABLE the examples, you have two test applications, one of which is "coap-client" The "coap-client" is a simple command line tool that can easily be used to perform non-secure CoAP requests with devices on the Thread Network. |
Hi @DuaneEllis-TI , thanks for pointing these out. It might be best to have brief READMEs on general usage of these tools in those directories, and have overviews / use cases of them on openthread.io. Thoughts? We're close to publishing a guide for the last item (external commissioning w/ the Thread App), so that should be up soon. As part of that I'll probably add a README on using the pskc generator in /tools since that needs to be used to manually form a network using OTBR. |
|
Yes, I definitely want to call these things out on openthread.io, so they're easier to find. For the external commissioner app, I'm assuming those apply to the most recent version. @jwhui is there a way to report bugs or issues with the app? I can add important caveats / troubleshooting to the upcoming guide in the meantime. |
External Commissioning content is now live. https://openthread.io/guides/border_router/external_commissioning I've got tasks down to handle some of the other concerns brought up, so I'm going to close this Issue, as it's complete for all listed items. |
Excellent, thank you Jeff! |
We need a document to describe how to perform Thread Commissioning with OpenThread and OpenThread Border Router.
Content may cover these steps:
The text was updated successfully, but these errors were encountered: