<?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>Acknowledged message status not received in light switch sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42115/acknowledged-message-status-not-received-in-light-switch-sample</link><description>Hi, 
 
 I&amp;#39;m just getting started with nRF mesh (sdk V3.00) and I&amp;#39;ve built the light switch sample successfully and deployed it on three nRF52832 development boards but provision keeps failing - if I provision from the mobile app it just stops at about</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Jan 2019 14:26:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42115/acknowledged-message-status-not-received-in-light-switch-sample" /><item><title>RE: Acknowledged message status not received in light switch sample</title><link>https://devzone.nordicsemi.com/thread/163986?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 14:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f792cf-248f-4d84-a060-5600af5b8ce1</guid><dc:creator>The Gribble</dc:creator><description>&lt;p&gt;That was exactly it, thank you!&lt;/p&gt;
&lt;p&gt;You&amp;#39;re a star, I could have stared at that for ever!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Ben.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Acknowledged message status not received in light switch sample</title><link>https://devzone.nordicsemi.com/thread/163962?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 13:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:054c227f-c1e5-453a-b1c7-9705e9eb5769</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Ben,&lt;/p&gt;
&lt;p&gt;I see. I think (not 100% sure) that the Fanstel BT832X boards doesn&amp;#39;t have an LFXTAL, which is optional. However, all of the BLE and Mesh examples from our SDKs (which are tailored for the Nordic Semiconductor Development Kits (DKs) are configured to use an external LFXTAL. Go to the sdk_config.h file, and search for &amp;quot;NRF_SDH_CLOCK_LF_SRC&amp;quot;.&lt;/p&gt;
&lt;p&gt;In the provisioner example it should be found around line 12220 - 12263.&lt;/p&gt;
&lt;p&gt;Use the following settings to use the internal RC oscillator instead of an external LFXTAL.&lt;/p&gt;
&lt;p&gt;NRF_SDH_CLOCK_LF_SRC 0&lt;br /&gt;NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;br /&gt;NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2&lt;br /&gt;NRF_SDH_CLOCK_LF_ACCURACY 1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that you need to change the sdk_config.h files for all the projects (it is not a common file for all the projects, even though the name may suggest so).&lt;/p&gt;
&lt;p&gt;The LFCLK settings are a bit hard to discover if you are not aware of them, as the software has no way of noticing that there is no physical XTAL.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try changing these settings, and see if that helps.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Acknowledged message status not received in light switch sample</title><link>https://devzone.nordicsemi.com/thread/163957?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 13:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c46b684-6787-4196-b5f9-96edea285012</guid><dc:creator>The Gribble</dc:creator><description>&lt;p&gt;Hi again Edvin,&lt;/p&gt;
&lt;p&gt;Looking into it further the BT832X module seems to be the root of the problem - if I run a single PCA10040 board with the light switch client program then I can reliably provision it using the mobile app, while the BT832X version fails every time at 75%, with a Vector Catch if it&amp;#39;s in the debugger.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve got our own PCB with a BT832X module on it and that&amp;#39;s failing in exactly the same way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll&amp;nbsp;try the Fanstel technical support with this too, but have you got any ideas for what the problem might be? I kind of assumed that they should be pretty much identical.&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;Ben.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Acknowledged message status not received in light switch sample</title><link>https://devzone.nordicsemi.com/thread/163943?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 12:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bd387aa-e77f-42a2-a02d-9502706d1a7d</guid><dc:creator>The Gribble</dc:creator><description>&lt;p&gt;Hi Edvin, thanks for getting back to me!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been using Segger to erase the chips before programming (erase all from the target menu) but I&amp;#39;ll try doing it from the command line in case it helps. Interesting result trying to check the server logs - I&amp;#39;m getting a vector catch in the server code at instruction 08C8. I&amp;#39;m afraid I&amp;#39;m a bit new to ARM development, is there a simple way to see where the catch has occurred?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the log from the client before the catch, anyway:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;t:          0&amp;gt;, main.c,  321, ----- BLE Mesh Light Switch Client Demo -----
&amp;lt;t:      11756&amp;gt;, main.c,  288, Initializing and adding models
&amp;lt;t:      16626&amp;gt;, main.c,  361, Device UUID : 0059CCAA000000006E678ADCD0173719&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The only other thing I can think of that might be significant is that two of the boards I&amp;#39;m using are &lt;a href="https://www.fanstel.com/buy/ev-bt832x-evaluation-board-for-bt832x-the-longest-range-bluetooth-5-module" rel="noopener noreferrer" target="_blank"&gt;Fanstel EV-BT832X boards&lt;/a&gt; rather than the nordic ones, they&amp;#39;re using the same &lt;span&gt;nRF52832&amp;nbsp;&lt;/span&gt;chip but could that make a difference?&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;Ben.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Acknowledged message status not received in light switch sample</title><link>https://devzone.nordicsemi.com/thread/163917?ContentTypeID=1</link><pubDate>Fri, 04 Jan 2019 09:58:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b76ee833-8f12-4098-9384-8e52d0b36a20</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Ben,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just tested with SDK for Mesh v3.0.0, and I couldn&amp;#39;t reproduce your issue.&lt;/p&gt;
&lt;p&gt;The issue may be that you have some old data stored in the flash of the nrf on the device that you are trying to provision, causing some issues with the provisioning. You should check the log output on the device that you are trying to provision as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please make sure that you:&lt;/p&gt;
&lt;p&gt;1 - erase the flash of the nrf before programming it.&lt;/p&gt;
&lt;p&gt;2 - program the correct pojects to all your development boards. Make&amp;nbsp;sure you use the S132 project and softdevice, and not the S140 ones.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;use e.g. Nordic Command line tools, open a CMD terminal and type &amp;quot;nrfjprog -e&amp;quot; before programming the DKs. Let me know if you are having problems doing this. You can alternatively use nRFgo Studio to erase the chips.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suppose that you use Segger Embedded Studio, and if you do, Segger should upload the correct softdevice for you. If you use nrfjprog to program the devices, make sure that you program the correct version of the softdevice (S132 v 6.1.0).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it still doesn&amp;#39;t work, can you check the log for the client or server? (the one that you are trying to provision).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>