ESP-IDF
ot::Coap::Message::IsConfirmable() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/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::Coap::Message::IsConfirmable() const
ot::Coap::Message::IsConfirmable() const method
Checks if a header is a CON message header.
Syntax
Show:
Summary
Declaration
from
coap_message.hpp:693
bool
IsConfirmable
(
void
)
const
;
Return value
TRUE Message is a CON message header. FALSE Message is not is a CON message header.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsConfirmable
(
void
)
const
{
return
(
GetType
(
)
==
kTypeConfirmable
)
;
}
coap_message.hpp:693
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
address_resolver.cpp:775
ot::AddressResolver
ot::AddressResolver::HandleTmf()
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
announce_begin_server.cpp:70
ot::AnnounceBeginServer
ot::AnnounceBeginServer::HandleTmf()
proactive
=
!
aMessage
.
IsConfirmable
(
)
;
bbr_manager.cpp:582
ot::BackboneRouter::Manager
ot::BackboneRouter::Manager::HandleTmf()
if
(
aMessage
.
IsConfirmable
(
)
)
coap.cpp:262
ot::Coap::CoapBase
ot::Coap::CoapBase::SendMessage()
metadata
.
mConfirmable
=
aMessage
.
IsConfirmable
(
)
;
coap.cpp:319
ot::Coap::CoapBase
ot::Coap::CoapBase::SendMessage()
return
(
aRequest
.
IsConfirmable
(
)
?
SendHeaderResponse
(
aCode
,
aRequest
,
aMessageInfo
)
:
kErrorInvalidArgs
)
;
coap.cpp:385
ot::Coap::CoapBase
ot::Coap::CoapBase::SendEmptyAck()
VerifyOrExit
(
aRequest
.
IsConfirmable
(
)
,
error
=
kErrorInvalidArgs
)
;
coap.cpp:403
ot::Coap::CoapBase
ot::Coap::CoapBase::SendEmptyMessage()
if
(
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
&&
message
.
IsConfirmable
(
)
)
coap.cpp:1042
ot::Coap::CoapBase
ot::Coap::CoapBase::Receive()
if
(
aMessage
.
IsConfirmable
(
)
||
aMessage
.
IsNonConfirmable
(
)
)
coap.cpp:1268
ot::Coap::CoapBase
ot::Coap::CoapBase::ProcessReceivedResponse()
bool
Message
::
IsConfirmablePostRequest
(
void
)
const
{
return
IsConfirmable
(
)
&&
IsPostRequest
(
)
;
}
coap_message.cpp:80
ot::Coap::Message
ot::Coap::Message::IsConfirmablePostRequest() const
if
(
aMessage
.
IsConfirmable
(
)
&&
Get
<
Tmf
::
Agent
>
(
)
.
SendEmptyAck
(
aMessage
,
aMessageInfo
)
==
kErrorNone
)
dua_manager.cpp:595
ot::DuaManager
ot::DuaManager::HandleTmf()
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
energy_scan_server.cpp:90
ot::EnergyScanServer
ot::EnergyScanServer::HandleTmf()
if
(
aMessage
.
IsConfirmable
(
)
)
network_diagnostic.cpp:403
ot::NetworkDiagnostic::Server
ot::NetworkDiagnostic::Server::HandleTmf()
if
(
aMessage
.
IsConfirmable
(
)
&&
!
aMessageInfo
.
GetSockAddr
(
)
.
IsMulticast
(
)
)
panid_query_server.cpp:66
ot::PanIdQueryServer
ot::PanIdQueryServer::HandleTmf()
Call Tree
from
examples
ot::Coap::Message::IsConfirmable() const
is called by 13 functions and calls 1 function:
ot::AddressResolver::HandleTmf()
ot::AnnounceBeginServer::HandleTmf()
ot::DuaManager::HandleTmf()
ot::EnergyScanServer::HandleTmf()
ot::NetworkDiagnostic::Server::HandleTmf()
ot::PanIdQueryServer::HandleTmf()
ot::BackboneRouter::Manager::HandleTmf()
ot::Coap::CoapBase::SendMessage()
ot::Coap::CoapBase::SendEmptyAck()
ot::Coap::CoapBase::SendEmptyMessage()
ot::Coap::CoapBase::Receive()
ot::Coap::CoapBase::ProcessReceivedResponse()
ot::Coap::Message::IsConfirmablePostRequest() const
All items filtered out
ot::Coap::Message::IsConfirmable() const
ot::Coap::Message::GetType() const
All items filtered out
Data Use
from
examples
ot::Coap::Message::IsConfirmable() const
reads 1 variable:
ot::Coap::Type::kTypeConfirmable
All items filtered out
ot::Coap::Message::IsConfirmable() 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