otCoapTxParameters
#include <coap.h>
Represents the CoAP transmission parameters.
Summary
Public attributes |
|
---|---|
mAckRandomFactorDenominator
|
uint8_t
Denominator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
|
mAckRandomFactorNumerator
|
uint8_t
Numerator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
|
mAckTimeout
|
uint32_t
Minimum spacing before first retransmission when ACK is not received, in milliseconds (RFC7252 default value is 2000ms).
|
mMaxRetransmit
|
uint8_t
Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).
|
Public attributes
mAckRandomFactorDenominator
uint8_t otCoapTxParameters::mAckRandomFactorDenominator
Denominator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
mAckRandomFactorNumerator
uint8_t otCoapTxParameters::mAckRandomFactorNumerator
Numerator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
mAckTimeout
uint32_t otCoapTxParameters::mAckTimeout
Minimum spacing before first retransmission when ACK is not received, in milliseconds (RFC7252 default value is 2000ms).
mMaxRetransmit
uint8_t otCoapTxParameters::mMaxRetransmit
Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.