<?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 extended advertisements on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41140/detecting-extended-advertisements-on-nrf52840</link><description>Hello, I am working on detecting extended advertisements on the nRF52840, with the extended advertisements coming from a Google Pixel 2 phone. 
 
 I am basing my program on this example that was posted by someone else on this forum, https://github.com</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Mar 2019 02:00:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41140/detecting-extended-advertisements-on-nrf52840" /><item><title>RE: Detecting extended advertisements on nRF52840</title><link>https://devzone.nordicsemi.com/thread/174113?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 02:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99ae4631-bd60-4f8e-8e5a-452bb80f0282</guid><dc:creator>Oscar568</dc:creator><description>&lt;p&gt;Can you further elaborate on what you have done I am trying to scan extended advertising as well. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting extended advertisements on nRF52840</title><link>https://devzone.nordicsemi.com/thread/161255?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 15:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66470cc8-5e8d-45ba-944a-b9657d0757af</guid><dc:creator>ntn</dc:creator><description>&lt;p&gt;hi peurpdapeurp, I was in the same situation when the example provided above hit and miss extended advertising packets. Can you point out more detail how you used scan_evt_handler to detect extended advertisements? Which particular scan_evt_id did you use? My use case is open, i.e. filter policy is BLE_GAP_SCAN_FP_ACCEPT_ALL and thus NRF_BLE_SCAN_EVT_NOT_FOUND is always returned. Thanks in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting extended advertisements on nRF52840</title><link>https://devzone.nordicsemi.com/thread/160067?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 17:59:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d58889-07e4-46ba-8bd9-22b53198ccc7</guid><dc:creator>peurpdapeurp</dc:creator><description>&lt;p&gt;Ah I think I have actually figured this out; it seems like it is far better to use the function passed into nrf_ble_scan_init (this is called scan_evt_handler in most of the SDK examples I found) rather than using the function passed into&amp;nbsp;NRF_SDH_BLE_OBSERVER (this was what the ble_evt_handler function I was trying to use was).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have gotten the detection of extended advertisements working successfully using the scan_evt_handler function rather than the ble_evt_handler function; it just took reading the API&amp;#39;s for functions a little more carefully. Hopefully this helps anyone else who gets confused in the same way I did.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>