mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +00:00
[network-diagnostic] remove Max Child Timeout TLV from MTD build (#4730)
This commit is contained in:
@@ -73,8 +73,6 @@ public:
|
||||
static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; }
|
||||
|
||||
otError SendChildUpdateRequest(void) { return Mle::SendChildUpdateRequest(); }
|
||||
|
||||
otError GetMaxChildTimeout(uint32_t &) { return OT_ERROR_NOT_IMPLEMENTED; }
|
||||
};
|
||||
|
||||
} // namespace Mle
|
||||
|
||||
@@ -467,6 +467,7 @@ otError NetworkDiagnostic::FillRequestedTlvs(Message & aRequest,
|
||||
break;
|
||||
}
|
||||
|
||||
#if OPENTHREAD_FTD
|
||||
case NetworkDiagnosticTlv::kMaxChildTimeout:
|
||||
{
|
||||
uint32_t maxTimeout = 0;
|
||||
@@ -481,6 +482,7 @@ otError NetworkDiagnostic::FillRequestedTlvs(Message & aRequest,
|
||||
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
default:
|
||||
ExitNow(error = OT_ERROR_PARSE);
|
||||
|
||||
Reference in New Issue
Block a user