<?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>iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124372/ios-ble-disconnect-repeatedly-wuth-connection-has-timed-out-unexpectedly</link><description>Hey, since iOS version 18.6.2 the BLE connect to our BLE peripherial with nrf52840 getting disconnect events. Also the range between them is very bad. The connection parameter are set with these values 
 
 CONFIG_BT_PERIPHERAL_PREF_MIN_INT =12 
 CONFIG_BT_PERIPHERAL_PREF_MAX_INT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Sep 2025 08:00:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124372/ios-ble-disconnect-repeatedly-wuth-connection-has-timed-out-unexpectedly" /><item><title>RE: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/549974?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2025 08:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda0948f-3fc6-4827-bc02-933a28f29476</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Hinnerk,&lt;br /&gt;Thanks you for the new details.&lt;br /&gt;&lt;br /&gt;For the trace, you need to filter for the connection.&amp;nbsp;The sniffer&amp;nbsp;capture the connection request to learn the parameters&amp;nbsp;to hop in sync with the devices. Please see the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/topic/blefund-lesson-6-exercise-2/"&gt;exercise&lt;/a&gt;&amp;nbsp;for a step-by-step guide on how to do it. We will need this trace to help you with your problem.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/549790?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 11:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e443f551-b28d-4483-bb27-6d599f80c1d0</guid><dc:creator>HinnaX</dc:creator><description>&lt;p&gt;Hey Benjamin,&lt;br /&gt;thanks again for your reply. So the trace was filtered for the nrf52840 device with mac address d0:bf:29:46:08:ed&lt;br /&gt;The iPhone I not sure, because it used a random address.&lt;br /&gt;So RSSI with a iPhone or Google Pixel 6 tested are that&amp;nbsp;&lt;br /&gt;&lt;br /&gt;range 1-3 meters = RSSI -30 up to -50&lt;br /&gt;range 3-6 meters = RSSI -50 up to -75&lt;br /&gt;range 6-15 meters = RSSI -75 up to -90&amp;nbsp;&lt;br /&gt;&amp;gt; 15 meters are disconnect&lt;/p&gt;
&lt;p&gt;TX power is set to max with&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_CTLR_TX_PWR_ANTENNA=127&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also try out this config&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;and set the TX power for the connection event handler to +8dBm&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    uint16_t conn_handle;
    bt_hci_get_conn_handle(conn, &amp;amp;conn_handle);
    set_tx_power(BT_HCI_VS_LL_HANDLE_TYPE_CONN,
                 conn_handle,
                 8);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void set_tx_power(uint8_t handle_type, uint16_t handle, int8_t tx_pwr_lvl)
{
    struct bt_hci_cp_vs_write_tx_power_level *cp;
    struct bt_hci_rp_vs_write_tx_power_level *rp;
    struct net_buf *buf, *rsp = NULL;
    int err;

    buf = bt_hci_cmd_create(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL,
                            sizeof(*cp));
    if (!buf)
    {
        printk(&amp;quot;Unable to allocate command buffer\n&amp;quot;);
        return;
    }

    cp = net_buf_add(buf, sizeof(*cp));
    cp-&amp;gt;handle = sys_cpu_to_le16(handle);
    cp-&amp;gt;handle_type = handle_type;
    cp-&amp;gt;tx_power_level = tx_pwr_lvl;

    err = bt_hci_cmd_send_sync(BT_HCI_OP_VS_WRITE_TX_POWER_LEVEL,
                               buf, &amp;amp;rsp);
    if (err)
    {
        uint8_t reason = rsp ? ((struct bt_hci_rp_vs_write_tx_power_level *)
                                    rsp-&amp;gt;data)
                                   -&amp;gt;status
                             : 0;
        LOG_WRN(&amp;quot;Set Tx power err: %d reason 0x%02x\n&amp;quot;, err, reason);
        return;
    }

    rp = (void *)rsp-&amp;gt;data;
    LOG_INF(&amp;quot;Actual Tx Power: %d\n&amp;quot;, rp-&amp;gt;selected_tx_power);

    net_buf_unref(rsp);
}&lt;/pre&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: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/549786?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 10:32:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9291628a-fa70-41f9-893f-fddf3f9d574b</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Hinnerk,&lt;br /&gt;&lt;br /&gt;&lt;span&gt;We cannot see the connection in the trace. Please filter for the connection. You can refer to this lesson &lt;/span&gt;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/"&gt;lesson&lt;/a&gt;&amp;nbsp;for guidance&lt;br /&gt;&lt;br /&gt;&lt;span&gt;What RSSI do you observe with other devices (two DKs, another phone)?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;What is the TX Power?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/549647?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2025 09:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa7aad0-9828-404b-a694-a094f1269582</guid><dc:creator>HinnaX</dc:creator><description>&lt;p&gt;Hey Benjamin,&lt;br /&gt;thanks again for your reply. We testet it again and it happens sometimes that the connection will be lost.&lt;br /&gt;We test it now with iOS 26, so the iOS Update doesnt change anything.&lt;br /&gt;I&amp;#39;ve createad a sniffer trace.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/iOS_5F00_26_5F00_connection_5F00_lost_5F00_nrf52840.pcapng"&gt;devzone.nordicsemi.com/.../iOS_5F00_26_5F00_connection_5F00_lost_5F00_nrf52840.pcapng&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/549152?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 10:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd2e9340-f035-4670-b96e-03cd6d45c0a5</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Why would you not be able to do a trace? You can easily do it with a DK.&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF-Sniffer-for-Bluetooth-LE&lt;/a&gt;&lt;br /&gt;Also, do you experience the same issue with iOS 26?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/548746?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 12:47:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:994abbb0-4298-4568-a9d4-465f6089296a</guid><dc:creator>HinnaX</dc:creator><description>&lt;p&gt;Hey Benjamin,&lt;br /&gt;thanks for your reply. Yes it happens on multiple iOS devices with these iOS version.&lt;br /&gt;Unfortunately I can&amp;#39;t provide a sniffer trace.&amp;nbsp;&lt;br /&gt;I see that the rssi value is very bad. After 3-5 meters these value is -85dBm to -90 dBm.&lt;br /&gt;Now I try to increment the TX Power. This improves the rssi value to -75dBm.&lt;br /&gt;Are there any option to improve the connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iOS BLE disconnect repeatedly wuth connection has timed out unexpectedly</title><link>https://devzone.nordicsemi.com/thread/548717?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 10:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8706759f-e911-4efd-a0ff-1f9007f341a8</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Hinnerk,&lt;br /&gt;Does the issue happen on multiple&amp;nbsp;iOS devices and only 18.6.2?&lt;br /&gt;Could you provide a sniffer trace?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>