<?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>Mesh reliable message</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33993/mesh-reliable-message</link><description>Hi, i am working on a message model based on the simple_on_off model. I am able to send and receive a buffer via unicast or multicast. Now i am trying to develop a reliable &amp;quot;send&amp;quot; as implemented in the simple_on_off model. I don&amp;#39;t know how to stop my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 May 2018 08:47:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33993/mesh-reliable-message" /><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/132928?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 08:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:474723d1-236a-4041-b356-86e1e2d51511</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;Well i am trying to use a Nordic feature not to retransmit a message by my own, as in the light switch example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/132388?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 07:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff9c871a-a672-44cc-b336-5807fc70b7bf</guid><dc:creator>MaximeMylle</dc:creator><description>&lt;p&gt;If you want to retransmit a message i think youi&amp;#39;re looking in the wrong place, i think you should handle that in the get method on the server side, not in the aknowledge on the client side, I&amp;#39;m sorry if im wrong, I&amp;#39;m not the expert but I have some experience making custom models&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/132387?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 07:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3f2f953-69bd-4653-8947-2d454ee684a5</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;I did not touch the access_reliable.c file, just trying to understand what it does. I want an acknowledged message as implemented in access_reliable.c file.&lt;br /&gt;I do not want to &amp;quot;stop&amp;quot; it, it stops automatically after receiving the &amp;quot;ack&amp;quot;. My problem is that the retransmissions of the message don&amp;#39;t have the right content.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/132386?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 07:03:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78ae3512-3751-47a0-9657-e322c7544d7f</guid><dc:creator>MaximeMylle</dc:creator><description>&lt;p&gt;Hi damien, I just doont think you are supposed to look into acces_reliable.c. You should only make adjustments in your own model. If you dont want an acknowledged message, just simply send an unacknowleged message? why would you want to &amp;quot;stop&amp;quot; sending a reliable message, its just a one time call you make... I&amp;#39;d be happy to help you, maybe if you post a piece of code we could help you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/132381?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 06:24:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7777230d-3b29-451a-8bb9-58cf7939f0ef</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;Yes they are configured correctly, i would not be able to send a message if not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/132334?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 16:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:736de43d-fe8f-4117-80de-8092663b2f79</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;To start with you can check if you have configured keys and/or addresses correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131835?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 09:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dec6229-d67f-4a50-a919-7a6a93a36c9a</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;Did you manage to find something ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131437?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 07:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48f87357-c3e1-4af6-a592-f5114c2ae2e6</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;These functions are in access_reliable.c&lt;br /&gt;&lt;br /&gt;Yes, there is only one message, i was referring to the re-transmission of this message when there is no ack received. These re-transmissions are sent by&amp;nbsp;&lt;span&gt;&amp;quot;reliable_timer_cb&amp;quot; with the &amp;quot;access_model_publish&amp;quot; function.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131360?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 12:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:580e6933-cd7c-483c-8c2d-5bbd5b73edfd</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Where did you&amp;nbsp;find these functions access_reliable_rx_cb and reliable_timer_cb? I can&amp;#39;t find it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You mentions &amp;quot;the others messages sent, there should be only one reliable message at a time. That&amp;#39;s why we have the reliable_transfer_active flag.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131231?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 14:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d52df76d-0fb4-4498-b575-34b89247f218</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;&lt;span&gt;As i said in my second post:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;The calling function is access_reliable_rx_cb, now it works better, my problem was in the find_index function : the model handles were not the same. Now it stops sending after receiving the &amp;quot;ACK&amp;quot; message.&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;quot;Now i have an other doubt : the first reliable message sent is correct but if the server does not respond with an ACK, the others messages sent does not contain the right packet, they have the right size, but the content is different.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You have more details in my others replies.&lt;br /&gt;Thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131230?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 14:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a0afd7a-1d9c-41c5-b12e-ed2cf8b63038</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand what you mean by &amp;quot;I don&amp;#39;t know how to stop my model to send the reliable message&amp;quot;. You need to make sure the server are sending you an ACK and after that ACK is received on the client, the client will call the callback. Can you give me more details about your issue and clarify what exactly that you are observing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131228?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 14:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5163b9f7-b103-489c-aaa1-e40c683549f2</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;Could somebody help me please ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/131036?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 13:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dacb9824-5418-4f8d-92dd-08c4e713fdaf</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;I found this in the SDK for Mesh V2.0.0 release note:&lt;/p&gt;
&lt;h2&gt;BLE Mesh v2.0.0&lt;/h2&gt;
&lt;h3&gt;Known issues and limitations&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Publish re-transmission settings are not supported&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Does this answer to my issue ? (i am not sure of the meaning of &amp;quot;publish retransmission&amp;quot;)&lt;/p&gt;
&lt;p&gt;The V2.0.1 does not fix this issue, right ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have a date for a new release that would fix this problem, or a solution that i could implement ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/130925?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 07:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd562a7c-88d0-4aec-8d95-5b2e336204dc</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;I am still investigating... The message is stored at that lines in add_reliable_message in access_reliable.c:&lt;/p&gt;
&lt;p&gt;memcpy(&amp;amp;(m_reliable.pool[index].params), p_message, sizeof(access_reliable_t));&lt;/p&gt;
&lt;p&gt;If i call this line after the memcpy:&lt;br /&gt; __LOG_XB(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;add reliable cpy %u :&amp;quot;, m_reliable.pool[index].params.message.p_buffer, m_reliable.pool[index].params.message.length);&lt;/p&gt;
&lt;p&gt;I am able to print the correct message.&lt;/p&gt;
&lt;p&gt;Then the function &amp;quot;reliable_timer_cb&amp;quot; is the one that sends the others messages if no acks are received with the &amp;quot;access_model_publish&amp;quot; function.&lt;/p&gt;
&lt;p&gt;before the call of this function, in &amp;quot; else if (TIMER_OLDER_THAN(m_reliable.pool[i].next_timeout, timestamp))&amp;quot;, i try to print my message and it does not work:&lt;/p&gt;
&lt;p&gt;__LOG_XB(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;msg rel pub:&amp;quot;, m_reliable.pool[i].params.message.p_buffer, m_reliable.pool[i].params.message.length); &lt;/p&gt;
&lt;p&gt;My message was :&amp;nbsp;57686572652061726520796F75203F and it prints&amp;nbsp;01000000E7A80200D5A80200F5B502.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh reliable message</title><link>https://devzone.nordicsemi.com/thread/130804?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 12:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fef274ae-4c03-4c45-8e9e-c1b51b7b6c4d</guid><dc:creator>Damien Berger</dc:creator><description>&lt;p&gt;The calling function is access_reliable_rx_cb, now it works better, my problem was in the find_index function : the model handles were not the same. Now it stops sending after receiving the &amp;quot;ACK&amp;quot; message. &lt;br /&gt;Now i have an other doubt : the first reliable message sent is correct but if the server does not respond with an ACK, the others messages sent does not contain the right packet, they have the right size, but the content is different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>