<?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>Radio occupation timings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114911/radio-occupation-timings</link><description>Hi NordicTeam 
 i am working with the Mesh Dimming server example out of the SDK MESH 5.0.0. 
 While investigation the Packet loss in my prevous ticket i was wondering if you have a diargam or explaination for the Magic Numbers you set in the different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2024 20:13:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114911/radio-occupation-timings" /><item><title>RE: Radio occupation timings</title><link>https://devzone.nordicsemi.com/thread/503464?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 20:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f198dbe-38b0-4140-bd85-cea922b6f2c8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that the nRF5 SDK for Mesh is in maintained mode. We encourage users to transition to nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;MESH_GATT_PROXY_NETWORK_ID_ADV_INT_MS 2000&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;Arbitrary choosen value as a compromise between power consumption and usability (being able to connect to the device). This value can be big as Network ID advertisements are not limited in time unlike Node ID advertisements (see below).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;MESH_GATT_PROXY_NODE_IDENTITY_ADV_INT_MS 200&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;This adv interval is short on purpose as the duration of the Node ID advertisements are limited (see the next option).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;MESH_GATT_PROXY_NODE_IDENTITY_DURATION_MS 60000&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;Duration of Node ID advertisements. This is maximum and default value defined by spec (see section 7.2.2.2.3 of MshPRTv1.1).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;BEARER_ADV_INT_DEFAULT_MS 20&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;Lowest possible adv interval defined in&amp;nbsp; the Bluetooth Core Specification Version 5+, Volume 6, Part B, in Section 4.4.2.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;BEARER_SCAN_INT_DEFAULT_MS 2000&lt;br /&gt; BEARER_SCAN_WINDOW_DEFAULT_MS 2000&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;These parameters basically define how long (BEARER_SCAN_WINDOW_DEFAULT_MS) the scanner will stay on a particular channel and how often (BEARER_SCAN_INT_DEFAULT_MS) the scanner will jump from one to another channel. They must be equal to reach 100% scanning duty cycle. There are many reasons why these values should be small. In short, this guarantees a higher probability of capturing messages. Higher values can cause poor performance due to high risk of collision of advertisemts. With shorter values a device can quicker switch to a next channel and catch retransmission of a packet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Advertises all 2s the Gatt service for mobile device&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;Yes&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;interval of 2s with window length of 2s? so far they would assume there is no time left for other advertisements&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;There will always be a chance for advertisements (for both kind of advs: for mesh advs and for GATT advs). The rest available radio time will be occupied by the scanner.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>