Implement otIsDiscoverInProgress. (#415)

This commit is contained in:
Jonathan Hui
2016-08-18 12:15:53 -07:00
committed by GitHub
parent ea445c6774
commit c26fec1692
6 changed files with 46 additions and 9 deletions
+8 -6
View File
@@ -258,11 +258,12 @@ typedef void (*otHandleActiveScanResult)(otActiveScanResult *aResult);
ThreadError otActiveScan(uint32_t aScanChannels, uint16_t aScanDuration, otHandleActiveScanResult aCallback);
/**
* This function determines if an IEEE 802.15.4 Active Scan is currently in progress.
* This function indicates whether or not an IEEE 802.15.4 Active Scan is currently in progress.
*
* @returns true if an IEEE 802.15.4 Active Scan is in progress, false otherwise.
*
* @returns true if an active scan is in progress.
*/
bool otActiveScanInProgress(void);
bool otIsActiveScanInProgress(void);
/**
* This function starts a Thread Discovery scan.
@@ -280,11 +281,12 @@ ThreadError otDiscover(uint32_t aScanChannels, uint16_t aScanDuration, uint16_t
otHandleActiveScanResult aCallback);
/**
* This function determines if an MLE Thread Discovery is currently in progress.
* This function indicates whether or not an MLE Thread Discovery is currently in progress.
*
* @returns true if an MLE Thread Discovery is in progress, false otherwise.
*
* @returns true if an active scan is in progress.
*/
bool otDiscoverInProgress(void);
bool otIsDiscoverInProgress(void);
/**
* @}