<?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>bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95784/bonding-and-filter_accept_list-is-not-working-with-nrf-connect-mobile-android-app</link><description>I use the nRF52-DK with nRF Connect SDK 2.2.0 with the peripheral_uart example. 
 The aim is to use the filter_accept_list to allow only bonded devices to connect to the peripheral. 
 Therefore, I added the following lines to the example: 
 im main.c</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jan 2023 16:44:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95784/bonding-and-filter_accept_list-is-not-working-with-nrf-connect-mobile-android-app" /><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/406733?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 16:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:177a71ed-b324-405e-882b-d8dd9463d6c6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Happy to help.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/406725?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 16:00:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e224ac66-bccd-412b-8e44-deb45fcd6375</guid><dc:creator>devbook</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I just tested CONFIG_BT_PRIVACY=y and it seems to work as expected with the filter accept-/whitelist. :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks alot for your support.&lt;/p&gt;
&lt;p&gt;devbook&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/406549?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 20:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad07742-79da-4548-913b-b210e7e0f12c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to enable&amp;nbsp;&lt;span&gt;CONFIG_BT_PRIVACY.&amp;nbsp;&lt;/span&gt;&lt;span&gt;IRK handling is automatic in the sense that if you enable privacy (CONFIG_BT_PRIVACY=y), it is&amp;nbsp;automatically generated and used by the stack.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/405955?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 07:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a309b966-f52a-4879-ad85-900d4a07a4f5</guid><dc:creator>devbook</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;the way they handled it in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83445/ble-reject-new-devices-attempting-to-pair-only-allow-old-bonded-device/346822"&gt;this thread&lt;/a&gt;&amp;nbsp;works :) , however,&amp;nbsp;I would prefer to use the filter_accept_list&lt;/p&gt;
&lt;p&gt;We could use the whitelist/filter_accept_list as expected with the peer management in the old nRF5 SDK.&lt;/p&gt;
&lt;p&gt;Thanks for your support&lt;/p&gt;
&lt;p&gt;devbook&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/405903?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2023 18:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:498c0824-c933-408e-9b06-c85614685910</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Mobile phones for instance typically always use a random resolvable address (privacy), so there you need the IRK (and pairing/bonding) in order to do whitelisting. If the devices do not use privacy, then you can simply whitelist the BLE address as this never changes in that case. That can explain why it can work&amp;nbsp;for nRF Connect Desktop APP with an nRF52840-DK as central instead of mobile. Maybe &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83445/ble-reject-new-devices-attempting-to-pair-only-allow-old-bonded-device/346822"&gt;this post&lt;/a&gt; can help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With your code, I got the log as&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [00:00:00.015,686] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.015,716] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
00&amp;gt; [00:00:00.015,777] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
00&amp;gt; [00:00:00.016,021] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision: 
00&amp;gt;                                          6d 90 41 2a 38 e8 ad 17  29 a5 03 38 39 27 d7 85 |m.A*8... )..89&amp;#39;..
00&amp;gt;                                          1f 85 d8 e1                                      |....             
00&amp;gt; [00:00:00.021,881] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
00&amp;gt; [00:00:00.021,911] &amp;lt;inf&amp;gt; peripheral_uart: Bluetooth initialized
00&amp;gt; [00:00:00.025,268] &amp;lt;inf&amp;gt; peripheral_uart: Bonded devices: 0
00&amp;gt; 
00&amp;gt; [00:00:22.847,808] &amp;lt;inf&amp;gt; peripheral_uart: Connected EF:06:74:2A:38:07 (random)
00&amp;gt; [00:00:30.342,407] &amp;lt;inf&amp;gt; peripheral_uart: Passkey for EF:06:74:2A:38:07 (random): 652399
00&amp;gt; [00:00:39.073,089] &amp;lt;inf&amp;gt; peripheral_uart: Security changed: EF:06:74:2A:38:07 (random) level 3
00&amp;gt; [00:00:39.170,043] &amp;lt;inf&amp;gt; peripheral_uart: Pairing completed: EF:06:74:2A:38:07 (random), bonded: 1
00&amp;gt; [00:01:42.553,344] &amp;lt;inf&amp;gt; peripheral_uart: Disconnected: EF:06:74:2A:38:07 (random) (reason 19)
00&amp;gt; [00:01:51.567,047] &amp;lt;inf&amp;gt; peripheral_uart: Connected EF:06:74:2A:38:07 (random)
00&amp;gt; [00:01:51.642,669] &amp;lt;inf&amp;gt; peripheral_uart: Security changed: EF:06:74:2A:38:07 (random) level 3
00&amp;gt; [00:02:18.051,269] &amp;lt;inf&amp;gt; peripheral_uart: Disconnected: EF:06:74:2A:38:07 (random) (reason 19)
00&amp;gt; [00:00:00.014,678] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
00&amp;gt; [00:00:00.014,678] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fb8
00&amp;gt; [00:00:00.014,709] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 88
00&amp;gt; [00:00:00.014,923] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision: 
00&amp;gt;                                          6d 90 41 2a 38 e8 ad 17  29 a5 03 38 39 27 d7 85 |m.A*8... )..89&amp;#39;..
00&amp;gt;                                          1f 85 d8 e1                                      |....             
00&amp;gt; [00:00:00.020,660] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
00&amp;gt; [00:00:00.020,690] &amp;lt;inf&amp;gt; peripheral_uart: Bluetooth initialized
00&amp;gt; [00:00:00.029,663] &amp;lt;inf&amp;gt; peripheral_uart: Bonded devices: 1
00&amp;gt; 
00&amp;gt; [00:00:25.254,882] &amp;lt;inf&amp;gt; peripheral_uart: Connected EF:06:74:2A:38:07 (random)
00&amp;gt; [00:00:25.315,521] &amp;lt;inf&amp;gt; peripheral_uart: Security changed: EF:06:74:2A:38:07 (random) level 3
00&amp;gt; [00:01:01.489,227] &amp;lt;inf&amp;gt; peripheral_uart: Disconnected: EF:06:74:2A:38:07 (random) (reason 19)&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is my test project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_uart_5F00_301474.7z"&gt;devzone.nordicsemi.com/.../peripheral_5F00_uart_5F00_301474.7z&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="devbook"]Is it possible to get more information from the filter_accept_list, e.g. how many entries are stored? At the moment I count when adding devices. I did not find any way to get any information from that list.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;The application needs to count. If you look at the implementation of &lt;code&gt;int bt_le_filter_accept_list_add(const bt_addr_le_t *addr)&lt;/code&gt;, you can see that the Bluetooth host is not doing validation - the controller will signalize when it is full.&amp;nbsp;&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="devbook"]Afterwards, I tested with the LESC modification. I did not need to press the Button for bonding anymore but I even could not connect after bonding.[/quote]
&lt;p&gt;I can reproduce and see the same sniffer log as &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94270/nrf5340---reconnecting-after-bonding-disconnect-with-reason-0x3d/398583"&gt;this thread&lt;/a&gt;.&amp;nbsp;The team has verified that there is a bug in the library handling key retrieval. It will take some time to have a fix on this. For now, it&amp;#39;s considered a known issue, and don&amp;#39;t have a workaround yet, unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/405596?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 07:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:517865b1-f805-4392-81e4-00849fba91ee</guid><dc:creator>devbook</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Log with RTT with connection to mobile app and no further modifications for LESC:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connected via RTT with settings mem-address:auto

