mirror of
https://github.com/espressif/openthread.git
synced 2026-08-23 10:49:51 +00:00
Fix README to match CLI example output (#10)
This commit is contained in:
@@ -26,14 +26,14 @@ $ ./soc --nodeid=1 -S
|
||||
Start OpenThread:
|
||||
|
||||
```bash
|
||||
$ start
|
||||
start
|
||||
Done
|
||||
```
|
||||
|
||||
Wait a few seconds and verify that the device has become a Thread Leader:
|
||||
|
||||
```bash
|
||||
$ state
|
||||
state
|
||||
leader
|
||||
Done
|
||||
```
|
||||
@@ -41,7 +41,7 @@ Done
|
||||
View IPv6 addresses assigned to Node 1's Thread interface:
|
||||
|
||||
```bash
|
||||
$ ipaddr
|
||||
ipaddr
|
||||
fdde:ad00:beef:0:0:ff:fe00:0
|
||||
fe80:0:0:0:0:ff:fe00:0
|
||||
fdde:ad00:beef:0:558:f56b:d688:799
|
||||
@@ -61,14 +61,14 @@ $ ./soc --nodeid=2 -S
|
||||
Start OpenThread:
|
||||
|
||||
```bash
|
||||
$ start
|
||||
start
|
||||
Done
|
||||
```
|
||||
|
||||
Wait a few seconds and verify that the device has become a Thread Router:
|
||||
|
||||
```bash
|
||||
$ state
|
||||
state
|
||||
router
|
||||
Done
|
||||
```
|
||||
@@ -76,7 +76,7 @@ Done
|
||||
## 3. Ping Node 1 from Node 2
|
||||
|
||||
```bash
|
||||
$ ping fdde:ad00:beef:0:558:f56b:d688:799
|
||||
ping fdde:ad00:beef:0:558:f56b:d688:799
|
||||
16 bytes from fdde:ad00:beef:0:558:f56b:d688:799: icmp_seq=1 hlim=64
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user