<?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>peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126958/peripheral-advertisements-not-seen-by-central-in-nrf-sdk-17-1-0</link><description>Hi! I&amp;#39;m running into a strange issue. 
 I have inherited this project and it is poorly commented. I have 2 peripherals and 1 central. The 2 peripherals are identical devices. The central can pair to one at a time. 
 When I swap between devices, such as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Feb 2026 13:13:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126958/peripheral-advertisements-not-seen-by-central-in-nrf-sdk-17-1-0" /><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561608?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2026 13:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57eb3695-2bee-40f8-8056-5e1374fd705d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The whitelist can be enabled and disabled as well as updated runtime. But that would then involve (re)starting scanning with the filter_policy set to&amp;nbsp;BLE_GAP_SCAN_FP_WHITELIST or&amp;nbsp;BLE_GAP_SCAN_FP_WHITELIST_NOT_RESOLVED_DIRECTED. Which do you use? Note that this is different from the filter in the scan module, this is filtering in the SoftDevice (referring to&amp;nbsp;examples/ble_central/ble_app_rscs_c/main.c as an example again, you can see her e it is set in&amp;nbsp;m_scan_param and if you search for &amp;quot;filter_policy&amp;quot; you can see that this sample sometimes use that and sometimes use&amp;nbsp;BLE_GAP_SCAN_FP_ACCEPT_ALL (which means no whitelisting is used). Do you have something similar in your application?&lt;/p&gt;
