<?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>List of bonded device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107339/list-of-bonded-device</link><description>I&amp;#39;m using NRF Connect SDK 2.4.1 to connect multiple mobile phones to my hardware which uses an NRF52840 as peripheral 
 I allowed one active connection and 9 paired devices: 
 CONFIG_BT_MAX_PAIRED = 9 
 CONFIG_BT_MAX_CONN = 1 
 This works as it should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jan 2024 09:24:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107339/list-of-bonded-device" /><item><title>RE: List of bonded device</title><link>https://devzone.nordicsemi.com/thread/464115?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 09:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c509774-19d9-45ba-9689-661ad93882c8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Svensi,&amp;nbsp;&lt;br /&gt;I would suggest to take a look at&amp;nbsp;our Bluetooth Fundamental course in our Nordic Academy.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;At Lesson 5, exercise 2 step 3.3 you can find how you can read through the list of bonded device (to setup accept list):&lt;br /&gt;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/topic/blefund-lesson-5-exercise-2/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/topic/blefund-lesson-5-exercise-2/&lt;/a&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;static int setup_accept_list(uint8_t local_id)
{
	int err = bt_le_filter_accept_list_clear();
	if (err) {
		printk(&amp;quot;Cannot clear Filter Accept List (err: %d)\n&amp;quot;, err);
		return err;
	}
	int bond_cnt = 0;
	bt_foreach_bond(local_id, setup_accept_list_cb, &amp;amp;bond_cnt);
	return bond_cnt;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>