Add simple command prompt '>'. (#117)

This commit is contained in:
Jonathan Hui
2016-06-08 09:20:36 -07:00
parent fba6f03d7e
commit 6c310bf6bf
3 changed files with 54 additions and 52 deletions
+6 -6
View File
@@ -26,14 +26,14 @@ $ ./soc 1
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 2
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
```