Comments (10)
Yes it does :)
from ot-br-posix.
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.
from ot-br-posix.
Everything but the Thread Commissioning App part has been posted on openthread.io:
https://openthread.io/guides/border_router/build
https://openthread.io/guides/building/commissioning
Since there are issues with the Thread Commissioning App and OTBR, we'll need that public version updated so others can use it.
from ot-br-posix.
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?
from ot-br-posix.
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: ${borderrouter}/tests/meshcop
, and the otbr-commissioner
C program
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
from ot-br-posix.
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 --disable-examples
and --disable-documentation
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.
from ot-br-posix.
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.
from ot-br-posix.
-
Agreed - a nice read me would be great - but - we need a pointer to tell the user where to go to find them, example: a file located in the directory:
/buried/so/deep/you/cannot/find/it/ha/ha/ha/README.txt
are sadly, actually hard to find. :-( -
that said - There should be a README locally next to the tool and with text that says: "go read the openthread.io" for more details and examples.
-
w.r.t. the "pskc generator' The 'otbr-commissioner' application can - via command line parameters accept either the raw 3 components to the the PSKc (ie: Phrase, NetworkName, and Xpandi) and can compute the PSKc, or you can optionally specify the PSKc on the command line
-
FYI - external commissioning app has many problems:
-
The spinning icon spins - but the commissioner does not have a commissioning data set - the NCP will create a log message that says: "Not capable" - the work around is to re-scan the external barcode.
-
The commissioning app, when it receives a "COM_KA" response with status = REJECT, the app does not stop the spinning icon
-
There are password problems - if you change the name of the network (ie: use otbr-web) and reform a network, changing the name of the network, ie: old: "morning-test-network", new: "noon-test-network" it should ask for a new pass phrase it does nto.
-
What is often required on the android app is to: goto Android -> Settings -> Apps -> Select the Thread App -> Delete All Data (do not choose the un-install) - then restart the thread app
from ot-br-posix.
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.
from ot-br-posix.
Excellent, thank you Jeff!
from ot-br-posix.
Related Issues (20)
- Can the open thread border router be ported to the Android platform? HOT 1
- otbr-agent restarting after linux pc coming out of sleep mode
- Protobuf compiler version 24.4 doesn't match library version 3.12.4 HOT 1
- `test_manual_maddress.py` is flaky
- is there a way to dynamically change interface of otbr-agent HOT 5
- Compile failed when use higher protobuf lib
- [SOLVED] Best Practices for accessing OpenThread Instance in OT-BR-POSIX project HOT 2
- Compiling Border Router with TCP support HOT 2
- docker: Couldn't load target OTBR_FORWARD_INGRESS and mDNSPlatformSendUdp error 99.
- openwrt: ubus list otbr Command failed: Not found HOT 1
- Crash at UnsubscribeService HOT 2
- otbr intermittently crashes when a thread sed tries to do a srv & txt query HOT 1
- Border router disappears randomly from home assistant thread network HOT 4
- Thread Devices Become Unreachable from RPI Over Time Despite Connectivity via ot-ctl HOT 2
- Need some features for "ip -6 rule add~~~" to port Thread to Android 12. HOT 11
- ot-br-posix thread multicast not working for Inbound IPv6 Multicast HOT 1
- When RCP resets, otPlatRadioEnableSrcMatch() is not set back to TRUE by Host HOT 3
- Error running ./script/setup in Build and install OTBR HOT 17
- Unable to commission Thread devices through Matter
- OpenThread Border Router - Container runs multiple mDNS stacks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ot-br-posix.