[ncp] add support for new Spinel property THREAD_ROUTER_TABLE (#2303)

This commit adds a new property `SPINEL_PROP_THREAD_ROUTER_TABLE` and
its corresponding get handler to `NcpBase`. The spinel documentation
is also updated. Some of the documentations for the related APIs are
also updated.
This commit is contained in:
Abtin Keshavarzian
2017-10-31 10:57:23 -07:00
committed by Jonathan Hui
parent 4329c0d2c4
commit 07647ababc
10 changed files with 101 additions and 2 deletions
@@ -335,3 +335,20 @@ Response messages.
* All zeros to clear the steering data (indicating no steering data).
* All 0xFFs to set the steering data (bloom filter) to accept/allow all.
* A specific EUI64 which is then added to steering data/bloom filter.
### PROP 5399: SPINEL_PROP_THREAD_ROUTER_TABLE {#prop-thread-router-table}
* Type: Read-Only
* Packed-Encoding: `A(t(ESCCCCCCb)`
Data per item is:
* `E`: IEEE 802.15.4 Extended Address
* `S`: RLOC16
* `C`: Router ID
* `C`: Next hop to router
* `C`: Path cost to router
* `C`: Link Quality In
* `C`: Link Quality Out
* `C`: Age (seconds since last heard)
* `b`: Link established with Router ID or not.