<?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>Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85340/time-of-the-advertisement-and-scan</link><description>Hi Team, 
 I have a few questions about the transceive process of BLE Mesh5.0 based on nRF52840 chips. 
 1. Can they do advertisement and scan operations simultaneously? 
 2. I know the advertisement interval, but I don&amp;#39;t know how long the advertisement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Mar 2022 11:40:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85340/time-of-the-advertisement-and-scan" /><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/360270?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 11:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0a8a664-718e-4bc0-b998-f5fba5ad54d3</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Good afternoon!&lt;/p&gt;
&lt;p&gt;It sends the same 3 times, to open up for the receiving happening on either of the three channels.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/360178?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 07:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:632e8b72-f79d-4763-b31b-1cadac6479ed</guid><dc:creator>lgs</dc:creator><description>&lt;p&gt;Morning Elfving,&lt;/p&gt;
&lt;p&gt;Do three channels mean one packet need send three times?&lt;/p&gt;
&lt;p&gt;Gaosheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/359308?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 09:10:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9763cfdd-d384-42a6-afb3-832362d466c5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Gaosheng,&lt;/p&gt;
&lt;p&gt;Of course! Every &lt;strong&gt;advertising interval&lt;/strong&gt; (20ms here) an advertising packet is being sent out on channel 37,38,39. The next&amp;nbsp;&lt;span&gt;&lt;strong&gt;advertising interval&lt;/strong&gt; this repeats with the next packet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the Scanner side, it scans for messages on a frequency every &lt;strong&gt;scan window&lt;/strong&gt;(25ms here). After &lt;strong&gt;scan interval&lt;/strong&gt;(50ms here) it scans again on the next frequency. And so forth.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For&amp;nbsp; a better &lt;span style="font-size:12px;"&gt;explanation&lt;/span&gt;&amp;nbsp;however, &lt;a href="https://youtu.be/CJcLabp42b4?t=401"&gt;take a look at this youtube video about it.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/359160?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 13:51:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df2cc705-d896-46dd-b5e8-f95b3f55b246</guid><dc:creator>lgs</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/85340/time-of-the-advertisement-and-scan/356672#356672"]&lt;p&gt;Here you can see the relationship between advertising packets and scan window and interval:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1532705353338v1.png" style="cursor:zoom-in;" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Could you explain more about the diagram?&lt;/p&gt;
&lt;p&gt;With best regards,&lt;/p&gt;
&lt;p&gt;Gaosheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/358417?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 12:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3abe9761-0bcc-478e-b3f1-88257acc4254</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Not long, though it depends on the size of it. For a&amp;nbsp;package of 31 bytes (the maximum) it would approximately be half a ms. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42595/how-long-does-it-take-to-send-a-mesh-message/166034#166034"&gt;I found this previous response about this that explains it rather well.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/358197?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 12:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13292578-e145-4afa-b179-7bdce9fb24ca</guid><dc:creator>lgs</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/85340/time-of-the-advertisement-and-scan/358193#358193"]How long it takes sending the advertisements themselves in other words? Advertisement window is not an expression I am familiar with[/quote]
&lt;p&gt;Precisely, the time is spent on sending advertisements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/358193?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 12:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6577e969-cf60-4e55-bea9-f937cf4cab7c</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again!&lt;/p&gt;
[quote user="lgs"]&lt;p&gt;1. Yes I want to know the length of the advertisement window. I want to know how long it will take.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7824.pastedimage1647345785083v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How long it takes sending the advertisements themselves in other words? Advertisement window is not an expression I am familiar with&lt;/p&gt;
[quote user="lgs"]&lt;p&gt;2. Why set the CHANNEL_NUM more than one? is it not enough with one channel? are the channels meaning the different frequencies?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, these are known as&amp;nbsp;channels and refer to different frequencies. 37, 38 and 39 (2402&lt;span&gt;Mhz&lt;/span&gt;, 2426&lt;span&gt;Mhz&lt;/span&gt; &amp;amp; 2480Mhz) are used for advertising as advertising is bound to happen a lot, and these channels have the least overlap with WiFi. They use multiple channels for redundancy and to allow more traffic.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/357890?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 09:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2b2a708-c85a-4256-a744-9c366e7fec4d</guid><dc:creator>lgs</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/85340/time-of-the-advertisement-and-scan/356817#356817"]I am not sure if I understand. Are you wondering about the length of advertisement window?[/quote]
&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;1. Yes I want to know the length of the advertisement window. I want to know how long it will take.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. Why set the CHANNEL_NUM more than one? is it not enough with one channel? are the channels meaning the different frequencies?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1647251348973v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With best regards,&lt;/p&gt;
&lt;p&gt;Gaosheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356817?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 10:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ef2bc1-6b9b-46f2-bcb3-a799d9c603c1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="lgs"]Could you provide which doc you are referenced?[/quote]
&lt;p&gt;Yeah I was referring to Mesh Profile 1.0.1, &lt;a href="https://www.bluetooth.com/specifications/specs/mesh-profile-1-0-1/"&gt;you can find it here.&lt;/a&gt;&lt;/p&gt;
[quote user="lgs"]1.&amp;nbsp;I mean the advertisement window.&amp;nbsp; Have the advertisement interval likewise?&amp;nbsp;[/quote]
&lt;p&gt;I am not sure if I understand. Are you wondering about the length of advertisement window?&lt;/p&gt;
[quote user="lgs"]2.&amp;nbsp; Is the alternating appear between advertisement and listening?[/quote]
&lt;p&gt;Again I am not completely sure what you are asking, but it does alternate between advertisement and listening. Do you want me to explain the illustration that describes these differences further?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356724?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 22:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcee9368-5909-4041-9ffb-1c9176250c09</guid><dc:creator>lgs</dc:creator><description>[quote userid="103347" url="~/f/nordic-q-a/85340/time-of-the-advertisement-and-scan/356672#356672"]No, which is why they send messages rather infrequently. You can read more about this in section&amp;nbsp;3.7.4.1. A node should send less than 100 messages in a moving 10-second window, so the message rate is ~10Hz.[/quote]
&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Could you provide which doc you are referenced?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Gaosheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356678?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 15:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:578eee7a-a568-400c-a143-08babadfb0d4</guid><dc:creator>lgs</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;I mean the advertisement window.&amp;nbsp; Have the advertisement interval likewise?&amp;nbsp;&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/85340/time-of-the-advertisement-and-scan/356672#356672"]I am a little uncertain about what you are referring to here. The node only advertise when it has something to advertise - either data to send, relay or re-transmit.[/quote]
&lt;p&gt;2.&amp;nbsp; Is the alternating appear between advertisement and listening?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356672?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 15:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d12ffa-68db-491a-b3e2-3366cd596695</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Gaosheng!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;1. Can they do advertisement and scan operations simultaneously?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;No, which is why they send messages rather infrequently. You can read more about this in section&amp;nbsp;3.7.4.1. A node should send less than 100 messages in a moving 10-second window, so the message rate is ~10Hz.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;2. I know the advertisement interval, but I don&amp;#39;t know how long the advertisement process lasts?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am a little uncertain about what you are referring to here. The node only advertise when it has something to advertise - either data to send, relay or re-transmit.&lt;/p&gt;
[quote user=""]&lt;p&gt;3. What&amp;#39;s the difference between scan interval and can window?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here you can see the relationship between advertising packets and scan window and interval:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1532705353338v1.png" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356534?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 10:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:395a21b2-916e-4ebc-8c1e-f87d457a1fa3</guid><dc:creator>lgs</dc:creator><description>&lt;p&gt;I hope you can solve the case ASAP&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356497?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 08:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9c03ef-3fd6-4f6b-b6d5-dfb793e2385b</guid><dc:creator>lgs</dc:creator><description>&lt;p&gt;Yes, I am looking forward to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Time of the advertisement and scan</title><link>https://devzone.nordicsemi.com/thread/356102?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 15:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1c4cb28-67a1-4833-94e1-5ea0dda739c4</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>