<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transmission Parameters</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68559/transmission-parameters</link><description>Hello 
 I would like to modify my Transmission Parameters of my Thread network. According to the CoAP protocol ( https://tools.ietf.org/html/rfc7252#section-4.8 ), it is possible to modify the Transmission Parameters (ACK_TIMEOUT, ACK_RANDOM_FACTOR, MAX_RETRANSMIT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Nov 2020 14:33:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68559/transmission-parameters" /><item><title>RE: Transmission Parameters</title><link>https://devzone.nordicsemi.com/thread/281142?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 14:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34c191d-7bb1-405a-8fbe-6fe385426c87</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi QuentinD,&lt;/p&gt;
&lt;p&gt;According to Zephyr CoAP protocol latest implantation &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/net/lib/coap/coap.c"&gt;coap.c&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* TODO: random generated initial ACK timeout
 * ACK_TIMEOUT &amp;lt; INIT_ACK_TIMEOUT &amp;lt; ACK_TIMEOUT * ACK_RANDOM_FACTOR
 * where ACK_TIMEOUT = 2 and ACK_RANDOM_FACTOR = 1.5 by default
 * Ref: https://tools.ietf.org/html/rfc7252#section-4.8
 */
#define INIT_ACK_TIMEOUT	CONFIG_COAP_INIT_ACK_TIMEOUT_MS

static int32_t next_timeout(int32_t previous)
{
	switch (previous) {
	case INIT_ACK_TIMEOUT:
	case (INIT_ACK_TIMEOUT * 2):
	case (INIT_ACK_TIMEOUT * 4):
		return previous &amp;lt;&amp;lt; 1;
	case (INIT_ACK_TIMEOUT * 8):
		/* equal value is returned to end retransmit */
		return previous;
	}

	/* initial or unrecognized */
	return INIT_ACK_TIMEOUT;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The features to configure CoAP connection with&amp;nbsp;&lt;span&gt;ACK_RANDOM_FACTOR, MAX_RETRANSMIT has not been implemented.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>