Skip to content

Commit 396a3bb

Browse files
Przemyslaw Bidarlubos
Przemyslaw Bida
authored andcommitted
doc: openthread: Update Thread tools documentation.
Commit fixes: - `ot-daemon` invoke command - change default `ot-daemon` build command to build with newest thread version. Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
1 parent 3c9bb2a commit 396a3bb

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

doc/nrf/protocols/thread/tools.rst

+9-7
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,13 @@ Build the OpenThread POSIX applications by performing the following steps:
281281
./script/bootstrap
282282
283283
#. Build the applications with the required options.
284-
For example, to build the ``ot-cli`` application with support for Thread v1.1, run the following command::
284+
For example, to build the ``ot-cli`` application, run the following command::
285285

286-
./script/cmake-build posix -DOT_THREAD_VERSION=1.1
286+
./script/cmake-build posix
287287

288-
Alternatively, to build the ``ot-daemon`` and ``ot-ctl`` applications with support for Thread v1.2, run the following command::
288+
Alternatively, to build the ``ot-daemon`` and ``ot-ctl`` applications, run the following command::
289289

290-
./script/cmake-build posix -DOT_THREAD_VERSION=1.2 -DOT_DAEMON=ON
290+
./script/cmake-build posix -DOT_DAEMON=ON
291291

292292
You can find the generated applications in :file:`./build/posix/src/posix/`.
293293

@@ -298,19 +298,21 @@ Use the following radio URL parameter to connect to an RCP node.
298298

299299
.. code-block:: console
300300
301-
'spinel+hdlc+uart://\ *ncp_uart_device*\ ?uart-baudrate=\ *baud_rate*'
301+
'spinel+hdlc+uart://\ *ncp_uart_device*\ ?uart-baudrate=\ *baud_rate*' -B *backbone_link*
302302
303303
Replace the following parameters:
304304

305305
* *ncp_uart_device* - Specifies the location of the device, for example: :file:`/dev/ttyACM0`.
306306
* *baud_rate* - Specifies the baud rate to use.
307307
The Thread Co-Processor sample supports baud rate ``1000000``.
308+
* *backbone_link* - Specifies Backbone link for communication with external network.
309+
This parameter can be omitted.
308310

309311
For example, to use ``ot-daemon``, enter the following command:
310312

311313
.. code-block:: console
312314
313-
sudo ./build/posix/src/posix/ot-daemon 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000' --verbose
315+
sudo ./build/posix/src/posix/ot-daemon 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000' --verbose -B eth0
314316
315317
And on a separate terminal window:
316318

@@ -322,4 +324,4 @@ To use ``ot-cli``, enter the following command instead:
322324

323325
.. code-block:: console
324326
325-
sudo ./build/posix/src/posix/ot-cli 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000' --verbose
327+
sudo ./build/posix/src/posix/ot-cli 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000' --verbose -B eth0

0 commit comments

Comments
 (0)