ESP-IDF
ot::Mac::ChannelMask::GetNumberOfChannels() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/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::Mac::ChannelMask::GetNumberOfChannels() const
ot::Mac::ChannelMask::GetNumberOfChannels() const method
Returns the number of channels in the mask.
Syntax
Show:
Summary
Declaration
Definition
from
channel_mask.hpp:179
uint8_t
GetNumberOfChannels
(
void
)
const
;
Implemented in
channel_mask.cpp:42
Return value
Number of channels in the mask.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
ChannelMask
::
GetNumberOfChannels
(
void
)
const
channel_mask.cpp:42
uint8_t
GetNumberOfChannels
(
void
)
const
;
channel_mask.hpp:179
SetPeriod
(
kTxInterval
/
channelMask
.
GetNumberOfChannels
(
)
)
;
announce_sender.cpp:243
ot::AnnounceSender
ot::AnnounceSender::HandleActiveDatasetChanged()
randomIndex
=
Random
::
NonCrypto
::
GetUint8InRange
(
0
,
GetNumberOfChannels
(
)
)
;
channel_mask.cpp:83
ot::Mac::ChannelMask
ot::Mac::ChannelMask::ChooseRandomChannel() const
mAnnounceDelay
=
kAnnounceTimeout
/
(
channelMask
.
GetNumberOfChannels
(
)
+
1
)
;
mle.cpp:1505
ot::Mle::Mle
ot::Mle::Mle::PrepareAnnounceState()
Call Tree
from
examples
ot::Mac::ChannelMask::GetNumberOfChannels() const
is called by 3 functions and calls 1 function:
ot::Mac::ChannelMask::ChooseRandomChannel() const
ot::AnnounceSender::HandleActiveDatasetChanged()
ot::Mle::Mle::PrepareAnnounceState()
All items filtered out
ot::Mac::ChannelMask::GetNumberOfChannels() const
ot::Mac::ChannelMask::GetNextChannel() const
All items filtered out
Data Use
from
examples
ot::Mac::ChannelMask::GetNumberOfChannels() const
reads 2 variables:
ot::kErrorNone
ot::Mac::ChannelMask::kChannelIteratorFirst
All items filtered out
ot::Mac::ChannelMask::GetNumberOfChannels() 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