Update JamDetector to invoke handler every second when jam is detected (#972)

This commit is contained in:
Abtin Keshavarzian
2016-11-15 16:17:51 +08:00
committed by Jonathan Hui
parent a7668d6475
commit dd61e9cce6
2 changed files with 10 additions and 5 deletions
+1 -2
View File
@@ -130,7 +130,7 @@ uint8_t otGetJamDetectionBusyPeriod(otInstance *aInstance);
* Start the jamming detection.
*
* @param[in] aInstance A pointer to an OpenThread instance.
* @param[in] aCallback A pointer to a function called when jamming state changes.
* @param[in] aCallback A pointer to a function called to notify of jamming state change.
* @param[in] aContext A pointer to application-specific context.
*
* @retval kThreadErrorNone Successfully started the jamming detection.
@@ -159,7 +159,6 @@ ThreadError otStopJamDetection(otInstance *aInstance);
*/
bool otIsJamDetectionEnabled(otInstance *aInstance);
/**
* Get the Jam Detection State
*