<?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>Provisioning from Android Device fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69380/provisioning-from-android-device-fails</link><description>Hi, 
 Setup details : am using Segger Embedded Studio V:4.50 and NRF52832 custom boards for development 
 Mesh SDK: v 4.0.0 &amp;amp; BLE SDK: v 16.0.0 
 
 Query : I am using light_switch_client and light_switch_server codes in 2 nodes respectively and sending</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Dec 2020 16:47:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69380/provisioning-from-android-device-fails" /><item><title>RE: Provisioning from Android Device fails</title><link>https://devzone.nordicsemi.com/thread/284869?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 16:47:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a557834f-6f28-4a69-9acb-fcfbde3b032a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Bluetooth mesh models are usually designed so that messages are &amp;quot;idempotent&amp;quot;. What it means, is that the number of times that a message arrive do not change the outcome (as long as it is received at least once.) For instance the &amp;quot;on&amp;quot; message, or the &amp;quot;off&amp;quot; message, is idempotent. On the other hand, if you have a &amp;quot;toggle&amp;quot; message, and send it two times, the resulting state can&amp;nbsp; be either &amp;quot;on&amp;quot; or &amp;quot;off&amp;quot; depending on how many times the receiving node got the message.&lt;/p&gt;
&lt;p&gt;When you get the same message multiple times, it does not matter if it is an &amp;quot;on&amp;quot; message. But if for instance you are sending a long stream of characters in several strings, then it does matter if some of those strings are received multiple times.&lt;/p&gt;
&lt;p&gt;There are several settings in Bluetooth mesh for resending messages. Most of those are part of the transport layers, where repetitions are automatically discarded. However, there is one possible additional setting for repeating messages, which is to repeat from the application level. We use this in the light switch client example in nRF5 SDK for Mesh, where in main.c we define APP_UNACK_MSG_REPEAT_COUNT to 2, which is used for sending unacknowledged messages twice when pressing button 4 in that example. There, two messages are sent with the same contents, and they will be treated as two unique messages throughout the mesh network. May it be that you use either a copy of that code, or something similar, in your application?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning from Android Device fails</title><link>https://devzone.nordicsemi.com/thread/284571?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 14:32:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13943405-283f-4a7b-ab92-9a8212b8919b</guid><dc:creator>Gecko</dc:creator><description>&lt;p&gt;Hi tesc,&lt;/p&gt;
&lt;p&gt;1.strings which are meant to be sent once are getting sent twice&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.yes. Showing same behaviour on DK as well&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Android version : tried on 2.4.3, 2.4.2, 2.4.1 ( not working using any of it )&lt;/p&gt;
&lt;p&gt;iOS version : 2.2.3 (working with this )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Provisioning from Android Device fails</title><link>https://devzone.nordicsemi.com/thread/284568?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 14:27:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8422a5d7-640f-43cd-beed-be2e4a5b1f34</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you get any error messages?&lt;/p&gt;
&lt;p&gt;You write that the strings don&amp;#39;t &amp;quot;get sent properly&amp;quot;. With that, do you mean that they do not get sent at all, or that only some strings gets sent, or some other behavior? Please elaborate.&lt;/p&gt;
&lt;p&gt;Are you able to reproduce the same behavior with nRF52832 DKs as well, not only on your custom hardware?&lt;/p&gt;
&lt;p&gt;What versions of nRF Mesh app are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>