Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
CoAP transmission parameters. More...
#include <coap.h>
Data Fields | |
uint32_t | ack_timeout |
Initial ACK timeout. | |
uint16_t | ack_random_percent |
Set CoAP ack random factor. | |
uint16_t | coap_backoff_percent |
Set CoAP retry backoff factor. | |
uint8_t | max_retransmission |
Maximum number of retransmissions. | |
CoAP transmission parameters.
uint16_t coap_transmission_parameters::ack_random_percent |
Set CoAP ack random factor.
A value of 150 means a factor of 1.5. A value of 0 defaults to
CONFIG_COAP_ACK_RANDOM_PERCENT
. The value must be >= 100.
uint32_t coap_transmission_parameters::ack_timeout |
Initial ACK timeout.
Value is used as a base value to retry pending CoAP packets.
uint16_t coap_transmission_parameters::coap_backoff_percent |
Set CoAP retry backoff factor.
A value of 200 means a factor of 2.0.
uint8_t coap_transmission_parameters::max_retransmission |
Maximum number of retransmissions.