<?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>BSP_INDICATE_SCANNING - period 2 s or 4.4 s</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81317/bsp_indicate_scanning---period-2-s-or-4-4-s</link><description>In the description of example BLE Heart Rate Collector, it says that it can indicate state BSP_INDICATE_SCANNING and state BSP_INDICATE_CONNECTED. 
 In the description of BSP indication states for PCA10040 and PCA10056 it says that BSP_INDICATE_SCANNING</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Nov 2021 09:44:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81317/bsp_indicate_scanning---period-2-s-or-4-4-s" /><item><title>RE: BSP_INDICATE_SCANNING - period 2 s or 4.4 s</title><link>https://devzone.nordicsemi.com/thread/337638?ContentTypeID=1</link><pubDate>Fri, 05 Nov 2021 09:44:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d17c067d-9df5-429f-88d4-7f6b02ca6523</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Thank you for the thorough explanation and investigation. There seems to have been made some simplifications in bsp_led_indication()&amp;nbsp; by combining BSP_INDICATE_SCANNING and BSP_INDICATE_ADVERTISING, but this has not been taken into consideration in&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;next_delay = indicate ==&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;BSP_INDICATE_ADVERTISING ? ADVERTISING_LED_OFF_INTERVAL :&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ADVERTISING_SLOW_LED_OFF_INTERVAL;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This will cause the INDICATE_SCANNING to always go to &amp;quot;slow&amp;quot; mode&amp;nbsp; which is 4.4 seconds.&lt;/p&gt;
&lt;p&gt;I have reported this issue internally, and we&amp;#39;ll look at whether we will update the documentation or SDK to reflect this. Thank you again!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BSP_INDICATE_SCANNING - period 2 s or 4.4 s</title><link>https://devzone.nordicsemi.com/thread/337466?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 12:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5125e9c2-21a6-4057-83b9-f965f7db97a1</guid><dc:creator>Jan Kinander</dc:creator><description>&lt;p&gt;Yes, it does SCANNING as it should, but according to your documentation it indicates ADVERTISING_SLOW (period 4.4 s, measured with a stopwatch: 10 flashes in 44 seconds).&lt;/p&gt;
&lt;p&gt;So, I can see that you have to initiate a major investigation here! How do all other examples on PCA10040 and PCA10056 indicate scanning? Do they use period 2 s or period 4.4 s? What must be corrected, the documentation or the Heart Rate Collector exampel? I can&amp;#39;t imagine that you are happy with the current situations, since it causes a lot of confusion (and our long conversation ...).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fexamples_bsp.html&amp;amp;anchor=BSP_INDICATE_SCANNING"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BSP_INDICATE_SCANNING - period 2 s or 4.4 s</title><link>https://devzone.nordicsemi.com/thread/337435?ContentTypeID=1</link><pubDate>Thu, 04 Nov 2021 10:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9862857-7793-4854-a318-c6942127a0b8</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, so the central example indicates that it is advertising only by the LED1 blinking every ~4.4 seconds, is that so? The example seems to behave as intended, but I agree that the LED seems to blink way slower than at a 2 second period. How exactly are you measuring it to be 4.4 seconds?&lt;/p&gt;
&lt;p&gt;I think this might be a documentation bug, where the period should be longer when indicating scanning than when advertising. I can assure you that the Heart Rate Collector (ble_app_hrs_c) does not actually advertise, and it&amp;#39;s only scanning on my end at least.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BSP_INDICATE_SCANNING - period 2 s or 4.4 s</title><link>https://devzone.nordicsemi.com/thread/337363?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 22:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5904a4d1-8236-4c6c-9d50-7a0e8025b824</guid><dc:creator>Jan Kinander</dc:creator><description>&lt;p&gt;You can find the Heart Rate Collector exampel in folder&amp;nbsp;nRF5_SDK_17.1.0_ddde560\examples\ble_central\ble_app_hrs_c&lt;/p&gt;
&lt;p&gt;I can see that I used the wrong words. What I was trying to say is that only BLE peripherals do advertise, never centrals - they scan, so the fact that this central indicates&amp;nbsp;&lt;span&gt;BSP_INDICATE_ADVERTISING_SLOW violates both the description of the exampel and fundamental BLE principels.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BSP_INDICATE_SCANNING - period 2 s or 4.4 s</title><link>https://devzone.nordicsemi.com/thread/337247?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 11:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a546ac5-150a-4b91-8c69-01befa34afbc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Please provide details on what heart rate collector example from what nRF5 SDK version you&amp;#39;re using when seeing this behavior and I&amp;#39;ll take a look.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you also explain more in detail on point 3? Does the heart rate collector device not advertise at all? How do you see that it is not advertising, is it not discovered by the central, or do you not see any logging information? Does the application start at all, doing initializations and so on?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>