CLI: enhance ping command (#211)

* Enhance ping command

* add Doxygen for timestamp in EchoReplyHandler

* fix function params name style

* use echo request containing timestamp instead of maintaining internal states
This commit is contained in:
Lu Wang
2016-06-28 14:03:12 -07:00
committed by Jonathan Hui
parent d365f3aaa3
commit 75358c53ec
3 changed files with 65 additions and 7 deletions
+2 -2
View File
@@ -348,13 +348,13 @@ Set the IEEE 802.15.4 PAN ID value.
Done
```
### ping \<ipaddr\> [size]
### ping \<ipaddr\> [size] [count] [interval]
Send an ICMPv6 Echo Request.
```bash
> 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
16 bytes from fdde:ad00:beef:0:558:f56b:d688:799: icmp_seq=1 hlim=64 time=28ms
```
### prefix add \<prefix\> [pvdcsr] [prf]