SEGGER J-Link V7.80c - Real time terminal output
J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39 V1.0, SN=682317443
Process: JLink.exe
[00:00:00.004,669] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_RX_BUF_REQUEST
[00:00:00.007,934] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_TX_DONE
[00:00:00.015,502] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.015,533] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fd0
[00:00:00.015,594] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 1c
[00:00:00.015,777] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision:
                                         6d 90 41 2a 38 e8 ad 17  29 a5 03 38 39 27 d7 85 |m.A*8... )..89&amp;#39;..
                                         1f 85 d8 e1                                      |....
[00:00:00.021,759] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
[00:00:00.021,759] &amp;lt;inf&amp;gt; peripheral_uart: Bluetooth initialized
[00:01:05.067,016] &amp;lt;inf&amp;gt; peripheral_uart: Connected 6E:22:C9:8E:61:69 (random)
[00:01:11.214,233] &amp;lt;inf&amp;gt; peripheral_uart: Passkey for 6E:22:C9:8E:61:69 (random): 272678
[00:01:11.214,263] &amp;lt;inf&amp;gt; peripheral_uart: Press Button 1 to confirm, Button 2 to reject.
[00:01:15.619,293] &amp;lt;inf&amp;gt; peripheral_uart: Numeric Match, conn 0x20001f90
[00:01:15.892,303] &amp;lt;inf&amp;gt; peripheral_uart: Security changed: 6E:22:C9:8E:61:69 (random) level 4
[00:01:15.989,685] &amp;lt;inf&amp;gt; peripheral_uart: Pairing completed: A8:3E:0E:F3:7B:70 (public), bonded: 1
[00:01:24.532,806] &amp;lt;inf&amp;gt; peripheral_uart: Disconnected: A8:3E:0E:F3:7B:70 (public) (reason 19)
[00:01:28.335,449] &amp;lt;inf&amp;gt; peripheral_uart: Connected A8:3E:0E:F3:7B:70 (public)
[00:01:29.661,376] &amp;lt;inf&amp;gt; peripheral_uart: Security changed: A8:3E:0E:F3:7B:70 (public) level 4
[00:01:35.782,318] &amp;lt;inf&amp;gt; peripheral_uart: Disconnected: A8:3E:0E:F3:7B:70 (public) (reason 19)
[00:00:00.004,852] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_RX_BUF_REQUEST
[00:00:00.008,117] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_TX_DONE
[00:00:00.015,319] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.015,319] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, f88
[00:00:00.015,350] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, c0
[00:00:00.015,594] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision:
                                         6d 90 41 2a 38 e8 ad 17  29 a5 03 38 39 27 d7 85 |m.A*8... )..89&amp;#39;..
                                         1f 85 d8 e1                                      |....
