<?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>Empty Scan Response Handling</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5322/empty-scan-response-handling</link><description>Hello All, 
 I have a basic question about empty scan response operation with the ADV_IND PDU. When I set advertising data as follows: 
 err_code = ble_advdata_set(&amp;amp;advdata, NULL);
 
 is the central somehow informed that there is no scan response</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Jan 2015 21:53:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5322/empty-scan-response-handling" /><item><title>RE: Empty Scan Response Handling</title><link>https://devzone.nordicsemi.com/thread/18606?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 21:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4701f191-e53c-46e2-9edf-61e97ce6378b</guid><dc:creator>Matt Barr</dc:creator><description>&lt;p&gt;Thanks again, and for the power optimization comment as well. That hadn&amp;#39;t occurred to me but makes a lot of sense. When looking at current during advertising events, the wide pulse associated with a scan response is apparent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Empty Scan Response Handling</title><link>https://devzone.nordicsemi.com/thread/18608?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 21:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e4c81a-7a4d-4729-b1da-16c71e1436c5</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The central runs a active scanner so the ADV_INDs are received and SCAN_REQUEST is sent and SCAN_RESPONSE received and then the data is sent to the application. I.e. The data in the ADV_IND and the SCAN RESPONSE is should then be sent to the application together or not at all.
This is the typical behaviour on a central like a iOS device or Android device.
So typically there is no chance of an ADV_IND from one device getting mixed with the SCAN RESPONSE of another&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Empty Scan Response Handling</title><link>https://devzone.nordicsemi.com/thread/18607?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 21:02:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2f1dc88-682f-4b31-bef0-b8f37fb8bc0c</guid><dc:creator>Matt Barr</dc:creator><description>&lt;p&gt;Thanks very much for the answer, that is what I thought would happen. The concern here is the behavior of the central device if a scan response packet is dropped and the central moves out of range of the original peripheral and eventually in range of another advertiser that we&amp;#39;d like it to see and scan. I suspect it will re-try the original scan for the duration of some timeout interval, hopefully that will not prevent it from seeing and scanning another advertiser.&lt;/p&gt;
&lt;p&gt;Thanks once again!&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Empty Scan Response Handling</title><link>https://devzone.nordicsemi.com/thread/18605?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 20:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62a67f1-4413-4479-b2ba-b20f145ceee2</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;There is no method by which the scanner can determine that the SCAN_RESPONSE is not present in an ADV_IND (advertising packet), so a scan request will be sent and a blank scan response is sent back to the scanner.&lt;/p&gt;
&lt;p&gt;Do you wish to save power ?
I would suggest that you reduce the size of the ADV_IND packet and place the bulk of your advertising in the SCAN_RESPONSE.
Since the number of ADV_IND packet will outnumber the SCAN RESPONSE packets by a very large margin you will save power by making the ADV_IND as small as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>