mirror of
https://github.com/espressif/openthread.git
synced 2026-09-12 04:00:10 +00:00
Add new spinel property THREAD_NEIGHBOR_TABLE and its support in Ncp (#742)
This commit adds a new spinel property `THREAD_NEIGHBOR_TABLE` and its get handler in `NcpBase` class.
This commit is contained in:
committed by
Jonathan Hui
parent
79d99e7a91
commit
fb77e574cb
@@ -185,7 +185,7 @@ Specifies the self imposed random delay in seconds a REED waits before
|
||||
registering to become an Active Router.
|
||||
|
||||
### PROP 5386: PROP_THREAD_PREFERRED_ROUTER_ID
|
||||
* Type: Write
|
||||
* Type: Write-Only
|
||||
* Packed-Encoding: `C`
|
||||
|
||||
Specifies the preferred Router Id. Upon becoming a router/leader the node
|
||||
@@ -193,3 +193,19 @@ attempts to use this Router Id. If the preferred Router Id is not set or
|
||||
if it can not be used, a randomly generated router id is picked. This
|
||||
property can be set only when the device role is either detached or
|
||||
disabled.
|
||||
|
||||
### PROP 5387: SPINEL_PROP_THREAD_NEIGHBOR_TABLE
|
||||
* Type: Read-Only
|
||||
* Packed-Encoding: `A(T(ESLCcCbLL))`
|
||||
|
||||
Data per item is:
|
||||
|
||||
* `E`: Extended/long address
|
||||
* `S`: RLOC16
|
||||
* `L`: Age
|
||||
* `C`: Link Quality In
|
||||
* `c`: Average RSS
|
||||
* `C`: Mode (bit-flags)
|
||||
* `b`: `true` if neighbor is a child, `false` otherwise.
|
||||
* `L`: Link Frame Counter
|
||||
* `L`: MLE Frame Counter
|
||||
|
||||
Reference in New Issue
Block a user