[00:00:00.021,453] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
[00:00:00.021,514] &amp;lt;inf&amp;gt; peripheral_uart: Bluetooth initialized&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And the log from the APP:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRF Connect, 2023-01-19
Nordic_UART_Service (F2:17:D9:08:8C:FA)
I	08:12:23.987	[Server] Server started
V	08:12:24.008	Unknown Service (00001091-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [R] (00002080-0000-1000-8000-00805f9b34fb)
Unknown Service (00001020-0000-1000-8000-00805f9b34fb)
- Unknown Characteristic [N R] (00002090-0000-1000-8000-00805f9b34fb)
&amp;#160;&amp;#160;&amp;#160;Client Characteristic Configuration (0x2902)
V	08:12:24.423	Connecting to F2:17:D9:08:8C:FA...
D	08:12:24.423	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	08:12:25.087	[Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I	08:12:25.087	[Server] Device disconnected
D	08:12:25.113	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
E	08:12:25.113	Error 133 (0x85): GATT ERROR
I	08:12:25.113	Disconnected
D	08:12:35.202	gatt.close()
D	08:12:35.206	wait(200)
V	08:12:35.407	Connecting to F2:17:D9:08:8C:FA...
D	08:12:35.408	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	08:12:35.793	[Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
D	08:12:35.793	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
I	08:12:35.793	[Server] Device disconnected
E	08:12:35.793	Error 133 (0x85): GATT ERROR
I	08:12:35.793	Disconnected
D	08:12:37.733	gatt.close()
D	08:12:37.736	wait(200)
V	08:12:37.942	Connecting to F2:17:D9:08:8C:FA...
D	08:12:37.943	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	08:12:38.538	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
E	08:12:38.538	Error 133 (0x85): GATT ERROR
I	08:12:38.538	Disconnected
D	08:12:38.540	[Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I	08:12:38.540	[Server] Device disconnected
D	08:12:39.621	gatt.close()
D	08:12:39.624	wait(200)
V	08:12:39.828	Connecting to F2:17:D9:08:8C:FA...
D	08:12:39.828	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	08:12:40.426	[Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I	08:12:40.426	[Server] Device disconnected
D	08:12:40.445	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
E	08:12:40.446	Error 133 (0x85): GATT ERROR
I	08:12:40.446	Disconnected
D	08:12:41.165	gatt.close()
D	08:12:41.169	wait(200)
V	08:12:41.373	Connecting to F2:17:D9:08:8C:FA...
D	08:12:41.373	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	08:12:41.820	[Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I	08:12:41.820	[Server] Device disconnected
D	08:12:41.821	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
E	08:12:41.821	Error 133 (0x85): GATT ERROR
I	08:12:41.821	Disconnected
D	08:12:42.547	gatt.close()
D	08:12:42.549	wait(200)
V	08:12:42.751	Connecting to F2:17:D9:08:8C:FA...
D	08:12:42.751	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	08:12:43.488	[Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I	08:12:43.488	[Server] Device disconnected
D	08:12:43.509	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
E	08:12:43.510	Error 133 (0x85): GATT ERROR
I	08:12:43.510	Disconnected&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After the restart no connection request is shown in the logging in this case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I need to and I do so, pressing Button 1 for Bonding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Logging from connection with desktop app and no LESC modifications:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connected via RTT with settings mem-address:auto

SEGGER J-Link V7.80c - Real time terminal output
J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39 V1.0, SN=682317443
Process: JLink.exe
[00:00:00.004,669] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_RX_BUF_REQUEST
[00:00:00.007,934] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_TX_DONE
[00:00:00.016,387] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.016,387] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fe8
[00:00:00.016,448] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0
[00:00:00.016,693] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision:
                                         6d 90 41 2a 38 e8 ad 17  29 a5 03 38 39 27 d7 85 |m.A*8... )..89&amp;#39;..
                                         1f 85 d8 e1                                      |....
[00:00:00.022,613] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
[00:00:00.022,674] &amp;lt;inf&amp;gt; peripheral_uart: Bluetooth initialized
[00:00:16.593,292] &amp;lt;inf&amp;gt; peripheral_uart: Connected F1:5C:5A:F7:A5:3D (random)
[00:00:22.078,979] &amp;lt;inf&amp;gt; peripheral_uart: Passkey for F1:5C:5A:F7:A5:3D (random): 289904
[00:00:22.079,010] &amp;lt;inf&amp;gt; peripheral_uart: Press Button 1 to confirm, Button 2 to reject.
[00:00:26.633,331] &amp;lt;inf&amp;gt; peripheral_uart: Numeric Match, conn 0x20001f90
[00:00:26.854,919] &amp;lt;inf&amp;gt; peripheral_uart: Pairing completed: F1:5C:5A:F7:A5:3D (random), bonded: 1
[00:00:26.855,285] &amp;lt;inf&amp;gt; peripheral_uart: Security changed: F1:5C:5A:F7:A5:3D (random) level 4


Disconnected

Connected via RTT with settings mem-address:auto

SEGGER J-Link V7.80c - Real time terminal output
J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39 V1.0, SN=682317443
Process: JLink.exe


Disconnected

Connected via RTT with settings mem-address:auto

SEGGER J-Link V7.80c - Real time terminal output
J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39 V1.0, SN=682317443
Process: JLink.exe
[00:00:00.004,852] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_RX_BUF_REQUEST
[00:00:00.008,117] &amp;lt;dbg&amp;gt; peripheral_uart: uart_cb: UART_TX_DONE
[00:00:00.015,472] &amp;lt;inf&amp;gt; fs_nvs: 6 Sectors of 4096 bytes
[00:00:00.015,502] &amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, fb8
[00:00:00.015,533] &amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 88
[00:00:00.015,777] &amp;lt;inf&amp;gt; sdc_hci_driver: SoftDevice Controller build revision:
                                         6d 90 41 2a 38 e8 ad 17  29 a5 03 38 39 27 d7 85 |m.A*8... )..89&amp;#39;..
                                         1f 85 d8 e1                                      |....
[00:00:00.021,759] &amp;lt;inf&amp;gt; bt_hci_core: No ID address. App must call settings_load()
[00:00:00.021,789] &amp;lt;inf&amp;gt; peripheral_uart: Bluetooth initialized
[00:00:08.329,681] &amp;lt;inf&amp;gt; peripheral_uart: Connected F1:5C:5A:F7:A5:3D (random)
[00:00:08.382,629] &amp;lt;wrn&amp;gt; peripheral_uart: Security failed: F1:5C:5A:F7:A5:3D (random) level 1 err 9
[00:00:08.383,850] &amp;lt;inf&amp;gt; peripheral_uart: Disconnected: F1:5C:5A:F7:A5:3D (random) (reason 61)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And Desktop APP log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;LESC connection without modification
08:23:20.417	Disconnected from device F2:17:D9:08:8C:FA, reason: BLE_HCI_CONNECTION_TIMEOUT
08:23:44.959	Connecting to device
08:23:45.007	Connected to device F2:17:D9:08:8C:FA: interval: 7.5ms, timeout: 4000ms, latency: 0
08:23:45.062	Security updated, mode:1, level:1
08:23:45.074	Phy updated for device F2:17:D9:08:8C:FA, tx: 2 Mb/s, rx: 2 Mb/s
08:23:45.273	Attribute value read, handle: 0x0B, value (0x): 4E-6F-72-64-69-63-5F-55-41-52-54-5F-53-65-72-76-69-63-65
08:23:50.050	Connection parameters updated for device F2:17:D9:08:8C:FA: interval 30ms, timeout 420ms, latency: 0
08:23:55.246	Security updated, mode:1, level:4
08:23:55.252	Storing bond info for device F2:17:D9:08:8C:FA
08:24:21.766	Disconnected from device F2:17:D9:08:8C:FA, reason: BLE_HCI_CONNECTION_TIMEOUT
08:24:29.551	Connecting to device
08:24:30.066	Connected to device F2:17:D9:08:8C:FA: interval: 7.5ms, timeout: 4000ms, latency: 0
08:24:34.116	Disconnected from device F2:17:D9:08:8C:FA, reason: BLE_HCI_CONNECTION_TIMEOUT&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The security Level results in an error and an BLE_HCI_CONNECTION_TIMEOUT. However, this is not shown in the connection with the app.&lt;/p&gt;
&lt;p&gt;Afterwards, I tested with the LESC modification. I did not need to press the Button for bonding anymore but I even could not connect after bonding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope that the logs helps to find a solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to get more information from the filter_accept_list, e.g. how many entries are stored? At the moment I count when adding devices. I did not find any way to get any information from that list. It is a black box for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding and filter_accept_list is not working with nRF Connect Mobile Android APP</title><link>https://devzone.nordicsemi.com/thread/405506?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 14:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:946b9618-dd01-4783-9c75-04f34a6d036f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]I tested with the Android APP and the first connect and bonding process works. However, if I restart the peripheral I cannot connect any more. The APP shows Error 133 (0x85): GATT ERROR.[/quote]
&lt;p&gt;Could you&amp;nbsp;provide&lt;span&gt;&amp;nbsp;the debug log by &lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#testing-rtt-connect"&gt;&lt;span&gt;Connecting using RTT&lt;/span&gt;&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you&amp;nbsp;&lt;span&gt;press&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Button 1&lt;/strong&gt;&lt;span&gt;&amp;nbsp;on the device and accept the passkey value on the smartphone to&amp;nbsp;confirm pairing or bonding?&lt;/span&gt;&lt;/p&gt;
[quote user=""]If I check &amp;quot;Enable LE Secure Connection pairing&amp;quot;, I can also not reconnect after restart. However, the errors are different to the ones with the mobile app.[/quote]
&lt;p&gt;What is the error log?&lt;/p&gt;
&lt;p&gt;It needs to modify&amp;nbsp;&lt;span&gt;the peripheral_uart example&amp;nbsp;&lt;/span&gt;to support LESC. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/77391/allow-lesc-just-works-pairing-bonding-with-nrf-connect-sdk-zephyr-after-pressing-button/321613"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>