<?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>Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55560/unable-to-obtain-repeatable-scan-response-data</link><description>Unable to obtain repeatable scan response data. 
 I can obtain advertising data and scan response data from 3rd party devices. I can obtain advertising data from my server repeatably, but when I try and obtain scan response data from the server I only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2020 15:26:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55560/unable-to-obtain-repeatable-scan-response-data" /><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/228405?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 15:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1336afc-1cd3-4ede-8bb1-29a306fb8351</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Perhaps you can try to hack another central example. In the advertising_report event, just set a filter on the address that you know is correct and print something every time you receive an advertisement and every time you receive a scan response.&lt;/p&gt;
&lt;p&gt;I tried to open your project, but it says:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Other than that, I don&amp;#39;t understand why it shouldn&amp;#39;t work in your project. But again, it is difficult to follow the project and your state machine from looking at the main.c file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/228279?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 08:21:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fab5e0e7-847c-4ddf-935d-074fff5c0670</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;The above sniffer image is what the peripheral is seeing, showing that it is getting scan request from the central Mac address 66:0b... and the peripheral responses with a scan response. It is that scan response that my central can&amp;#39;t see in software. (I have seen a response in my software occasionally after long periods of scanning, upwards of 10 minutes.)&lt;/p&gt;
&lt;p&gt;Yes I can see scan response data from other peripheral consistently&amp;nbsp; in my software.&lt;/p&gt;
&lt;p&gt;Central &amp;amp; peripheral settings are the same :&lt;/p&gt;
&lt;p&gt;scan interval = 160 = 100ms&lt;/p&gt;
&lt;p&gt;Scan duration = 0 = Infinite&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Scan window = 80 = 50ms&lt;/p&gt;
&lt;p&gt;Min connection interval = 7.5ms&lt;/p&gt;
&lt;p&gt;Max connection interval =&amp;nbsp; 7.5ms&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/226335?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 10:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5273e862-5a91-4d4c-8f96-83856efba0b6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Does this only apply for this peripheral&amp;#39;s scan responses?&lt;/p&gt;
&lt;p&gt;You say that you can receive other peripherals&amp;#39; scan response, correct?&lt;/p&gt;
&lt;p&gt;What is the advertising interval of your peripheral, and what is the scan interval and scan window on your central?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/226274?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 07:34:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:872d7f3b-faa8-4e11-971f-15a072da9256</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;The data on the sniffer is quite consistent Irrespective of whether scan response was received or not.&lt;/p&gt;
&lt;p&gt;I get a scan request every&amp;nbsp;180ms but that can be as high as 580ms or low as 16ms. Around 3 responses are missed every 20 requests. if the peripheral responds it is within 4 ms.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576740021133v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/226118?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 11:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfba5514-2dac-4041-87ee-74f30d58d823</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;If one of the devices LFCLK is off, then the timing of the scan response would be off, and the scanner may not pick it up correctly. Since you were able to pick up the scan responses from the other devices frequently, it may suggest that your peripheral&amp;#39;s LFCLK was off, sending the scan responses at the wrong time, outside the window when your central was scanning.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is it possible for me to recreate your issue? Is it possible for me to reproduce this with two DKs?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From your sniffer trace,&amp;nbsp; is that the scan response that you received? Does it look the same the next time, when you don&amp;#39;t get the scan response?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/226112?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 11:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad13f834-bf9a-4507-8a7b-589487b996e6</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;Thanks for the suggestion, why did you think this could have been a problem using the XTAL clock?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No the behavior remain&amp;#39;s the same after changing to the above config.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225821?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 09:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ecc5051-c6f4-411f-8fb3-45a134ea2c9a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Try to set both the peripheral and central to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_CLOCK_LF_SRC 0
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#define NRF_SDH_CLOCK_LF_ACCURACY 1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Does that change the behavior?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225730?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 16:17:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec48142-34c1-4dbc-bca3-b4a7cf769e02</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;with CTIV and CTIV_TEMP configured as zero.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576513039483v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225729?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 16:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:301c32b4-cd62-4fe7-8973-c3382050e892</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576512908514v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The Client and peripheral are configured as this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225722?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 15:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b9a13b2-4395-4964-9122-e6efae328701</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What is your peripheral? Is that also a nordic? Is that also using the internal oscillator?&lt;/p&gt;
&lt;p&gt;So for both your central and peripheral. What is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_ACCURACY&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225620?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 12:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89529e1f-b549-464e-b31e-716375c7ad14</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;No I am using the internal oscillator, no LFXTAL.&lt;/p&gt;
&lt;p&gt;fnOnAdvReport is called from a softdevices event&amp;nbsp;BLE_GAP_EVT_ADV_REPORT.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225613?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 11:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0945ed5b-7cd3-4158-886b-8cbbb36f873e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I was thinking of whether you had an external LFXTAL. Do you? What are the specs on the LFXTAL if you have one? And what are your defines in sdk_config.h:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_ACCURACY&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t say why you are not getting your scan responses from that particular device. From where do you call fnOnAdvReport()?&amp;nbsp;Do you have any filtering before that call?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225593?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 11:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a71b9a2a-7da5-4e62-9e9d-534b734ea41e</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;64Mhz interanl clock. I have two custom pieces of hardware with NRF52832 devices on for both my central and peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes i&amp;#39;m using the nrf sniffer and i can see scan responses:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576494240937v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225579?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 10:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b813a40-fe84-4b45-8199-a49c4c6f4656</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. so you see it some times, but rarely. What is your clock settings on your device? What HW do you use (Both peripheral and central)? Are the DKs? Or some custom HW? Have you tried to sniff the advertisements? Does it actually send any scan responses? You can use the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer&lt;/a&gt; for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225568?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 10:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06a18edb-1b00-420b-98f6-5c558bfffca9</guid><dc:creator>Sam273</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK 15.2&lt;/p&gt;
&lt;p&gt;Currently for debugging I just have a infinite loop of searching for devices - scan and advertising data..&lt;/p&gt;
&lt;p&gt;I&amp;#39;m printing any advertised data by printing the UUID - this is working fine as im seeing my and other devices (I can connect to my device with this data)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m printing any scan response data - I am seeing a variety of devices, garmin,&amp;nbsp;Versa, LE-reserved, ect&lt;/p&gt;
&lt;p&gt;and the scan response data from my device - I am not/ rarely it seeing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If i do find a scan response data from my device i check the address i came from to check it matches with the advertised data found.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1576486102674v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to obtain repeatable scan response data.</title><link>https://devzone.nordicsemi.com/thread/225366?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 13:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91d3b1b1-f979-47d0-a6aa-481a5e8f22f1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What SDK are you using?&lt;/p&gt;
&lt;p&gt;Are you sure that your device has advertising response, and that you are not picking up advertising packets from another device nearby with scan response? Check the address of the device.&lt;/p&gt;
&lt;p&gt;Are you sure your device is not resetting? (encounters an error)? Can I see the messages you get when you use NRF_LOG_DEBUG()? (I assume LOG_DEBUG() uses this).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>