<?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>Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12025/possible-to-just-receive-scan-request-but-not-send-scan-response</link><description>Hey guys, 
 I’m trying to come up with a way to know if an advertisement was received via BLE_GAP_EVT_SCAN_REQ_REPORT, but then not actually send the SCAN response. It’s a very low power, peripheral beacon application and all I want to know is whether</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 26 Nov 2016 13:20:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12025/possible-to-just-receive-scan-request-but-not-send-scan-response" /><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45514?ContentTypeID=1</link><pubDate>Sat, 26 Nov 2016 13:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b3badf2-6886-4855-ada3-dceca8ed5da7</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Thierry,&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t know the answer, just recommending to open new question, this is what Nordic guys want on this forum (I&amp;#39;d like to see related topics to follow one thread and not having similar questions posted again and again but it seems impossible to run this model on this forum so to get any attention just open new question;)&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45513?ContentTypeID=1</link><pubDate>Fri, 25 Nov 2016 17:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5adda7d7-5fd1-41c0-8fd0-4d23ff1aa0c3</guid><dc:creator>ThierryQ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Alternatively would be nice to compare
if using non-connectable and
non-scannable advertisement doesn&amp;#39;t
reduce power consumption&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Is there any way to set softdevice s132 as non-scannable ?
I found a way to set it as non-connectable with ADV_NONCONN_IND or ADV_SCAN_IND however I didn&amp;#39;t found any way to set is as &amp;quot;non-scannable&amp;quot;
I would like to ignore SCAN_REQ  and only accept connection request.&lt;/p&gt;
&lt;p&gt;In fact I would like the exact reverse of: ADV_SCAN_IND, I would like to won&amp;#39;t accept scan request but accept connect request.&lt;/p&gt;
&lt;p&gt;Is there anyway to do that with softdevice ?&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: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45512?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2016 17:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e7ccbbd-ee59-4798-a410-cf4e6561f466</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;RX listening part is not there for non-connectable (non-scannable) advertising. It will send out an empty scan response packet if a scan request is received. Based on measurements it will turn on RX for approx 120us after every advertisement packets (on all channels), if it receives a scan request it will turn on RX for approx 250us and then turn on TX for approx 200us. I leave it up to you to calculate the increase in current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45511?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 16:58:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894baebe-cb7b-4e73-a66a-3633e0a85346</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;And of course you need some confirmation from Nordic about exact power profile for non-scannable peripheral (if Rx listening part is still there or not).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45510?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 16:57:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01e89fef-e29d-4610-8082-149c8b2fe832</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;(2/2)&lt;/p&gt;
&lt;p&gt;If you still want some &amp;quot;back of the envelope&amp;quot; model then see power profile for particular soft device event at Infocenter (e.g. &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds.v0.5/dita/softdevices/s130/ble_power_profiles/ble_power_profiles.html"&gt;this&lt;/a&gt;) + timings and typical power consumption values in Product Specification(s) at the same place. Some figures and profiles can be also seen in practical guide to current measurement &lt;a href="https://devzone.nordicsemi.com/tutorials/27/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45509?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 16:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aca2277-bd4e-4615-82bc-ca931d427ce1</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;This has many input parameters: are you using nRF51 or nRF52? What Tx power level you gonna use (+4/0/-4/... dBm)? Do you simplify your problem to &amp;quot;infinite&amp;quot; advertising case or you are comparing different duty cycles/power modes? And last but not least what are real power consumption characteristics of your HW (they can differ significantly making even &amp;quot;rough&amp;quot; models invalid)? I&amp;#39;m not HW guy and if this is really critical parameter of your product then I suggest to quickly prototype the FW on nRF5x DK and measure real consumption there. This will be probably faster then elaborating on it theoretically (and saves you some sleepless night during weeks between you decide on the model and wait for the real HW to verify it).&lt;/p&gt;
&lt;p&gt;(1/2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45508?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 14:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6305e75c-cefd-41ab-aab4-3d4adb646599</guid><dc:creator>Brian</dc:creator><description>&lt;p&gt;Thanks!  This is really helpful.
Roughly... how much more power is consumed by turning on the RX path after TX and making the beacon scannable with BLE_GAP_ADV_TYPE_ADV_SCAN_IND?
Is it doubling the power for each TX?
Thanks,
Brian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to just receive SCAN request, but not send SCAN response?</title><link>https://devzone.nordicsemi.com/thread/45507?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 14:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2499306-c103-451a-9c44-d55a8b28b3e7</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Brian,&lt;/p&gt;
&lt;p&gt;Short answer is NO, it isn&amp;#39;t possible to detect the SCAN_REQ but not letting SCAN_RESP going out.&lt;/p&gt;
&lt;p&gt;If you indicate to the stack that your GAP Peripheral is scannable then it automatically handles SCAN_REQ packets and replies with SCAN_RESP burst. You can get indication that SCAN_REQ packet arrived but you cannot forbid Soft Device from sending the reply. You can limit the Tx power by providing empty data (to be precise &lt;code&gt;srdlen&lt;/code&gt; parameter set to &lt;code&gt;0&lt;/code&gt;) in &lt;code&gt;sd_ble_gap_adv_data_set&lt;/code&gt; function call (see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v0.9.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gaddbb12e078d536ef2e93b41d77ff6243"&gt;Soft Device API specification here&lt;/a&gt;) which will result in empty SCAN_RESP packet, but still basic packet structure will be built and sent. Btw. is the Tx for such reply really a problem? I guess you would like to safe Rx window after every advertisement Tx burst, that can make significant power consumption over Beacon&amp;#39;s life-time. But if you are implementing mechanism where you stop advertising completely (or for some longer time) if you detect scanning activity (maybe by some specific Central address?) then that small Tx current before you go to sleep looks negligible to me. However by experiment you cannot force Soft Device to be listening to SCAN_REQ but not sending the SCAN_RESP automatically and I assume this is in order to be BT SIG compliant. If you really need full answer then wait for Nordic guys to look into Soft Device code (if there could be the way to trick it;). Alternatively would be nice to compare if using non-connectable and non-scannable advertisement doesn&amp;#39;t reduce power consumption (I assume Soft Device then don&amp;#39;t perform short Rx window after each Tx advertisement burst but this would need confirmation from Nordic team) enough to stop bothering about scanning and implementing some &amp;quot;silent&amp;quot; windows (btw. you really stop advertising indefinitely after very first scanning detection? That looks like a deadlock;).&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>