add IsSingleton to OT's application API (#398)

This commit is contained in:
Marcin K Szczodrak
2016-08-16 19:15:29 -07:00
committed by Jonathan Hui
parent 20ce66eb90
commit 8c48712617
5 changed files with 44 additions and 1 deletions
+9
View File
@@ -226,6 +226,15 @@ ThreadError otThreadStart(void);
*/
ThreadError otThreadStop(void);
/**
* This function indicates whether a node is the only router on the network.
*
* @retval TRUE It is the only router in the network.
* @retval FALSE It is a child or is not a single router in the network.
*
*/
bool otIsSingleton(void);
/**
* This function pointer is called during an IEEE 802.15.4 Active Scan when an IEEE 802.15.4 Beacon is received or
* the scan completes.