mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 22:00:19 +00:00
Make Network Diagnostic optional for MTD. (#1686)
* make network diagnostic optional for mtd
This commit is contained in:
@@ -434,6 +434,7 @@ const char *otGetVersionString(void)
|
||||
return sVersion;
|
||||
}
|
||||
|
||||
#if OPENTHREAD_FTD || OPENTHREAD_ENABLE_MTD_NETWORK_DIAGNOSTIC
|
||||
void otThreadSetReceiveDiagnosticGetCallback(otInstance *aInstance, otReceiveDiagnosticGetCallback aCallback,
|
||||
void *aCallbackContext)
|
||||
{
|
||||
@@ -457,6 +458,7 @@ ThreadError otThreadSendDiagnosticReset(otInstance *aInstance, const otIp6Addres
|
||||
aTlvTypes,
|
||||
aCount);
|
||||
}
|
||||
#endif // OPENTHREAD_FTD || OPENTHREAD_ENABLE_MTD_NETWORK_DIAGNOSTIC
|
||||
|
||||
ThreadError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user