From 0a46feaee170f8ee288e0edf0738a599f32eb341 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Sun, 11 Sep 2016 20:23:47 -0700 Subject: [PATCH] Ncp: Add new spinel property `THREAD_ROUTER_ROLE_ENABLED` (#553) This commit adds getter and setter handlers in `NcpBase` class for a new spinel property `THREAD_ROUTER_ROLE_ENABLED`. --- doc/draft-spinel-protocol.html | 20 +- doc/draft-spinel-protocol.txt | 378 +++++++++--------- doc/spinel-protocol-src/spinel-tech-thread.md | 7 + src/ncp/ncp_base.cpp | 46 ++- src/ncp/ncp_base.hpp | 3 + src/ncp/spinel.c | 7 + src/ncp/spinel.h | 6 + 7 files changed, 271 insertions(+), 196 deletions(-) diff --git a/doc/draft-spinel-protocol.html b/doc/draft-spinel-protocol.html index c948fb154..5edc25391 100644 --- a/doc/draft-spinel-protocol.html +++ b/doc/draft-spinel-protocol.html @@ -501,6 +501,7 @@ + @@ -532,8 +533,8 @@ - - + + @@ -554,7 +555,7 @@ - September 7, 2016 + September 9, 2016 @@ -562,7 +563,7 @@

Spinel Host-Controller Protocol
- draft-spinel-protocol-f5ea928

+ draft-spinel-protocol-94724cf

Abstract @@ -724,6 +725,7 @@
  • D.2.20. PROP 5380: PROP_THREAD_NETWORK_ID_TIMEOUT
  • D.2.21. PROP 5381: PROP_THREAD_ACTIVE_ROUTER_IDS
  • D.2.22. PROP 5382: PROP_THREAD_RLOC16_DEBUG_PASSTHRU
  • +
  • D.2.23. PROP 5383: SPINEL_PROP_THREAD_ROUTER_ROLE_ENABLED
  • Appendix E. Test Vectors