ESP-IDF
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const method
Indicates whether or not the TLV appears to be well-formed.
Syntax
Show:
Summary
Declaration
from
meshcop_tlvs.hpp:977
bool
IsValid
(
void
)
const
;
Return value
TRUE If the TLV appears to be well-formed. FALSE If the TLV does not appear to be well-formed.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsValid
(
void
)
const
{
return
GetLength
(
)
>=
sizeof
(
*
this
)
-
sizeof
(
Tlv
)
;
}
meshcop_tlvs.hpp:977
VerifyOrExit
(
discoveryRequestTlv
.
IsValid
(
)
,
error
=
kErrorParse
)
;
mle_router.cpp:2612
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleDiscoveryRequest()
if
(
discoveryRequestTlv
.
IsValid
(
)
)
mle_router.cpp:2628
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleDiscoveryRequest()
Call Tree
from
examples
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const
is called by 1 function:
ot::Mle::MleRouter::HandleDiscoveryRequest()
All items filtered out
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const
All items filtered out
Data Use
from
examples
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const
reads 1 variable:
ot::Tlv::GetLength() const
All items filtered out
ot::MeshCoP::DiscoveryRequestTlv::IsValid() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out