&lt;p&gt;If this is not it, then more logs and&amp;nbsp;debugging will be needed to understand more. It could also be interesting to have a look at your application if you can share it (you can make a private ticket and upload it there, and refer to this thread).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561514?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 15:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7124909d-d7a8-4756-b165-433fdadd3486</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Thanks Einar.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) I just ran the central in the debugger, &lt;span style="font-family:inherit;"&gt;is_whitelist_used&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;(&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;p_scan_ctx&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;)) always returns false. I dont see this application calling&amp;nbsp;&lt;/span&gt;nrf_ble_scan_params_set manually either. The scan event handler does not have any whitelisting support either. I don&amp;#39;t see anything calling&amp;nbsp;pm_whitelist_get either.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;2) I will retest this with the RTT logging I owe you. It does look like we&amp;#39;re using the scan filter for adv name, however that happens within&amp;nbsp;nrf_ble_scan_on_adv_report
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;3) could this change at runtime somehow? is there some peer manager config that magically enables whitelisting? Are there any filtering examples I can look at ?&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561493?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 14:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4f05732-bf15-4b91-8e5d-512fd116b740</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. I have read over this thread again to see if I mave missed something, and noticed a few things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;when I asked about whitelisting you stated no, and that&amp;nbsp;filter policy is set to accept all. However, that is two separate features. Whitelisting is performed by the SoftDevice and not the Scan module. So can you double check that witelisting is not used? (For reference, you can se an example of whitelisting in a Central role in&amp;nbsp;examples/ble_central/ble_app_rscs_c/main.c).&lt;/li&gt;
&lt;li&gt;You confirmed that you see no calls to&amp;nbsp;nrf_ble_scan_on_adv_report() before you start the &amp;quot;other&amp;quot; device. Are there no other devices advertising within range (anything, not related to your test setup, but just as long as not testing in an RF chamber)? If there were, I would expect you to see calls to&amp;nbsp;&lt;span&gt;nrf_ble_scan_on_adv_report() for them as well. If you only see this after powering on the other device, that could also point to whitelisting being active and only allowing this device at that time.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Regarding the last point, could it be that the central for some reason is put in a state where whitelisting is enabled, and then after the whitelisted device connects, it from that point scans without whitelisting?&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;In sum, the behavior you are describing can match the central enabling whitelisting for scanning for some time (why?), and then after the whitelisted device connects, whitelisting is disabled. This is just an hypothesis, but I am not able to find any other based on this information.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561146?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 16:26:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26300b2c-d14d-437c-8c98-3829addbce69</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Resolvable address - no&lt;/p&gt;
&lt;p&gt;To clarify, the device that is NOT using directed advertising is the one that the central isn&amp;#39;t seeing.&amp;nbsp;&lt;br /&gt;One of the recovery methods is to power up the device that is using directed advertising, which then seems to enable the central to see the other device&amp;#39;s undirected advertisements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561113?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 13:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:172ed59f-d45a-473e-bcdc-77f615f6d31f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="michael01"]&lt;p&gt;Is there something different about targeted advertisements?&lt;/p&gt;
&lt;p&gt;The central still has to be scanning correct?&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, the central still has to be scanning. But the SoftDevice will filter out directed advertising packets that is for other devices. Is your device by any chance using a resolvable address, and changes address at this point, so that the peripheral using directed advertising could be using directed advertising to it&amp;#39;s old address?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561045?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2026 15:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af22a7f7-14c5-46c8-9017-7dabaa6e78db</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Thanks Einar.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The scanner stays on, even after connection.&amp;nbsp;&lt;br /&gt;Is there something different about targeted advertisements?&lt;/p&gt;
&lt;p&gt;The central still has to be scanning correct?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;According to NRF connect, the peripheral that the central cannot see is advertising properly.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will collect logs, but I will have to manually point to where the advertisements are not being received by the central. Will follow up.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/561010?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2026 12:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e78f82e9-070a-4b9f-bf74-3425da77da45</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. Did you enable RTT logging, can you share the log? Also, can you make sure to log when scanning is (re)started? I wonder if it could be that for some reason under some conditions scanning is not started? (As&amp;nbsp;&lt;span&gt;&lt;code&gt;nrf_ble_scan_on_adv_report()&lt;/code&gt; is not being called, no advertising packets are received even before filtering, which is a bit suspicious as you do not use whitelisting).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/560945?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 16:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db17eea5-d452-409d-a169-863556ab04b4</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;One other detail I can think of, when I turn on the previously paired device, it uses Targetted/Directed Advertising.&lt;/p&gt;
&lt;p&gt;(BLE_ADV_MODE_DIRECTED_HIGH_DUTY)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/560939?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 16:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:953a71af-1b7b-4219-a824-eb6d84158585</guid><dc:creator>michael01</dc:creator><description>&lt;p&gt;Thanks Einar.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;1 - Using the peer manager to save bond info&lt;br /&gt;2 - No, filter policy is set to accept all&lt;br /&gt;3 - Good question, feels like it is usually around 5, but I just did 7 without failure before the debugger crashed. Maybe I will try with RTT viewer instead of full debugger.&amp;nbsp;&lt;br /&gt;4 - Resetting the central device is one way to recover. Sometimes, If I turn on the last successfully paired peripheral, the central also starts seeing the advertisements again.&amp;nbsp;&lt;br /&gt;5 - During the failure,&amp;nbsp;&lt;span&gt;nrf_ble_scan_on_adv_report is not being called. I just replicated it, didn&amp;#39;t see the log I added in RTT, then when I fired up the previously paired controller,&amp;nbsp;nrf_ble_scan_on_adv_report is called, and I can see my other device advertise.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral advertisements not seen by central in NRF SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/560919?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 13:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bec8479a-17be-4baa-9822-02facdf9e8b9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have some questions in order to understand more:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Do you use bonding or only pairing?&lt;/li&gt;
&lt;li&gt;Do you use whitelisting?&lt;/li&gt;
&lt;li&gt;Does it always follow the same pattern, where it takes the same&amp;nbsp;number of&amp;nbsp;repeats before it fails?&lt;/li&gt;
&lt;li&gt;Once it has fails, how do you recover? Is it enough to reset the central device, or do you need to erase and re-program it?&lt;/li&gt;
&lt;li&gt;You write that&amp;nbsp;nrf_ble_scan_connect_with_target() is not being called. Have you learned more from debugging or logging? I am particularily interested in if&amp;nbsp;nrf_ble_scan_on_adv_report() in components/ble/nrf_ble_scan/nrf_ble_scan.c is called so that the advertising packet is received, or if it is filtered out ealier (by the Bluetooth stack)&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>