<?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>adaA address field in scan request</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33084/adaa-address-field-in-scan-request</link><description>I can read peer address and rssi field in the scan request report. But how can I read the AdvA address field in the scan request to make sure that the scan request packet is sent for a particular advertiser.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Apr 2018 03:15:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33084/adaa-address-field-in-scan-request" /><item><title>RE: adaA address field in scan request</title><link>https://devzone.nordicsemi.com/thread/127325?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 03:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21ce6e73-b288-4c52-8662-221385ea16df</guid><dc:creator>krirk</dc:creator><description>&lt;p&gt;I am clear now. Many thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adaA address field in scan request</title><link>https://devzone.nordicsemi.com/thread/127248?ContentTypeID=1</link><pubDate>Fri, 06 Apr 2018 14:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad87701c-6649-4a57-af66-a8247f5a0ae6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SoftDevice does this for you, and it will make sure that the&amp;nbsp;&lt;span&gt;AdvA address in the&amp;nbsp;scan request PDU is correct.&amp;nbsp;&lt;/span&gt;The application don&amp;#39;t need to handle that.&lt;/p&gt;
&lt;p&gt;In order to receive scan response packets from&amp;nbsp;an &lt;span&gt;advertiser&lt;/span&gt;, the only thing the application need to do is to enable active scanning, i.e. set the active paramter in&amp;nbsp;ble_gap_scan_params_t&amp;nbsp;m_scan_params to 1.&lt;/p&gt;
&lt;p&gt;Snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;.
.
/**@brief Scan parameters requested for scanning and connection. */
static ble_gap_scan_params_t const m_scan_params =
{
    .active   = 1,
    .interval = SCAN_INTERVAL,
    .window   = SCAN_WINDOW,
    .timeout  = SCAN_TIMEOUT,
.
.
.
    &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If the SoftDevice&amp;nbsp;receives a scannable PDU&amp;nbsp;from an advertiser, it will then&amp;nbsp;automatically respond with a scan&lt;br /&gt;request PDU and then listen for the scan response PDU if the &lt;em&gt;.active&lt;/em&gt; paramter is set to 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>