core: mac: Added new method: Mac::IsActiveScanInProgress() (#29)

* core: mac: Added new method: `Mac::IsActiveScanInProgress()`

* core: Add `otActiveScanInProgress()` for checking if a scan is in progress.
This commit is contained in:
Robert Quattlebaum
2016-05-13 18:41:14 -07:00
committed by Jonathan Hui
parent 4c560dc94e
commit e54e83e9fc
4 changed files with 24 additions and 0 deletions
+7
View File
@@ -182,6 +182,13 @@ typedef void (*otHandleActiveScanResult)(otActiveScanResult *aResult);
*/
ThreadError otActiveScan(uint16_t aScanChannels, uint16_t aScanDuration, otHandleActiveScanResult aCallback);
/**
* This function determines if an IEEE 802.15.4 Active Scan is currently in progress.
*
* @returns true if an active scan is in progress.
*/
bool otActiveScanInProgress(void);
/**
* @}
*