mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 13:59:05 +00:00
[doc] update documentation of CLI counters command (#3695)
This commit is contained in:
committed by
Jonathan Hui
parent
c0de3be7f3
commit
a3f398b30f
+19
-5
@@ -17,7 +17,7 @@ OpenThread test scripts use the CLI to execute test cases.
|
||||
* [coaps](#coaps-start-checkpeercert)
|
||||
* [commissioner](#commissioner-start-provisioningurl)
|
||||
* [contextreusedelay](#contextreusedelay)
|
||||
* [counter](#counter)
|
||||
* [counters](#counters)
|
||||
* [dataset](#dataset-help)
|
||||
* [delaytimermin](#delaytimermin)
|
||||
* [discover](#discover-channel)
|
||||
@@ -493,22 +493,23 @@ Set the CONTEXT_ID_REUSE_DELAY value.
|
||||
Done
|
||||
```
|
||||
|
||||
### counter
|
||||
### counters
|
||||
|
||||
Get the supported counter names.
|
||||
|
||||
```bash
|
||||
>counter
|
||||
>counters
|
||||
mac
|
||||
mle
|
||||
Done
|
||||
```
|
||||
|
||||
### counter \<countername\>
|
||||
### counters \<countername\>
|
||||
|
||||
Get the counter value.
|
||||
|
||||
```bash
|
||||
>counter mac
|
||||
> counters mac
|
||||
TxTotal: 10
|
||||
TxUnicast: 3
|
||||
TxBroadcast: 7
|
||||
@@ -522,6 +523,7 @@ TxTotal: 10
|
||||
TxOther: 0
|
||||
TxRetry: 0
|
||||
TxErrCca: 0
|
||||
TxErrBusyChannel: 0
|
||||
RxTotal: 2
|
||||
RxUnicast: 1
|
||||
RxBroadcast: 1
|
||||
@@ -539,6 +541,18 @@ RxTotal: 2
|
||||
RxErrSec: 0
|
||||
RxErrFcs: 0
|
||||
RxErrOther: 0
|
||||
Done
|
||||
> counters mle
|
||||
Role Disabled: 0
|
||||
Role Detached: 1
|
||||
Role Child: 0
|
||||
Role Router: 0
|
||||
Role Leader: 1
|
||||
Attach Attempts: 1
|
||||
Partition Id Changes: 1
|
||||
Better Partition Attach Attempts: 0
|
||||
Parent Changes: 0
|
||||
Done
|
||||
```
|
||||
|
||||
### dataset
|
||||
|
||||
Reference in New Issue
Block a user