ESP-IDF
ot::Tmf::SecureAgent
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
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::Tmf::SecureAgent
ot::Tmf::SecureAgent class
Implements functionality of the secure TMF agent.
Syntax
Show:
Summary
Declaration
from
tmf.hpp:200
class
SecureAgent
:
public
Coap
::
CoapSecure
{
public
:
explicit
SecureAgent
(
Instance
&
aInstance
)
;
private
:
static
bool
HandleResource
(
CoapBase
&
aCoapBase
,
const
char
*
aUriPath
,
Message
&
aMessage
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
;
bool
HandleResource
(
const
char
*
aUriPath
,
Message
&
aMessage
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
;
}
;
Methods
HandleResource()
HandleResource()
Examples
References
from
examples
Code
Location
Scope
Referrer
class
SecureAgent
:
public
Coap
::
CoapSecure
tmf.hpp:200
VerifyOrExit
(
(
message
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
NewPriorityMessage
(
)
)
!=
nullptr
,
error
=
kErrorNoBufs
)
;
border_agent.cpp:113
ot::MeshCoP::BorderAgent::SendErrorMessage()
VerifyOrExit
(
(
message
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
NewPriorityMessage
(
)
)
!=
nullptr
,
error
=
kErrorNoBufs
)
;
border_agent.cpp:127
ot::MeshCoP::BorderAgent::SendErrorMessage()
return
Get
<
Tmf
::
SecureAgent
>
(
)
.
SendMessage
(
aMessage
,
Get
<
Tmf
::
SecureAgent
>
(
)
.
GetMessageInfo
(
)
)
;
border_agent.cpp:154
ot::MeshCoP::BorderAgent::SendMessage()
VerifyOrExit
(
(
message
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
NewPriorityMessage
(
)
)
!=
nullptr
,
error
=
kErrorNoBufs
)
;
border_agent.cpp:177
ot::MeshCoP::BorderAgent::HandleCoapResponse()
SuccessOrExit
(
Get
<
Tmf
::
SecureAgent
>
(
)
.
SetPsk
(
pskc
.
m8
,
Pskc
::
kSize
)
)
;
border_agent.cpp:328
ot::MeshCoP::BorderAgent::HandleNotifierEvents()
message
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
NewPriorityNonConfirmablePostMessage
(
kUriProxyRx
)
;
border_agent.cpp:395
ot::MeshCoP::BorderAgent::HandleUdpReceive()
message
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
NewPriorityNonConfirmablePostMessage
(
kUriRelayRx
)
;
border_agent.cpp:442
ot::MeshCoP::BorderAgent::HandleTmf()
SuccessOrExit
(
error
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
SendAck
(
aMessage
,
aMessageInfo
)
)
;
border_agent.cpp:566
ot::MeshCoP::BorderAgent::ForwardToLeader()
SuccessOrExit
(
error
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
SendMessage
(
*
response
,
aMessageInfo
)
)
;
border_agent.cpp:633
ot::MeshCoP::BorderAgent::HandleTmfDatasetGet()
uint16_t
BorderAgent
::
GetUdpPort
(
void
)
const
{
return
Get
<
Tmf
::
SecureAgent
>
(
)
.
GetUdpPort
(
)
;
}
border_agent.cpp:699
ot::MeshCoP::BorderAgent::GetUdpPort() const
SuccessOrExit
(
error
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
Start
(
aUdpPort
,
kMaxEphemeralKeyConnectionAttempts
,
border_agent.cpp:722
ot::MeshCoP::BorderAgent::Start()
SuccessOrExit
(
error
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
Start
(
aUdpPort
)
)
;
border_agent.cpp:728
ot::MeshCoP::BorderAgent::Start()
SuccessOrExit
(
error
=
Get
<
Tmf
::
SecureAgent
>
(
)
.
SetPsk
(
aPsk
,
aPskLength
)
)
;
border_agent.cpp:731
ot::MeshCoP::BorderAgent::Start()
Get
<
Tmf
::
SecureAgent
>
(
)
.
SetConnectEventCallback
(
HandleConnected
,
this
)
;
border_agent.cpp:733
ot::MeshCoP::BorderAgent::Start()
if
(
Get
<
Tmf
::
SecureAgent
>
(
)
.
IsConnected
(
)
)
border_agent.cpp:747
ot::MeshCoP::BorderAgent::HandleTimeout()
Get
<
Tmf
::
SecureAgent
>
(
)
.
Disconnect
(
)
;
border_agent.cpp:749
ot::MeshCoP::BorderAgent::HandleTimeout()
Get
<
Tmf
::
SecureAgent
>
(
)
.
Stop
(
)
;
border_agent.cpp:768
ot::MeshCoP::BorderAgent::Stop()
Get
<
Tmf
::
SecureAgent
>
(
)
.
Disconnect
(
)
;
border_agent.cpp:782
ot::MeshCoP::BorderAgent::Disconnect()
Get
<
Tmf
::
SecureAgent
>
(
)
.
GetRequestMessages
(
)
.
GetInfo
(
aInfo
.
mCoapSecureQueue
)
;
instance.cpp:489
ot::Instance::GetBufferInfo()
Get
<
Tmf
::
SecureAgent
>
(
)
.
GetCachedResponses
(
)
.
GetInfo
(
aInfo
.
mCoapSecureQueue
)
;
instance.cpp:490
ot::Instance::GetBufferInfo()
Tmf
::
SecureAgent
mTmfSecureAgent
;
instance.hpp:590
ot::Instance
ot::Instance::mTmfSecureAgent
template
<
>
inline
Tmf
::
SecureAgent
&
Instance
::
Get
(
void
)
{
return
mTmfSecureAgent
;
}
instance.hpp:880
ot::Instance
ot::Instance::Get()
Get
<
Tmf
::
SecureAgent
>
(
)
.
Stop
(
)
;
thread_netif.cpp:91
ot::ThreadNetif::Down()
SecureAgent
::
SecureAgent
(
Instance
&
aInstance
)
tmf.cpp:275
ot::Tmf::SecureAgent::SecureAgent()
bool
SecureAgent
::
HandleResource
(
CoapBase
&
aCoapBase
,
tmf.cpp:281
ot::Tmf::SecureAgent::HandleResource()
return
static_cast
<
SecureAgent
&
>
(
aCoapBase
)
.
HandleResource
(
aUriPath
,
aMessage
,
aMessageInfo
)
;
tmf.cpp:286
ot::Tmf::SecureAgent::HandleResource()
bool
SecureAgent
::
HandleResource
(
const
char
*
aUriPath
,
Message
&
aMessage
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
tmf.cpp:289
ot::Tmf::SecureAgent::HandleResource()
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
ot::Tmf::SecureAgent
is inherited by 1 classes:
All items filtered out
ot::Tmf::SecureAgent
ot::Coap::CoapSecure
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
Instance
Scope
Location
Project
ot::Instance::mTmfSecureAgent
ot::Instance
instance.hpp:590
return
ot::Instance::Get()
instance.hpp:880
Lifecycle
from
examples
All items filtered out
All items filtered out