<?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>What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76886/what-are-the-conditions-for-sending-a-scan-request</link><description>Hello. 
 I am developing using nrf52832 (S132 v7.0.1, SDK v16.0.0) as central and Android device (Bluetooth 4.2) as advertise. Android devices use nRF Connect. 
 I can set &amp;quot;Advertising data&amp;quot; and &amp;quot;Scan Response data&amp;quot; in nRF Connect and I want to receive</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jan 2022 08:07:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76886/what-are-the-conditions-for-sending-a-scan-request" /><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/346039?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 08:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a641de0-6118-4d06-890e-9277b110dec3</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Sorry for not replying sooner. Answering this is speculations from my side, as I do not know how the phone is operating. But the phone would have to time multiplex Bluetooth LE, Bluetooth EDR, WiFi and LTE. So it might not prioritize sending scan responses. Another possibility could be that it is saving power by only sending the advertisement packet, or selectively responding to scan requests.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/338922?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 08:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ddb291b-b2a6-4733-aed1-0a850310c4f2</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;&lt;strong&gt;But it could be that android does not reply to all scan requests for some reason.&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you know why this is happening?&lt;br /&gt;I&amp;#39;m sorry you don&amp;#39;t have time, but I&amp;#39;d be happy if you could tell me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/332728?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 06:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34446dd7-a3e4-41f2-8c27-0723275264ce</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;Thank you for the project.&lt;br /&gt;Please check your android when you have time.&lt;br /&gt;It is said that android may not reply to the scan request for some reason, but is this unclear?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/332083?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 09:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0079ada2-7de2-458a-ae59-b43f0497a11c</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately I have not had time to test with android this week. But it could be that android does not reply to all scan requests for some reason.&lt;/p&gt;
