<?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>How to config the retry count when send a  segmented message?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82698/how-to-config-the-retry-count-when-send-a-segmented-message</link><description>Dear friends, 
 My 52840 DK flashed a serial example( nrf5_SDK_for_Mesh_v5.0.0_src\examples\serial ) as a provisioner. 
 We use PyACI communicate with provisioner by Uart. 
 Now, we config the DEFAULT_FORCE_SEGMENTED = True , the message will be segmented</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Dec 2021 13:45:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82698/how-to-config-the-retry-count-when-send-a-segmented-message" /><item><title>RE: How to config the retry count when send a  segmented message?</title><link>https://devzone.nordicsemi.com/thread/343666?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 13:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace8d8dc-af4e-4069-87aa-114670014995</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Provisioning protocol has its own segmentation behaviour, which is independent of transport layer. Does this cause an issue for you? Could you provide a log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to config the retry count when send a  segmented message?</title><link>https://devzone.nordicsemi.com/thread/343524?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 02:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28814726-792b-46ed-a195-48f69455e00c</guid><dc:creator>oplinux</dc:creator><description>&lt;p&gt;Hi Mttrinh,&lt;/p&gt;
&lt;p&gt;Thanks for you prompt response.&lt;/p&gt;
&lt;p&gt;We encounter another question. If the provisioner sends several segmented control messages to a node in a short time.&amp;nbsp; eg.&amp;nbsp; Provisioner sends 3 messages in 600ms. the first message don&amp;#39;t retry to send out even though there is none ack returned. but the last message will retry to send until get the ack.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;a) Is there a message buffer or queue control this process?&lt;/p&gt;
&lt;p&gt;b) Why the first message didn&amp;#39;t retry to be sent out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to config the retry count when send a  segmented message?</title><link>https://devzone.nordicsemi.com/thread/343358?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 10:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d212942-6b69-4a11-bf0f-34925534a5da</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no specific API for this in python. The most correct way to change this would be to use &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/group__NRF__MESH__OPT.html" rel="noopener noreferrer" target="_blank"&gt;nrf_mesh_opt_set&lt;/a&gt; function and NRF_MESH_OPT_TRS_SAR_TX_RETRIES option id (&lt;a href="https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blame/master/mesh/core/src/transport.c#L2117-L2123"&gt;https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blame/master/mesh/core/src/transport.c#L2117-L2123&lt;/a&gt;). Even though it says DEPRECATED, there is no specific mesh_opt-function for this case.&lt;/p&gt;
&lt;p&gt;The default value could be overwritten here: &lt;a href="https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/master/mesh/core/include/transport.h#L79"&gt;https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/master/mesh/core/include/transport.h#L79&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>