mirror of
https://github.com/espressif/openthread.git
synced 2026-09-18 07:00:08 +00:00
add IsSingleton to OT's application API (#398)
This commit is contained in:
committed by
Jonathan Hui
parent
20ce66eb90
commit
8c48712617
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user