libcoap  4.1.2
Macros
Rate Control

The transmission parameters for CoAP rate control ("Congestion Control" in stream-oriented protocols) are defined in https://tools.ietf.org/html/rfc7252#section-4.8. More...

Macros

#define COAP_DEFAULT_ACK_TIMEOUT   2 /* see RFC 7252, Section 4.8 */
 Number of seconds when to expect an ACK or a response to an outstanding CON message. More...
 
#define COAP_DEFAULT_ACK_RANDOM_FACTOR   1.5 /* see RFC 7252, Section 4.8 */
 A factor that is used to randomize the wait time before a message is retransmitted to prevent synchronization effects. More...
 
#define COAP_DEFAULT_MAX_RETRANSMIT   4 /* see RFC 7252, Section 4.8 */
 Number of message retransmissions before message sending is stopped. More...
 
#define COAP_DEFAULT_NSTART   1 /* see RFC 7252, Section 4.8 */
 The number of simultaneous outstanding interactions that a client maintains to a given server. More...
 

Detailed Description

The transmission parameters for CoAP rate control ("Congestion Control" in stream-oriented protocols) are defined in https://tools.ietf.org/html/rfc7252#section-4.8.

Macro Definition Documentation

§ COAP_DEFAULT_ACK_RANDOM_FACTOR

#define COAP_DEFAULT_ACK_RANDOM_FACTOR   1.5 /* see RFC 7252, Section 4.8 */

A factor that is used to randomize the wait time before a message is retransmitted to prevent synchronization effects.

Definition at line 70 of file net.c.

§ COAP_DEFAULT_ACK_TIMEOUT

#define COAP_DEFAULT_ACK_TIMEOUT   2 /* see RFC 7252, Section 4.8 */

Number of seconds when to expect an ACK or a response to an outstanding CON message.

Definition at line 62 of file net.c.

§ COAP_DEFAULT_MAX_RETRANSMIT

#define COAP_DEFAULT_MAX_RETRANSMIT   4 /* see RFC 7252, Section 4.8 */

Number of message retransmissions before message sending is stopped.

Definition at line 77 of file net.c.

§ COAP_DEFAULT_NSTART

#define COAP_DEFAULT_NSTART   1 /* see RFC 7252, Section 4.8 */

The number of simultaneous outstanding interactions that a client maintains to a given server.

Definition at line 85 of file net.c.