update cli readme for command counter (#178)

This commit is contained in:
Lu Wang
2016-06-20 08:47:10 -07:00
committed by Jonathan Hui
parent 7ecccade06
commit a403e41455
+44
View File
@@ -10,6 +10,7 @@ OpenThread test scripts use the CLI to execute test cases.
* [channel](#channel)
* [childtimeout](#childtimeout)
* [contextreusedelay](#contextreusedelay)
* [counter](#counter)
* [extaddr](#extaddr)
* [extpanid](#extpanid)
* [ipaddr](#ipaddr)
@@ -92,6 +93,49 @@ Set the CONTEXT_ID_REUSE_DELAY value.
Done
```
### counter
Get the supported counter names.
```bash
>counter
mac
Done
```
### counter \<countername\>
Get the counter value.
```bash
>counter mac
TxTotal: 10
TxAckRequested: 4
TxAcked: 4
TxNoAckRequested: 6
TxData: 10
TxDataPoll: 0
TxBeacon: 0
TxBeaconRequest: 0
TxOther: 0
TxRetry: 0
TxErrCca: 0
RxTotal: 11
RxData: 11
RxDataPoll: 0
RxBeacon: 0
RxBeaconRequest: 0
RxOther: 0
RxWhitelistFiltered: 0
RxDestAddrFiltered: 0
RxErrNoFrame: 0
RxErrNoUnknownNeighbor: 0
RxErrInvalidSrcAddr: 0
RxErrSec: 0
RxErrFcs: 0
RxErrOther: 0
```
### extaddr
Get the IEEE 802.15.4 Extended Address.