<?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>How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38193/how-to-test-one-channel-advertising</link><description>Dear Nordic 
 
 how i test one channel advertising? 
 I change inside advertising_init() 
 ble_gap_adv_params_t m_adv_params; 
 m_adv_params.channel_mask[4] =0x60; // advertising only in channel 39 
 Is it right way or anything additional settings needed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Sep 2018 11:57:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38193/how-to-test-one-channel-advertising" /><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148398?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 11:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25e6064b-b381-42e9-b3d8-3011629de6e2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Maybe you have several devices advertising, because I can confirm that:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;I have now tried ble_app_beacon example, with only one addition in advertising_init():&lt;/span&gt;&lt;br /&gt;&lt;span&gt;m_adv_params.channel_mask[4] = 0x60;&amp;nbsp;&lt;br /&gt;I can confirm it only advertise on channel 39 using an Ellisys Bluetooth sniffer.&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Can you try the same?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148363?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 09:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49a9391c-1671-4ff6-9ae1-5e41efbd3ecf</guid><dc:creator>Alan Ajit</dc:creator><description>&lt;p&gt;printed the channel index scanning happens properly as per setting but advertising is not properly done in one channel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148357?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 08:53:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce0db61c-3b05-46ce-a400-23a683014a17</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Any difference if using&amp;nbsp;extended = 0? Are you printing out&amp;nbsp;p_adv_report-&amp;gt;ch_index?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148330?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 07:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5facdc59-991d-41fd-b148-c5e691533214</guid><dc:creator>Alan Ajit</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;I set 39 channel&amp;nbsp; for Advertising and in scanner 37 and 38 channel for scanning&lt;/p&gt;
&lt;p&gt;Modification in Advertiser:-&lt;/p&gt;
&lt;p&gt;&lt;span&gt;m_adv_params.channel_mask[4] = 0x60; (for 39 channel)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Modification in Scanner:-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;static ble_gap_scan_params_t const m_scan_params =&lt;br /&gt;{&lt;br /&gt;.extended = 1,&lt;br /&gt;.active = 1,&lt;br /&gt;.interval = SCAN_INTERVAL,&lt;br /&gt;.window = SCAN_WINDOW,&lt;br /&gt;.timeout = SCAN_DURATION,&lt;br /&gt;.scan_phys = BLE_GAP_PHY_1MBPS,&lt;br /&gt;.filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,&lt;br /&gt;.channel_mask[4] =0x80,&lt;br /&gt;};&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;for 37 and 38 channel scanning&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but scanner gets Advertising is it any wrong in my procedure?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148323?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 07:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53f0c6d8-d992-42c7-81b5-013293a6394a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Seems they always change the parameters..&lt;/p&gt;
&lt;p&gt;I have now tried ble_app_beacon example, with only one addition in advertising_init():&lt;br /&gt;m_adv_params.channel_mask[4] = 0x60;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can confirm it only advertise on channel 39 using an Ellisys Bluetooth sniffer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148305?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 05:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1823c74a-de6a-4d76-a10b-f815ab8380c9</guid><dc:creator>Alan Ajit</dc:creator><description>&lt;p&gt;Thank you for reply I am using SDK 15&lt;/p&gt;
&lt;p&gt;and i tried to like you said above in&amp;nbsp;&lt;span&gt;advertising_init() but its show error that&amp;#39;s why I am using (m_adv_params.channel_mask[4] =0x60;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but advertising in one channel is not working&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can you help how to implement this in my application?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148233?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 14:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddcc35e1-1202-40fc-90b6-251ab539627f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you init as it is intended by:&lt;/p&gt;
&lt;p&gt;m_adv_params.channel_mask.ch_37_off = 1;&lt;br /&gt;m_adv_params.channel_mask.ch_38_off = 1;&lt;/p&gt;
&lt;p&gt;Instead of:&lt;/p&gt;
&lt;p&gt;m_adv_params.channel_mask[4] =0x60;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/148218?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 13:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ec15ab-eb5b-47d4-bdc1-58eac0e44478</guid><dc:creator>Alan Ajit</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;I tested this with two device one is act as receiver and other is for advertising&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Advertiser Side:-&lt;/p&gt;
&lt;p&gt;I change inside advertising_init()&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;ble_gap_adv_params_t m_adv_params;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;m_adv_params.channel_mask[4] =0x60;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// advertising only in channel 39&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and also i changed Receiver side:-&lt;/p&gt;
&lt;p&gt;static ble_gap_scan_params_t const m_scan_params =&lt;br /&gt;{&lt;br /&gt; .extended = 1,&lt;br /&gt; .active = 1,&lt;br /&gt; .interval = SCAN_INTERVAL,&lt;br /&gt; .window = SCAN_WINDOW,&lt;br /&gt; .timeout = SCAN_DURATION,&lt;br /&gt; .scan_phys = BLE_GAP_PHY_1MBPS,&lt;br /&gt; .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,&lt;br /&gt; .channel_mask[4] =0x80,&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;this is for scanning channel 38 and 37&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here i get the advertising packets in 38 and 37 channel&lt;/p&gt;
&lt;p&gt;is it any wrong in my procedure?&lt;/p&gt;
&lt;p&gt;set Advertising ----&amp;gt;39 channel&lt;/p&gt;
&lt;p&gt;set Scanning-----&amp;gt;37 and 38 channel&lt;/p&gt;
&lt;p&gt;but i get advertising in 37 and 38 channels&lt;/p&gt;
&lt;p&gt;can you help me to solve this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/147903?ContentTypeID=1</link><pubDate>Sun, 09 Sep 2018 18:23:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed2cebe5-3e30-4b16-93fa-e2749da30904</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The best is if you have access to a spectrum analyzer then you can measure the actual output.&lt;/p&gt;
&lt;p&gt;Alternatively if you measure the current consumption, you should also see that the average current consumption drops a bit when using 1 instead of 3 channel.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/147459?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 04:46:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6d297f5-274f-4597-82e0-b7808b87b298</guid><dc:creator>Alan Ajit</dc:creator><description>&lt;p&gt;Thanks for replay i see that&lt;/p&gt;
&lt;p&gt;based on that i change like above&amp;nbsp;&lt;/p&gt;
&lt;p&gt;everything works fine but i don&amp;#39;t know BLE advertising is in one channel&amp;nbsp;&lt;/p&gt;
&lt;p&gt;is it my step above mentioned is right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;is it any way to test to check the channel of advertising?&lt;/p&gt;
&lt;p&gt;can you help me to solve this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to test one channel Advertising?</title><link>https://devzone.nordicsemi.com/thread/147408?ContentTypeID=1</link><pubDate>Wed, 05 Sep 2018 14:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5d5965-8081-4392-9439-88e9fb1f4821</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Check out:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11401/advertising-on-a-single-channel-with-s132/42970#42970"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/11401/advertising-on-a-single-channel-with-s132/42970#42970&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Old thread, but still valid.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>