<?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>regarding the one unit with advertisement only on channel 37 and the other unit scan on only channel 37</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74512/regarding-the-one-unit-with-advertisement-only-on-channel-37-and-the-other-unit-scan-on-only-channel-37</link><description>I am using the SDK 17.0.2 to make the advertisement and scanning for the two nrf52840 boards. One unit with extended advertisement only on channel 37 and the other unit scan on only channel 37. I am not sure whether that is correct or not, could you please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Apr 2021 07:33:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74512/regarding-the-one-unit-with-advertisement-only-on-channel-37-and-the-other-unit-scan-on-only-channel-37" /><item><title>RE: regarding the one unit with advertisement only on channel 37 and the other unit scan on only channel 37</title><link>https://devzone.nordicsemi.com/thread/307153?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 07:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4adc3c74-f70d-49ff-82d0-48e2a40630a1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Luan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When&amp;nbsp;starting scanning or advertisement you have the possibility to control a parameter called:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___s_t_r_u_c_t_u_r_e_s.html#gac2e09c679d84d885adbb28d0ab51a7ad"&gt;ble_gap_ch_mask_t&lt;/a&gt;&amp;nbsp;ble_gap_scan_params_t::&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/structble__gap__scan__params__t.html#a530709ea04787c9b8be6611d43416354"&gt;channel_mask&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Take note of what the documentation says about the ble_gap_ch_mask_t structure:&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Channel mask (40 bits).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Every channel is represented with a bit positioned as per channel index defined in Bluetooth Core Specification v5.0, Vol 6, Part B, Section 1.4.1. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;The LSB contained in array element 0 represents channel index 0, and bit 39 represents&amp;nbsp;channel index 39. If a bit is set to 1, the channel is not used.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Also, see my colleague Jared&amp;#39;s explanation in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/66359/configure-the-advertising-channel/271664#271664"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>