<?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>Detecting scan response request at peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122267/detecting-scan-response-request-at-peripheral</link><description>I&amp;#39;m developing with an nRF52832, NCS V2.6.0 (happy to update to a newer SDK if it gets me the functionality I need) and Zephyr 3.5 
 What I&amp;#39;m currently doing is having my peripheral exist System Off via a GPIO trigger (generated by an external RTC at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jun 2025 13:45:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122267/detecting-scan-response-request-at-peripheral" /><item><title>RE: Detecting scan response request at peripheral</title><link>https://devzone.nordicsemi.com/thread/539568?ContentTypeID=1</link><pubDate>Tue, 17 Jun 2025 13:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02757c3-e547-463f-9259-87d873859f4e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you start to advertise you can choose this by e.g. when calling bt_le_adv_start(), use the BT_LE_ADV_OPT_NOTIFY_SCAN_REQ option. But then you also need to add a callback .scan_req_received = your_funtion in&amp;nbsp;adv_callbacks().&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting scan response request at peripheral</title><link>https://devzone.nordicsemi.com/thread/539445?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 19:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76b7b28f-973f-4f08-8808-47a6e9a108cc</guid><dc:creator>Mike Austin (LPI)</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I am looking into the energy&amp;nbsp;budget of reverting to System On with idle compared to going into System Off, as I can see there is about a 500msec start delay exiting System Off. The System Off is a bit of a legacy design feature on this project.&lt;/p&gt;
&lt;p&gt;In terms of getting the peripheral to detect and report a scan request in my firmware, is there a CONFIG setting&amp;nbsp;I need to enable? And then some callback that I need to add to process the detection of a scan request?&lt;/p&gt;
&lt;p&gt;I had a search on the DevZone but could t find anything that would answer those questions.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting scan response request at peripheral</title><link>https://devzone.nordicsemi.com/thread/539372?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 11:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3aac66f-9efa-41aa-affa-2b68e7773ab8</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Normally it&amp;#39;s less power consumption to use normal system ON idle to periodically run the application with e.g. advertisement than using an approach with system OFF if you do any activity more often than a few minutes. The reason for this is that the time to re-init the device comes with a cost compared to just draw 3-4uA continuously.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But to answer your question; The peripheral advertising should be able to detect both a SCAN request response and CONNECT request packet while advertising, the application can use this to decide whether it should go to system OFF or not.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>