ESP-IDF
ot::Random::NonCrypto::GetUint32()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Random::NonCrypto::GetUint32()
ot::Random::NonCrypto::GetUint32() function
Generates and returns a random `uint32_t` value.
Syntax
Show:
Summary
Declaration
from
random.hpp:108
inline
uint32_t
GetUint32
(
void
)
;
Return value
A random `uint32_t` value.
Examples
References
from
examples
Code
Location
Scope
Referrer
inline
uint32_t
GetUint32
(
void
)
{
return
Manager
::
NonCryptoGetUint32
(
)
;
}
random.hpp:108
,
mId
(
Random
::
NonCrypto
::
GetUint32
(
)
)
instance.cpp:277
ot::Instance
ot::Instance::Instance()
partitionId
=
mPreferredLeaderPartitionId
?
mPreferredLeaderPartitionId
:
Random
::
NonCrypto
::
GetUint32
(
)
;
mle_router.cpp:271
ot::Mle::MleRouter
ot::Mle::MleRouter::BecomeLeader()
return
(
aMin
+
(
GetUint32
(
)
%
(
aMax
-
aMin
)
)
)
;
random.cpp:148
ot::Random::NonCrypto::GetUint32InRange()
inline
uint8_t
GetUint8
(
void
)
{
return
static_cast
<
uint8_t
>
(
GetUint32
(
)
&
0xff
)
;
}
random.hpp:115
ot::Random::NonCrypto::GetUint8()
inline
uint16_t
GetUint16
(
void
)
{
return
static_cast
<
uint16_t
>
(
GetUint32
(
)
&
0xffff
)
;
}
random.hpp:122
ot::Random::NonCrypto::GetUint16()
uint32_t
otRandomNonCryptoGetUint32
(
void
)
{
return
Random
::
NonCrypto
::
GetUint32
(
)
;
}
random_noncrypto_api.cpp:40
otRandomNonCryptoGetUint32()
,
mServiceUpdateId
(
Random
::
NonCrypto
::
GetUint32
(
)
)
srp_server.cpp:83
ot::Srp::Server
ot::Srp::Server::Server()
Call Tree
from
examples
ot::Random::NonCrypto::GetUint32()
is called by 7 functions and calls 1 function:
ot::Random::NonCrypto::GetUint8()
ot::Random::NonCrypto::GetUint16()
otRandomNonCryptoGetUint32()
ot::Random::NonCrypto::GetUint32InRange()
ot::Instance::Instance()
ot::Mle::MleRouter::BecomeLeader()
ot::Srp::Server::Server()
All items filtered out
ot::Random::NonCrypto::GetUint32()
ot::Random::Manager::NonCryptoGetUint32()
All items filtered out
Data Use
from
examples
All items filtered out
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