<?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>Capture the event of a sent scan response</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11856/capture-the-event-of-a-sent-scan-response</link><description>Hi, 
 I am using the nRF52 Dev Kit. 
 Is there a way I can get a notification after a &amp;quot;scan response&amp;quot; has been sent? 
 For example - the first radio_active after a BLE_GAP_EVT_SCAN_REQ_REPORT ? 
 ble_radio_notification_evt_handler_t (bool radio_active</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2016 16:25:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11856/capture-the-event-of-a-sent-scan-response" /><item><title>RE: Capture the event of a sent scan response</title><link>https://devzone.nordicsemi.com/thread/44915?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2016 16:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:751aaf98-7403-4700-8d58-d549db7d6f34</guid><dc:creator>syntroniks</dc:creator><description>&lt;p&gt;I use&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void on_ble_evt(ble_evt_t * p_ble_evt)
{
    switch (p_ble_evt-&amp;gt;header.evt_id)
    {

		case BLE_GAP_EVT_SCAN_REQ_REPORT:
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In my code for nRF51 running s110 -- may be the same for nRF52.
Make sure to enable the event&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_opt_t ble_options;
ble_options.gap_opt.scan_req_report.enable = 1;
err_code = sd_ble_opt_set(BLE_GAP_OPT_SCAN_REQ_REPORT, &amp;amp;ble_options);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>