Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coap_transmission_parameters Struct Reference

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.
 

Detailed Description

CoAP transmission parameters.

Field Documentation

◆ ack_random_percent

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.

◆ ack_timeout

uint32_t coap_transmission_parameters::ack_timeout

Initial ACK timeout.

Value is used as a base value to retry pending CoAP packets.

◆ coap_backoff_percent

uint16_t coap_transmission_parameters::coap_backoff_percent

Set CoAP retry backoff factor.

A value of 200 means a factor of 2.0.

◆ max_retransmission

uint8_t coap_transmission_parameters::max_retransmission

Maximum number of retransmissions.


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