<?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>Bluetooth caching</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96172/bluetooth-caching</link><description>Hi, 
 I am using nRF Connect SDK, 2.2.0. 
 I am developing a Central device, which performs the following, in this order: 
 
 Enables Bluetooth (bt_enable()) 
 Starts scanning (bt_le_scan_start()) looking for a specific Peripheral 
 Once the Peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Feb 2023 21:07:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96172/bluetooth-caching" /><item><title>RE: Bluetooth caching</title><link>https://devzone.nordicsemi.com/thread/407650?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2023 21:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd510ed7-1374-4aba-a512-8791f9fde3b0</guid><dc:creator>D0023</dc:creator><description>&lt;p&gt;Never mind. There was error in my code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth caching</title><link>https://devzone.nordicsemi.com/thread/407430?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 19:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53fa7257-c990-4069-a1ef-fe27ca8066fc</guid><dc:creator>D0023</dc:creator><description>&lt;p&gt;Some more information:&lt;/p&gt;
&lt;p&gt;Just for testing, I tried steps 1, 2 and 3, only. What I see is that, when scan is started again, later, and the Peripheral is not there, I still get ADV report, with some random address for the Peripheral - an address that the Peripheral never used.&lt;/p&gt;
&lt;p&gt;If the Peripheral comes back online, I still get some random address (in the ADV report) - not the correct Peripheral address.&lt;/p&gt;
&lt;p&gt;I also noticed that, when I get the random address, I invoke&amp;nbsp;bt_le_scan_stop(), which completes without error. But after that, the scan callback is invoked again, even though I stopped scanning. And the second invocation contains the correct Peripheral address.&lt;/p&gt;
&lt;p&gt;Any idea why this is happening?&lt;/p&gt;
&lt;p&gt;Maybe it is related to the fact that bt_disable() is not really implemented, based on this:&lt;/p&gt;
&lt;p&gt;&lt;a id="i1" href="https://devzone.nordicsemi.com/f/nordic-q-a/93896/how-to-disable-bt-in-ncs2-1-2"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/93896/how-to-disable-bt-in-ncs2-1-2&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>