ESP-IDF
ot::Mac::ChannelMask::ChooseRandomChannel() const
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::Mac::ChannelMask::ChooseRandomChannel() const
ot::Mac::ChannelMask::ChooseRandomChannel() const method
Randomly chooses a channel from the channel mask.
Syntax
Show:
Summary
Declaration
Definition
from
channel_mask.hpp:201
uint8_t
ChooseRandomChannel
(
void
)
const
;
Implemented in
channel_mask.cpp:76
Return value
A randomly chosen channel from the given mask, or `kChannelIteratorFirst` if the mask is empty.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
ChannelMask
::
ChooseRandomChannel
(
void
)
const
channel_mask.cpp:76
uint8_t
ChooseRandomChannel
(
void
)
const
;
channel_mask.hpp:201
mChannel
=
preferredChannels
.
ChooseRandomChannel
(
)
;
dataset.cpp:66
ot::MeshCoP::Dataset::Info
ot::MeshCoP::Dataset::Info::GenerateRandom()
mWakeupChannel
=
supportedChannels
.
ChooseRandomChannel
(
)
;
dataset.cpp:68
ot::MeshCoP::Dataset::Info
ot::MeshCoP::Dataset::Info::GenerateRandom()
Call Tree
from
examples
ot::Mac::ChannelMask::ChooseRandomChannel() const
is called by 1 function and calls 4 functions:
ot::MeshCoP::Dataset::Info::GenerateRandom()
All items filtered out
ot::Mac::ChannelMask::ChooseRandomChannel() const
ot::Mac::ChannelMask::IsEmpty() const
ot::Mac::ChannelMask::GetNumberOfChannels() const
ot::Mac::ChannelMask::GetNextChannel() const
ot::Random::NonCrypto::GetUint8InRange()
All items filtered out
Data Use
from
examples
ot::Mac::ChannelMask::ChooseRandomChannel() const
reads 1 variable:
ot::Mac::ChannelMask::kChannelIteratorFirst
All items filtered out
ot::Mac::ChannelMask::ChooseRandomChannel() 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