<?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>nRF Connect SDK Mesh Publishes inconsistent number of packets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60996/nrf-connect-sdk-mesh-publishes-inconsistent-number-of-packets</link><description>Using nRF Connect SDK v1.2.0 on nRF52840 DK (PCA10056) 
 We are evaluating the nRF Connect SDK on the 52840 until our 5340 PDK arrives. While running the mesh light example (nrf/samples/bluetooth/mesh/light) I&amp;#39;m noticing the message transmit count should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 May 2020 14:21:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60996/nrf-connect-sdk-mesh-publishes-inconsistent-number-of-packets" /><item><title>RE: nRF Connect SDK Mesh Publishes inconsistent number of packets</title><link>https://devzone.nordicsemi.com/thread/249776?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 14:21:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb7af233-4efb-40ac-bf72-d60124865a82</guid><dc:creator>pquevedo</dc:creator><description>&lt;p&gt;I set it up for a periodic transmission, Other than that no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I reached out to the zephyr community via slack and a developer there gave me this response:&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-US"&gt;zephyr-developer: Hey, the advertising count mechanism is super inaccurate, I&amp;#39;m afraid.&lt;/span&gt;&amp;nbsp;As you point out, it&amp;#39;s just sleeping, and trying to account for the worst case. In the controller, the advertisements always get a randomized delay of 0-10ms added to their interval (spec requirement). Additionally, it&amp;#39;ll account for 30ms of blocking events before the advertisements are able to start. This is the best we can do with HCI without extensions or extended advertising. The latter was recently added to the host API though, so it should be possible to improve the performance and accuracy significantly by changing to that API now, as it includes a &amp;quot;count&amp;quot; parameter&lt;/p&gt;
&lt;p&gt;pquevedo: Thanks for the quick reply, is the move to the extended advertising api something in the works? Not sure if the Zephyr BLE controller supports that . Any idea about the nordic proprietary controller?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zephyr-developer: No one&amp;#39;s working on the mesh part of it at the moment, I think. There&amp;#39;s no proper support for it in the zephyr controller yet, but the nordic controller has it. Personally, I&amp;#39;d like to wait until the zephyr controller has it before I work on it in the mesh. Nordic&amp;#39;s proprietary controller has a couple of other issues to iron out before it&amp;#39;s suitable for mesh&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What I&amp;#39;ve taken away from this is that the architectural choice to have the BLE Mesh Stack sit atop the BLE Host controller means its constrained to the HCI interface for communications. Therefore it doesn&amp;#39;t use the timeslot/MPSL module to achieve the BLE Mesh timing performance currently offered by the nRF5_Mesh_SDK. I guess I&amp;#39;ll wait to see if that changes in the future but this seems like a huge obstacle in adopting the nRF5340. Please correct me if i&amp;#39;m wrong as I really would like to move to that hardware platform at some point.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;margin-left:.75in;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK Mesh Publishes inconsistent number of packets</title><link>https://devzone.nordicsemi.com/thread/249659?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 10:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28beb4d8-f2d0-4dfa-ad1b-84bc7d5959d0</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;That sounds strange. The node should only publish the message as many times as defined in by the number of retransmits.&lt;/p&gt;
&lt;p&gt;I will try to test the example and see if I can reproduce this.&lt;/p&gt;
&lt;p&gt;Have you made any changes to the example?&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>