mirror of
https://github.com/espressif/openthread.git
synced 2026-07-05 20:00:23 +00:00
[mle] add enhanced keep-alive (#4325)
This commit introduces the first Thread 1.2 feature - enhanced keep alive. This commit also introduces the build config OPENTHREAD_CONFIG_THREAD_VERSION to include/exclude Thread 1.2 code.
This commit is contained in:
@@ -412,7 +412,7 @@ otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
|
||||
|
||||
uint16_t otThreadGetVersion(void)
|
||||
{
|
||||
return OPENTHREAD_THREAD_VERSION;
|
||||
return OPENTHREAD_CONFIG_THREAD_VERSION;
|
||||
}
|
||||
|
||||
bool otThreadIsSingleton(otInstance *aInstance)
|
||||
|
||||
Reference in New Issue
Block a user