mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 04:37:47 +00:00
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:
committed by
Jonathan Hui
parent
4c560dc94e
commit
e54e83e9fc
@@ -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);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user