ESP-IDF
ot::MeshCoP::BorderAgent::ForwardContext
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/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::MeshCoP::BorderAgent::ForwardContext
ot::MeshCoP::BorderAgent::ForwardContext class
Syntax
Show:
Summary
Declaration
from
border_agent.hpp:264
class
ForwardContext
:
public
InstanceLocatorInit
,
public
Heap
::
Allocatable
<
ForwardContext
>
{
public
:
Error
Init
(
Instance
&
aInstance
,
const
Coap
::
Message
&
aMessage
,
bool
aPetition
,
bool
aSeparate
)
;
bool
IsPetition
(
void
)
const
{
return
mPetition
;
}
uint16_t
GetMessageId
(
void
)
const
{
return
mMessageId
;
}
Error
ToHeader
(
Coap
::
Message
&
aMessage
,
uint8_t
aCode
)
const
;
private
:
uint16_t
mMessageId
;
bool
mPetition
:
1
;
bool
mSeparate
:
1
;
uint8_t
mTokenLength
:
4
;
uint8_t
mType
:
2
;
uint8_t
mToken
[
Coap
::
Message
::
kMaxTokenLength
]
;
}
;
Fields
Field
Declared as
ot::MeshCoP::BorderAgent::ForwardContext::mMessageId
uint16_t
ot::MeshCoP::BorderAgent::ForwardContext::mPetition
bool
:
1
ot::MeshCoP::BorderAgent::ForwardContext::mSeparate
bool
:
1
ot::MeshCoP::BorderAgent::ForwardContext::mTokenLength
uint8_t
:
4
ot::MeshCoP::BorderAgent::ForwardContext::mType
uint8_t
:
2
ot::MeshCoP::BorderAgent::ForwardContext::mToken
uint8_t
[
Coap
::
Message
::
kMaxTokenLength
]
Methods
Init()
IsPetition() const
GetMessageId() const
ToHeader() const
Examples
References
from
examples
Code
Location
Scope
Referrer
class
ForwardContext
:
public
InstanceLocatorInit
,
public
Heap
::
Allocatable
<
ForwardContext
>
border_agent.hpp:264
Error
BorderAgent
::
ForwardContext
::
Init
(
Instance
&
aInstance
,
border_agent.cpp:48
ot::MeshCoP::BorderAgent::ForwardContext::Init()
Error
BorderAgent
::
ForwardContext
::
ToHeader
(
Coap
::
Message
&
aMessage
,
uint8_t
aCode
)
const
border_agent.cpp:64
ot::MeshCoP::BorderAgent::ForwardContext::ToHeader() const
void
BorderAgent
::
SendErrorMessage
(
const
ForwardContext
&
aForwardContext
,
Error
aError
)
border_agent.cpp:108
ot::MeshCoP::BorderAgent::SendErrorMessage()
ot::MeshCoP::BorderAgent::SendErrorMessage()::aForwardContext
OwnedPtr
<
ForwardContext
>
forwardContext
(
static_cast
<
ForwardContext
*
>
(
aContext
)
)
;
border_agent.cpp:164
ot::MeshCoP::BorderAgent::HandleCoapResponse()
void
BorderAgent
::
HandleCoapResponse
(
const
ForwardContext
&
aForwardContext
,
border_agent.cpp:169
ot::MeshCoP::BorderAgent::HandleCoapResponse()
OwnedPtr
<
ForwardContext
>
forwardContext
;
border_agent.cpp:542
ot::MeshCoP::BorderAgent::ForwardToLeader()
void
SendErrorMessage
(
const
ForwardContext
&
aForwardContext
,
Error
aError
)
;
border_agent.hpp:288
ot::MeshCoP::BorderAgent::SendErrorMessage()
ot::MeshCoP::BorderAgent::SendErrorMessage()::aForwardContext
void
HandleCoapResponse
(
const
ForwardContext
&
aForwardContext
,
const
Coap
::
Message
*
aResponse
,
Error
aResult
)
;
border_agent.hpp:311
ot::MeshCoP::BorderAgent::HandleCoapResponse()
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::MeshCoP::BorderAgent::ForwardContext
is inherited by 1 classes:
All items filtered out
ot::MeshCoP::BorderAgent::ForwardContext
ot::InstanceLocatorInit
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::MeshCoP::BorderAgent::SendErrorMessage()::aForwardContext
ot::MeshCoP::BorderAgent::SendErrorMessage()
border_agent.hpp:288
ot::MeshCoP::BorderAgent::SendErrorMessage()::aForwardContext
ot::MeshCoP::BorderAgent::SendErrorMessage()
border_agent.cpp:108
Lifecycle
from
examples
All items filtered out
All items filtered out