mirror of
https://github.com/espressif/openthread.git
synced 2026-09-15 05:30:09 +00:00
Add API to retrieve router diag information. (#225)
This commit is contained in:
@@ -27,6 +27,7 @@ OpenThread test scripts use the CLI to execute test cases.
|
||||
* [releaserouterid](#releaserouterid)
|
||||
* [rloc16](#rloc16)
|
||||
* [route](#route)
|
||||
* [router](#router)
|
||||
* [routerupgradethreshold](#routerupgradethreshold)
|
||||
* [scan](#scan)
|
||||
* [start](#start)
|
||||
@@ -421,6 +422,50 @@ Invalidate a prefix in the Network Data.
|
||||
Done
|
||||
```
|
||||
|
||||
### router list
|
||||
|
||||
List allocated Router IDs
|
||||
|
||||
```bash
|
||||
> router list
|
||||
8 24 50
|
||||
Done
|
||||
```
|
||||
|
||||
### router \<id\>
|
||||
|
||||
Print diagnostic information for a Thread Router. The `id` may be a Router ID or an RLOC16.
|
||||
|
||||
```bash
|
||||
> router 50
|
||||
Alloc: 1
|
||||
Router ID: 50
|
||||
Rloc: c800
|
||||
Next Hop: c800
|
||||
Link: 1
|
||||
Ext Addr: e2b3540590b0fd87
|
||||
Cost: 0
|
||||
LQI In: 3
|
||||
LQI Out: 3
|
||||
Age: 3
|
||||
Done
|
||||
```
|
||||
|
||||
```bash
|
||||
> router 0xc800
|
||||
Alloc: 1
|
||||
Router ID: 50
|
||||
Rloc: c800
|
||||
Next Hop: c800
|
||||
Link: 1
|
||||
Ext Addr: e2b3540590b0fd87
|
||||
Cost: 0
|
||||
LQI In: 3
|
||||
LQI Out: 3
|
||||
Age: 7
|
||||
Done
|
||||
```
|
||||
|
||||
### routerupgradethreshold
|
||||
|
||||
Get the ROUTER_UPGRADE_THRESHOLD value.
|
||||
|
||||
Reference in New Issue
Block a user