<?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 won&amp;#39;t connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97253/bluetooth-won-t-connect</link><description>Hello, 
 I am testing the peripheral_uart sample code on the U-blox NORA-B101 dev kit and also on our custom board. When I run it on the dev kit, I can connect. When I run the exact same code on our custom board, I can scan and see the device, but cannot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Mar 2023 08:58:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97253/bluetooth-won-t-connect" /><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/414551?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 08:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bcb10da-aa91-4d45-b49c-1f63ab954c94</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jamie,&lt;/p&gt;
&lt;p&gt;I am glad to hear that it solved the problem. What happens when you enable the RC oscillator on the app core but forget to do the same&amp;nbsp;in the network core&amp;nbsp;FW is that the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/kconfig/index.html#CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION"&gt;CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION&lt;/a&gt; symbol will not default to =y and cause the system to run off the&amp;nbsp;RC oscillator uncalibrated.&lt;/p&gt;
&lt;p&gt;The uncalibrated RC oscillator has too much freq. drift to be used with BLE. The clock drift will cause the&amp;nbsp;BLE controller (hci_rpmsg in this case) to&amp;nbsp;wake up and listen for&amp;nbsp;BLE packets at the wrong time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote userid="117778" url="~/f/nordic-q-a/97253/bluetooth-won-t-connect/414511"]&lt;p&gt;I added the following lines to the prj.conf of hci_rpmsg:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Note that only one of the sources (&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/clock/doc/clock.html#concept_acb_q5y_2q"&gt;RC&lt;/a&gt; vs SYNTH) will end up being selected here since you are defining both. RC is generally the recommended choice for&amp;nbsp;designs without the 32KHz crystal as the SYNTH source is not considered &amp;quot;low power&amp;quot;.&amp;nbsp;&lt;/p&gt;
[quote userid="117778" url="~/f/nordic-q-a/97253/bluetooth-won-t-connect/414511"]One final question just so I can better understand in the future. You were able to determine that the device stops receiving packets by looking at the above log. Which lines, specifically, tipped you off to this? Is there an app note or guide on how to interpret these[/quote]
&lt;p&gt;It was mostly just looking at the disconnect reason actually.&amp;nbsp;Disconnect reason 8 corresponds to&amp;nbsp;&amp;quot;connection timeout&amp;quot;. The other logs just showed that there were no runtime errors and that the stack was operating as normal.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678438610922v2.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/414511?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 01:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f64d0f7-bdea-4d8e-97cb-4767a5ec696d</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;Hi Vidar. Thanks, I think this solved it. I added the following lines to the prj.conf of hci_rpmsg:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I then recompiled the whole project and flashed to my device. Now the phone connects and stays connected! Thanks for all the help.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;One final question just so I can better understand in the future. You were able to determine that the device stops receiving packets by looking at the above log. Which lines, specifically, tipped you off to this? Is there an app note or guide on how to interpret these logs?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-Jamie&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/414473?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 17:27:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41459536-ae3d-4b17-b770-23ad2e51381a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks. The logs show that FW runs OK, but that the connection times out because the device stops receiving packets from the phone.&lt;/p&gt;
&lt;p&gt;When you changed the&amp;nbsp;LF clock source from the crystal oscillator to the internal RC, did you do&amp;nbsp;it in the project settings, or in the board file? I am basically wondering if the same clock configuration has been applied to both the application and netcore image. I can also check it if you are able to upload your build folder here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/414214?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 16:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6af5be-7dcd-4e7c-af20-cfd85645fd31</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;I added&amp;nbsp;CONFIG_BT_CTLR_TO_HOST_HCI_DEBUG=y to the prj.conf to get more verbose output on RTT. I got the following:&lt;/p&gt;
&lt;p&gt;00&amp;gt; [00:01:07.556,060] &amp;lt;dbg&amp;gt; bt_l2cap: bt_l2cap_chan_add: conn 0x200014d0 chan 0x2000178c&lt;br /&gt;00&amp;gt; --- 43 messages dropped ---&lt;br /&gt;00&amp;gt; [00:01:07.557,281] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 1&lt;br /&gt;00&amp;gt; [00:01:07.557,312] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_prepare_events: &lt;br /&gt;00&amp;gt; --- 9 messages dropped ---&lt;br /&gt;00&amp;gt; [00:01:07.558,502] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: rsp 0x20006be0 opcode 0x2016 len 0&lt;br /&gt;00&amp;gt; [00:01:07.558,532] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_create: opcode 0x2032 param_len 7&lt;br /&gt;00&amp;gt; [00:01:07.558,532] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_create: buf 0x20006be0&lt;br /&gt;00&amp;gt; [00:01:07.558,624] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: buf 0x20006be0 opcode 0x2032 len 10&lt;br /&gt;00&amp;gt; [00:01:07.558,715] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: count 3&lt;br /&gt;00&amp;gt; [00:01:07.558,746] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 4&lt;br /&gt;00&amp;gt; [00:01:07.558,746] &amp;lt;dbg&amp;gt; bt_hci_core: send_cmd: calling net_buf_get&lt;br /&gt;00&amp;gt; [00:01:07.558,776] &amp;lt;dbg&amp;gt; bt_hci_core: send_cmd: calling sem_take_wait&lt;br /&gt;00&amp;gt; [00:01:07.558,776] &amp;lt;dbg&amp;gt; bt_hci_core: send_cmd: Sending command 0x2032 (buf 0x20006be0) to driver&lt;br /&gt;00&amp;gt; [00:01:07.558,837] &amp;lt;dbg&amp;gt; bt_hci_core: bt_send: buf 0x20006be0 len 10 type 0&lt;br /&gt;00&amp;gt; [00:01:07.558,868] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_send: buf 0x20006be0 type 0 len 10&lt;br /&gt;00&amp;gt; [00:01:07.558,898] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_send: Final HCI buffer:&lt;br /&gt;00&amp;gt; 01 32 20 07 0f 00 00 02 02 00 00 |.2 ..... ... &lt;br /&gt;00&amp;gt; [00:01:07.558,990] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 0&lt;br /&gt;00&amp;gt; [00:01:07.558,990] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 0&lt;br /&gt;00&amp;gt; [00:01:07.559,020] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_prepare_events: &lt;br /&gt;00&amp;gt; [00:01:07.559,082] &amp;lt;dbg&amp;gt; bt_conn: conn_prepare_events: Adding conn 0x200014d0 to poll list&lt;br /&gt;00&amp;gt; [00:01:07.559,112] &amp;lt;dbg&amp;gt; bt_hci_core: hci_tx_thread: Calling k_poll with 3 events&lt;br /&gt;00&amp;gt; [00:01:07.559,875] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RPMsg data:&lt;br /&gt;00&amp;gt; 04 0f 04 00 01 32 20 |.....2 &lt;br /&gt;00&amp;gt; [00:01:07.559,967] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_evt_recv: len 4&lt;br /&gt;00&amp;gt; [00:01:07.559,967] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: Calling bt_recv(0x20006be0)&lt;br /&gt;00&amp;gt; [00:01:07.559,997] &amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x20006be0 len 6&lt;br /&gt;00&amp;gt; [00:01:07.560,058] &amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_status: opcode 0x2032&lt;br /&gt;00&amp;gt; [00:01:07.560,089] &amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_done: opcode 0x2032 status 0x00 buf 0x20006be0&lt;br /&gt;00&amp;gt; [00:01:07.560,119] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:&lt;br /&gt;00&amp;gt; [00:01:07.560,211] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: rsp 0x20006be0 opcode 0x2032 len 0&lt;br /&gt;00&amp;gt; [00:01:07.560,241] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_unref: handle 15 ref 3 -&amp;gt; 2&lt;br /&gt;00&amp;gt; [00:01:12.556,060] &amp;lt;dbg&amp;gt; bt_conn: deferred_work: conn 0x200014d0&lt;br /&gt;00&amp;gt; [00:01:12.556,091] &amp;lt;dbg&amp;gt; bt_conn: send_conn_le_param_update: conn 0x200014d0 features 0x00 params (24-40 0 42)&lt;br /&gt;00&amp;gt; [00:01:12.556,152] &amp;lt;dbg&amp;gt; bt_l2cap: bt_l2cap_send_cb: conn 0x200014d0 cid 5 len 12&lt;br /&gt;00&amp;gt; [00:01:12.556,182] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_send_cb: conn handle 15 buf len 16 cb (nil) user_data (nil)&lt;br /&gt;00&amp;gt; [00:01:12.556,213] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: count 3&lt;br /&gt;00&amp;gt; [00:01:12.556,274] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 0&lt;br /&gt;00&amp;gt; [00:01:12.556,304] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 0&lt;br /&gt;00&amp;gt; [00:01:12.556,304] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 4&lt;br /&gt;00&amp;gt; [00:01:12.556,335] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_process_tx: conn 0x200014d0&lt;br /&gt;00&amp;gt; [00:01:12.556,335] &amp;lt;dbg&amp;gt; bt_conn: send_buf: conn 0x200014d0 buf 0x20006fc0 len 16&lt;br /&gt;00&amp;gt; [00:01:12.556,365] &amp;lt;dbg&amp;gt; bt_conn: send_frag: conn 0x200014d0 buf 0x20006fc0 len 16 flags 0x02&lt;br /&gt;00&amp;gt; [00:01:12.556,427] &amp;lt;dbg&amp;gt; bt_hci_core: bt_send: buf 0x20006fc0 len 20 type 2&lt;br /&gt;00&amp;gt; [00:01:12.556,457] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_send: buf 0x20006fc0 type 2 len 20&lt;br /&gt;00&amp;gt; [00:01:12.556,457] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_send: Final HCI buffer:&lt;br /&gt;00&amp;gt; 02 0f 00 10 00 0c 00 05 00 12 02 08 00 18 00 28 |........ .......(&lt;br /&gt;00&amp;gt; 00 00 00 2a 00 |...*. &lt;br /&gt;00&amp;gt; [00:01:12.556,579] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_prepare_events: &lt;br /&gt;00&amp;gt; [00:01:12.556,579] &amp;lt;dbg&amp;gt; bt_conn: conn_prepare_events: Adding conn 0x200014d0 to poll list&lt;br /&gt;00&amp;gt; [00:01:12.556,640] &amp;lt;dbg&amp;gt; bt_hci_core: hci_tx_thread: Calling k_poll with 3 events&lt;br /&gt;00&amp;gt; [00:01:12.610,015] &amp;lt;dbg&amp;gt; bt_att: bt_att_disconnected: chan 0x2000467c cid 0x0004&lt;br /&gt;00&amp;gt; --- 29 messages dropped ---&lt;br /&gt;00&amp;gt; [00:01:12.610,015] &amp;lt;dbg&amp;gt; bt_att: att_chan_detach: chan 0x20004678&lt;br /&gt;00&amp;gt; --- 8 messages dropped ---&lt;br /&gt;00&amp;gt; [00:01:12.611,022] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_ref: handle 0 ref 1 -&amp;gt; 2&lt;br /&gt;00&amp;gt; [00:01:12.611,022] &amp;lt;dbg&amp;gt; bt_adv: bt_le_adv_resume: Resuming connectable advertising&lt;br /&gt;00&amp;gt; [00:01:12.611,083] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_create: opcode 0x200a param_len 1&lt;br /&gt;00&amp;gt; [00:01:12.611,114] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_create: buf 0x20006be0&lt;br /&gt;00&amp;gt; [00:01:12.611,145] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: buf 0x20006be0 opcode 0x200a len 4&lt;br /&gt;00&amp;gt; [00:01:12.611,236] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: count 2&lt;br /&gt;00&amp;gt; [00:01:12.611,267] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 4&lt;br /&gt;00&amp;gt; [00:01:12.611,267] &amp;lt;dbg&amp;gt; bt_hci_core: send_cmd: calling net_buf_get&lt;br /&gt;00&amp;gt; [00:01:12.611,328] &amp;lt;dbg&amp;gt; bt_hci_core: send_cmd: calling sem_take_wait&lt;br /&gt;00&amp;gt; [00:01:12.611,358] &amp;lt;dbg&amp;gt; bt_hci_core: send_cmd: Sending command 0x200a (buf 0x20006be0) to driver&lt;br /&gt;00&amp;gt; [00:01:12.611,389] &amp;lt;dbg&amp;gt; bt_hci_core: bt_send: buf 0x20006be0 len 4 type 0&lt;br /&gt;00&amp;gt; [00:01:12.611,389] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_send: buf 0x20006be0 type 0 len 4&lt;br /&gt;00&amp;gt; [00:01:12.611,450] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_send: Final HCI buffer:&lt;br /&gt;00&amp;gt; 01 0a 20 01 01 |.. .. &lt;br /&gt;00&amp;gt; [00:01:12.611,511] &amp;lt;dbg&amp;gt; bt_hci_core: process_events: ev-&amp;gt;state 0&lt;br /&gt;00&amp;gt; [00:01:12.611,572] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_prepare_events: &lt;br /&gt;00&amp;gt; [00:01:12.611,602] &amp;lt;dbg&amp;gt; bt_hci_core: hci_tx_thread: Calling k_poll with 2 events&lt;br /&gt;00&amp;gt; [00:01:12.612,579] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RPMsg data:&lt;br /&gt;00&amp;gt; 04 0e 04 01 0a 20 00 |..... . &lt;br /&gt;00&amp;gt; [00:01:12.612,609] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_evt_recv: len 4&lt;br /&gt;00&amp;gt; [00:01:12.612,609] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: Calling bt_recv(0x20006be0)&lt;br /&gt;00&amp;gt; [00:01:12.612,670] &amp;lt;dbg&amp;gt; bt_hci_core: bt_recv: buf 0x20006be0 len 6&lt;br /&gt;00&amp;gt; [00:01:12.612,701] &amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_complete: opcode 0x200a&lt;br /&gt;00&amp;gt; [00:01:12.612,701] &amp;lt;dbg&amp;gt; bt_hci_core: hci_cmd_done: opcode 0x200a status 0x00 buf 0x20006be0&lt;br /&gt;00&amp;gt; [00:01:12.612,792] &amp;lt;dbg&amp;gt; bt_hci_driver: bt_rpmsg_rx: RX buf payload:&lt;br /&gt;00&amp;gt; 00 |. &lt;br /&gt;00&amp;gt; [00:01:12.612,854] &amp;lt;dbg&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: rsp 0x20006be0 opcode 0x200a len 1&lt;br /&gt;00&amp;gt; [00:01:12.612,945] &amp;lt;dbg&amp;gt; bt_conn: bt_conn_unref: handle 0 ref 2 -&amp;gt; 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/413993?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 03:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0621e14-c1bc-4e4e-a960-1d5ffab11fe8</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;One more note - I added the following log message to the code to make sure that settings_load() was being called:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;IS_ENABLED&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;CONFIG_SETTINGS&lt;/span&gt;&lt;span&gt;)) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;int&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ret&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;ret&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;settings_load&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;LOG_INF&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;Called settings_load with return val: &lt;/span&gt;&lt;span&gt;%d&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;ret&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; } &lt;/span&gt;&lt;span&gt;else&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;LOG_INF&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;Did not call settings_load&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;RTT message output confirms that it is called:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678245817903v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/413991?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 02:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0adb5a3d-3e3d-46be-b825-fd85e0444692</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;Hi. I have the RTT working, thanks. Using the peripheral_uart code without modifications, when I try to connect, I get the following:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678242233351v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This error code (from hci_err.h) is&amp;nbsp;BT_HCI_ERR_CONN_TIMEOUT. It seems like the radio is starting since I can see the device broadcasting its ID. However, what does this mean: &amp;quot;bt_hci_core: No ID address. App must call settings_load()&amp;quot;&lt;/p&gt;
&lt;p&gt;-Jamie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/413254?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 12:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5886811d-bbf7-4d4c-a83a-42933eda1749</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jamie,&lt;/p&gt;
&lt;p&gt;I would recommend you try to debug the custom board or try to get debug logs from it to determine if the connectivity problems may be caused by a SW issue or not.&amp;nbsp;The debug log will include a crash log if a fault exception is raised or if there is a code assert.&lt;/p&gt;
&lt;p&gt;Note that you can get&amp;nbsp;debug logs over the debug interface (RTT) if you&amp;nbsp;do not have&amp;nbsp;a UART or USB interface exposed on this board. Check out this link for instructions on how to enable it:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/logging/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/logging/index.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/413138?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2023 01:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ee56314-d3f1-4709-abcc-739090737e4d</guid><dc:creator>jmilliken</dc:creator><description>&lt;p&gt;Thanks, that is interesting. I played with the compensation network on the antenna and now signal strength is about -62dB, but I get the same behavior. Do you have any suggestions for further debugging?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Jamie&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth won't connect</title><link>https://devzone.nordicsemi.com/thread/413059?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2023 14:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7821151-d4b6-48db-8c62-3e0c66c32591</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;A phone should read -60..-40dB when close to the module.&lt;/p&gt;
&lt;p&gt;A reading of -100dB is either faulty or the antenna is disconnected (could also be blocked by metal). If the -100dB reading is roughly correct, expect a very bad connection quality and very low range.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>