mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 22:09:05 +00:00
[network-diagnostic] remove Connectivity TLV from MTD build (#4730)
This commit is contained in:
@@ -72,8 +72,6 @@ public:
|
||||
|
||||
static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; }
|
||||
|
||||
void FillConnectivityTlv(ConnectivityTlv &) {}
|
||||
|
||||
otError SendChildUpdateRequest(void) { return Mle::SendChildUpdateRequest(); }
|
||||
|
||||
otError GetMaxChildTimeout(uint32_t &) { return OT_ERROR_NOT_IMPLEMENTED; }
|
||||
|
||||
@@ -350,6 +350,7 @@ otError NetworkDiagnostic::FillRequestedTlvs(Message & aRequest,
|
||||
break;
|
||||
}
|
||||
|
||||
#if OPENTHREAD_FTD
|
||||
case NetworkDiagnosticTlv::kConnectivity:
|
||||
{
|
||||
ConnectivityTlv tlv;
|
||||
@@ -359,7 +360,6 @@ otError NetworkDiagnostic::FillRequestedTlvs(Message & aRequest,
|
||||
break;
|
||||
}
|
||||
|
||||
#if OPENTHREAD_FTD
|
||||
case NetworkDiagnosticTlv::kRoute:
|
||||
{
|
||||
RouteTlv tlv;
|
||||
|
||||
Reference in New Issue
Block a user