ESP-IDF
otCoapTxParameters::mMaxRetransmit
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otCoapTxParameters::mMaxRetransmit
otCoapTxParameters::mMaxRetransmit field
Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).
Syntax
Show:
Summary
Declaration
from
coap.h:465
uint8_t
mMaxRetransmit
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
mMaxRetransmit
;
coap.h:465
SuccessOrExit
(
error
=
aArgs
[
4
]
.
ParseAsUint8
(
txParameters
->
mMaxRetransmit
)
)
;
cli_coap.cpp:413
ot::Cli::Coap
ot::Cli::Coap::Process()
txParameters
->
mMaxRetransmit
)
;
cli_coap.cpp:432
ot::Cli::Coap
ot::Cli::Coap::Process()
metadata
.
mRetransmissionsRemaining
=
aTxParameters
.
mMaxRetransmit
;
coap.cpp:316
ot::Coap::CoapBase
ot::Coap::CoapBase::SendMessage()
(
mAckTimeout
>=
OT_COAP_MIN_ACK_TIMEOUT
)
&&
(
mMaxRetransmit
<=
OT_COAP_MAX_RETRANSMIT
)
)
coap.cpp:1605
ot::Coap::TxParameters
ot::Coap::TxParameters::IsValid() const
uint32_t
tmp
=
Multiply
(
mAckTimeout
,
(
1U
<
<
(
mMaxRetransmit
+
1
)
)
-
1
)
;
coap.cpp:1608
ot::Coap::TxParameters
ot::Coap::TxParameters::IsValid() const
return
CalculateSpan
(
mMaxRetransmit
)
+
2
*
kDefaultMaxLatency
+
mAckTimeout
;
coap.cpp:1628
ot::Coap::TxParameters
ot::Coap::TxParameters::CalculateExchangeLifetime() const
uint32_t
TxParameters
::
CalculateMaxTransmitWait
(
void
)
const
{
return
CalculateSpan
(
mMaxRetransmit
+
1
)
;
}
coap.cpp:1631
ot::Coap::TxParameters
ot::Coap::TxParameters::CalculateMaxTransmitWait() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otCoapTxParameters::mMaxRetransmit
is read by 5 functions:
All items filtered out
otCoapTxParameters::mMaxRetransmit
ot::Coap::CoapBase::SendMessage()
ot::Coap::TxParameters::IsValid() const
ot::Coap::TxParameters::CalculateExchangeLifetime() const
ot::Coap::TxParameters::CalculateMaxTransmitWait() const
ot::Cli::Coap::Process()
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