&lt;p&gt;The projects I used for my test are &amp;quot;ble_central\ble_app_uart_c&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8585.ble_5F00_app_5F00_uart_5F00_c.zip"&gt;devzone.nordicsemi.com/.../8585.ble_5F00_app_5F00_uart_5F00_c.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And ble_peripheral\ble_app_uart&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8407.ble_5F00_app_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../8407.ble_5F00_app_5F00_uart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SDK 17.1.0, and I only tested the pca10040\s132\ses projects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/331194?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 01:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0370a950-13dd-4b20-bc86-6058e0484209</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;Thank you for your investigation.&lt;br /&gt;The amount of failure is very small at 1%.&lt;br /&gt;It was quite different from the results I posted earlier.&lt;/p&gt;
&lt;p&gt;If you have time or equipment, I would like you to conduct a survey with a different Bluetooth version (ver 4.2, etc.) or a survey using an Android device.&lt;br /&gt;The purpose is to see if the amount of failures has decreased because both were nrf52832.&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;You said that you changed the SDK example. Which example did you use?&lt;/span&gt;&lt;/span&gt;&lt;span class="JLqJ4b"&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;I hope you&amp;#39;ll tell me.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/331052?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 11:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9a86417-81a0-4ec4-83aa-0f4f2fbab52d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It took some time to modify the SDK examples to log this and perform the testing. Testing is performed at my home office without a RF chamber. Both scanner and advertiser is a nrf52832 DK.&lt;/p&gt;
&lt;p&gt;In this log you see 22 hits (search in notepad++) for:&lt;br /&gt;&amp;lt;info&amp;gt; app: scan match 7E32890DE6DC&lt;br /&gt;&lt;br /&gt;&amp;lt;info&amp;gt; app: scan match 7E32890DE6DC&lt;/p&gt;
&lt;p&gt;And there is 2100 hits for:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: scan match 7E32890DE6DC&lt;br /&gt;&lt;br /&gt;&amp;lt;info&amp;gt; app: scan req: 01&lt;/p&gt;
&lt;p&gt;Meaning the amount of failing active scans using a nRF52832 as active scanner is close to 1%.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Active-scanning-RTT-log.txt"&gt;devzone.nordicsemi.com/.../Active-scanning-RTT-log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/330363?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 00:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b2a444c-cbd1-4f14-aef2-c1971cb02196</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you for your investigation.&lt;br /&gt;I am looking forward to the results.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/330081?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 14:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31647477-9dcc-4a87-b99b-5a4902f915c2</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry for the late reply, unfortunately I did not have time to test it this week. but this case is first on my list now, so assuming I will be able to test it next week.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/328692?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 04:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8554a4d0-02d2-45cd-b9fe-0f38e6777df0</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I want you to check. This is because if you can receive &amp;quot;Scan Response data&amp;quot; every time you receive &amp;quot;Advertising data&amp;quot;, you know that my software should be set up like the FW you used.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/324395?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 08:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d8aa62a-8733-4295-a466-ad1e0a3858d4</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I meant, that to check that this is not caused by something in your implementation, you could try to place the scanner and advertiser in an RF chamber to see if this improves. Not sure it would make much sense for me to test it here with different fw.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/321011?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 01:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:561d2aeb-654d-4e1b-83a4-a7b9a4b4d78d</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2112" url="~/f/nordic-q-a/76886/what-are-the-conditions-for-sending-a-scan-request/319459#319459"]Just to be sure it is not another issue you could place the scanner and advertiser in an RF chamber to see if you still have problems.[/quote]
&lt;p&gt;Will you make sure it&amp;#39;s not another issue for me?&lt;br /&gt;I tried to check &amp;quot;core spec 4.4.3.2 Active scanning&amp;quot; but couldn&amp;#39;t find it. Could you give me a link?&lt;br /&gt;Also, is the backoff procedure in the SDK source?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/319459?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 22:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f367c8d-596f-4919-b940-2ce46c790e15</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I am afraid you just have to keep trying (i.e. scan multiple times). Just to be sure it is not another issue you could place the scanner and advertiser in an RF chamber to see if you still have problems.&lt;/p&gt;
&lt;p&gt;Scanners have a backoff routine, but it can still take a few attempts before you are successfull. see core spec 4.4.3.2 Active scanning&lt;/p&gt;
&lt;p&gt;The backoff procedure uses two parameters, backoffCount and upperLimit, to&lt;br /&gt;restrict the number of scan request PDUs sent when collisions occur on scan&lt;br /&gt;response PDUs. Upon entering the Scanning State, the upperLimit and&lt;br /&gt;backoffCount are set to one....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/319259?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 03:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f5c2249-9db7-434e-a7ee-6cb7e1d690fb</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;Since active was 1, it did not solve the problem that Scan Response did not return.&lt;/p&gt;
&lt;p&gt;Is there a way to solve this problem?&lt;br /&gt;Assuming that you will actually use it, I think there are many active Centrals around you. Is there no choice but to start over from Advertise reception until Scan Response can be received?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/319146?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 11:45:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c510b1f-6cb2-4a7f-a0cf-4d6d1fcdbf58</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Check&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v2.0.0/structble__gap__scan__params__t.html"&gt;ble_gap_scan_params_t&lt;/a&gt;&amp;nbsp; and make sure that&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td align="right" colspan="1" rowspan="1" valign="top"&gt;uint8_t&amp;nbsp;&lt;/td&gt;
&lt;td colspan="1" rowspan="1" valign="bottom"&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v2.0.0/structble__gap__scan__params__t.html#a7f3eda85d15916ad467a81faba18f076"&gt;active&lt;/a&gt;: 1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;This will enable active scanning. There might still be other active scanners in the area. These will potentially send a scan request at the same time as you do, potentially creating a CRC error on the Advertiser, which will cause it to not send the scan response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/319123?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 10:46:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85653639-d178-4f29-8ae6-2b1ebbf7198c</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;You must send a Scan Request from Central to have the advertisement send you a Scan Response.&lt;br /&gt;I want to set Central to issue a Scan Request, what should I do?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/319120?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 10:33:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d78c05f2-aa9d-487a-98f3-6133f2d24dc4</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The advertisement packet and scan response packets are two separate packages. First the scanner must receive the advertisement packet, then it must send a scan request, So the advertiser will only send the scan response if it first receives a scan request&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/319054?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 04:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4698132c-2f77-4a92-a800-359cd0c0df04</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know the sample source from which my code is based.&lt;br /&gt;As a confirmation method, NRF_BLE_SCAN_EVT_FILTER_MATCH of scan_evt_handler is confirmed whether scan_response is 1. (p_scan_evt-&amp;gt; params.filter_match.p_adv_report-&amp;gt; type.scan_response)&lt;br /&gt;Therefore, I don&amp;#39;t use ellisys sniffer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2112" url="~/f/nordic-q-a/76886/what-are-the-conditions-for-sending-a-scan-request/318987#318987"] It could be that there are also other scanners performing active scanning, which is &amp;quot;blocking&amp;quot; the scan requests from your scanner.[/quote]
&lt;p&gt;In other words, is it not possible to get the advertisement of the Android device because it was picked up by two scans and both of them are making requests?&lt;/p&gt;
&lt;p&gt;Isn&amp;#39;t the scan response sent by the data contained in the advertisement packet?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/318987?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 12:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b461b981-b58a-4e19-949c-8fbb85d9d2bc</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Would you by any chance have an ellisys sniffer so you can capture the on air traffic? Or as an alternative place the scanner and advertiser in an RF chamber? It could be that there are also other scanners performing active scanning, which is &amp;quot;blocking&amp;quot; the scan requests from your scanner.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/318523?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 00:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d466af28-c9ce-4b60-b122-f5dc15eb3f3f</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;Regarding the Scan time setting, interval is set to 0x320 (800ms) and window is set to 0x190 (400ms).&lt;br /&gt;When the reception frequency of 4000ms was measured, the reception frequency of Advertise data was 8 times and the reception frequency of Scan Response was 2 times.&lt;br /&gt;The device Advertise cycle is 100ms. Advertise parameters are Flags, 128bit UUID and Manufacturer Data, and Scan parameters are 128bit UUID and Manufacturer Data.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the conditions for sending a scan request?</title><link>https://devzone.nordicsemi.com/thread/318484?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 16:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcb2d2e-ede7-4f17-8cd3-6482325da881</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
[quote user=""]Currently, after receiving &amp;quot;Advertising data&amp;quot;, &amp;quot;Scan Response data&amp;quot; can be obtained on rare occasions.[/quote]
&lt;p&gt;&amp;nbsp;What do you mean by rare occasions?&lt;/p&gt;
&lt;p&gt;How often do you receive the advertising data, and how often do you receive the scan response data?&lt;/p&gt;
&lt;p&gt;What are the advertising and scan parameters for your devices?&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>