ESP-IDF
ot::EnergyScanServer
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::EnergyScanServer
ot::EnergyScanServer class
Implements handling Energy Scan Requests.
Syntax
Show:
Summary
Declaration
from
energy_scan_server.hpp:53
class
EnergyScanServer
:
public
InstanceLocator
,
private
NonCopyable
{
friend
class
ot
::
Notifier
;
friend
class
Tmf
::
Agent
;
public
:
explicit
EnergyScanServer
(
Instance
&
aInstance
)
;
private
:
static
constexpr
uint32_t
kScanDelay
=
1000
;
static
constexpr
uint32_t
kReportDelay
=
500
;
template
<
Uri
kUri
>
void
HandleTmf
(
Coap
::
Message
&
aMessage
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
;
static
void
HandleScanResult
(
Mac
::
EnergyScanResult
*
aResult
,
void
*
aContext
)
;
void
HandleScanResult
(
Mac
::
EnergyScanResult
*
aResult
)
;
void
HandleTimer
(
void
)
;
void
HandleNotifierEvents
(
Events
aEvents
)
;
void
SendReport
(
void
)
;
using
ScanTimer
=
TimerMilliIn
<
EnergyScanServer
,
&
EnergyScanServer
::
HandleTimer
>
;
Ip6
::
Address
mCommissioner
;
uint32_t
mChannelMask
;
uint32_t
mChannelMaskCurrent
;
uint16_t
mPeriod
;
uint16_t
mScanDuration
;
uint8_t
mCount
;
uint8_t
mNumScanResults
;
Coap
::
Message
*
mReportMessage
;
ScanTimer
mTimer
;
}
;
Fields
Field
Declared as
ot::EnergyScanServer::kScanDelay
ot::EnergyScanServer::kReportDelay
ot::EnergyScanServer::mCommissioner
Ip6
::
Address
ot::EnergyScanServer::mChannelMask
uint32_t
ot::EnergyScanServer::mChannelMaskCurrent
uint32_t
ot::EnergyScanServer::mPeriod
uint16_t
ot::EnergyScanServer::mScanDuration
uint16_t
ot::EnergyScanServer::mCount
uint8_t
ot::EnergyScanServer::mNumScanResults
uint8_t
ot::EnergyScanServer::mReportMessage
Coap
::
Message
*
ot::EnergyScanServer::mTimer
ScanTimer
Methods
HandleTmf()
HandleScanResult()
HandleScanResult()
HandleTimer()
HandleNotifierEvents()
SendReport()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
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