@@ -281,13 +281,13 @@ Build the OpenThread POSIX applications by performing the following steps:
281
281
./script/bootstrap
282
282
283
283
#. 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::
285
285
286
- ./script/cmake-build posix -DOT_THREAD_VERSION=1.1
286
+ ./script/cmake-build posix
287
287
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::
289
289
290
- ./script/cmake-build posix -DOT_THREAD_VERSION=1.2 - DOT_DAEMON=ON
290
+ ./script/cmake-build posix -DOT_DAEMON=ON
291
291
292
292
You can find the generated applications in :file: `./build/posix/src/posix/ `.
293
293
@@ -298,19 +298,21 @@ Use the following radio URL parameter to connect to an RCP node.
298
298
299
299
.. code-block :: console
300
300
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*
302
302
303
303
Replace the following parameters:
304
304
305
305
* *ncp_uart_device * - Specifies the location of the device, for example: :file: `/dev/ttyACM0 `.
306
306
* *baud_rate * - Specifies the baud rate to use.
307
307
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.
308
310
309
311
For example, to use ``ot-daemon ``, enter the following command:
310
312
311
313
.. code-block :: console
312
314
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
314
316
315
317
And on a separate terminal window:
316
318
@@ -322,4 +324,4 @@ To use ``ot-cli``, enter the following command instead:
322
324
323
325
.. code-block :: console
324
326
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