mirror of
https://github.com/espressif/openthread.git
synced 2026-08-01 00:27:47 +00:00
update cli readme for command counter (#178)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user