nRF5 SDK for Thread and Zigbee v4.1.0
Data Fields
otCoapTxParameters Struct Reference

#include <coap.h>

Data Fields

uint32_t mAckTimeout
 
uint8_t mAckRandomFactorNumerator
 
uint8_t mAckRandomFactorDenominator
 
uint8_t mMaxRetransmit
 

Detailed Description

This structure represents the CoAP transmission parameters.

Field Documentation

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).

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).

uint32_t otCoapTxParameters::mAckTimeout

Minimum spacing before first retransmission when ACK is not received, in milliseconds (RFC7252 default value is 2000ms).

uint8_t otCoapTxParameters::mMaxRetransmit

Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated