<?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>5240 SDK V14.2.0 Bluetooth reconnect failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91843/5240-sdk-v14-2-0-bluetooth-reconnect-failure</link><description>I have a BT app on an IPad. I can connect to the the 52840 dev board fine. I tell the iPad app to disconnect and it does. 
 nRF52840 dev board disconnects. When I try to connect to the dev board from the iPad app again the connection fails to complete</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2022 16:56:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91843/5240-sdk-v14-2-0-bluetooth-reconnect-failure" /><item><title>RE: 5240 SDK V14.2.0 Bluetooth reconnect failure</title><link>https://devzone.nordicsemi.com/thread/386250?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 16:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:237bca77-3bd2-43ce-9ffd-4b333aff1dab</guid><dc:creator>davidb</dc:creator><description>&lt;p&gt;I found that the issue is with our application and not sdk code. We will resolve this internally.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5240 SDK V14.2.0 Bluetooth reconnect failure</title><link>https://devzone.nordicsemi.com/thread/385806?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 18:09:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183db5db-71a7-4ce3-b426-c4624a869bdf</guid><dc:creator>davidb</dc:creator><description>&lt;p&gt;Question 1:&lt;/p&gt;
&lt;p&gt;After disconnect is received by nRF52840 we call gap_params_init(), gatt_init(), advertising_data_set(),&amp;nbsp;sd_ble_gap_adv_start(),&lt;/p&gt;
&lt;p&gt;bsp_indication_set(BSP_INDICATE_ADVERTISING);&lt;/p&gt;
&lt;p&gt;I think this should be good.&lt;/p&gt;
&lt;p&gt;Question 2:&lt;/p&gt;
&lt;p&gt;Using nRF Connect app on Android I cannot connect a second time. When I try to connect Connect app displays&lt;/p&gt;
&lt;p&gt;&amp;quot;Error 133 (0x85): GATT_ERROR&amp;quot;&lt;/p&gt;
&lt;p&gt;There are no indications on the 52840 device for this connection attempt.&lt;/p&gt;
&lt;p&gt;Question 3:&lt;/p&gt;
&lt;p&gt;On 52840 device&amp;nbsp; BLE_GAP_EVT_CONNECTED event is received on first connection. When attempting a second connection using iPad app&amp;nbsp;&lt;span&gt;&amp;nbsp;BLE_GAP_EVT_CONNECTED is received but no other events.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sample Log:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;debug&amp;gt; app: PHY update request.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x1.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 2120&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;&amp;lt;info&amp;gt; app: Data length updated to 251 bytes.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x1.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 2120&lt;br /&gt;&amp;lt;info&amp;gt; app: ATT MTU exchange completed. MTU set to 247 bytes.&lt;br /&gt;&amp;lt;debug&amp;gt; app: _evt_handler Event: (0x00)&lt;br /&gt;&amp;lt;info&amp;gt; app: Notifications enabled. 0x00&lt;br /&gt;&amp;lt;debug&amp;gt; app: CONNECTED&lt;br /&gt;&amp;lt;info&amp;gt; app: Connection interval updated: 144, 144.&lt;br /&gt;&amp;lt;debug&amp;gt; app: _evt_handler Event: (0x03)&lt;br /&gt;&amp;lt;info&amp;gt; app: AMT_EVT_TRANSFER_FINISHED. 0x03&lt;br /&gt;&amp;lt;debug&amp;gt; app: Disconnected: reason 0x13.&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; DISCONNECT at this point&lt;/p&gt;
&lt;p&gt;Reconnect from iPad app:&lt;/p&gt;
&lt;p&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x1.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x1.&lt;br /&gt;&amp;lt;debug&amp;gt; app: ++++ Connected&lt;/p&gt;
&lt;p&gt;&amp;lt;debug&amp;gt; app: PHY update request.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x1.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 2120&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 2120&lt;br /&gt;&amp;lt;info&amp;gt; app: Data length updated to 251 bytes.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 251 on connection 0x1.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 251&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 2120&lt;br /&gt;&amp;lt;info&amp;gt; app: ATT MTU exchange completed. MTU set to 247 bytes.&lt;/p&gt;
&lt;p&gt;No other log output&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5240 SDK V14.2.0 Bluetooth reconnect failure</title><link>https://devzone.nordicsemi.com/thread/385662?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 09:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c8ff75-378a-4701-813d-c19679a8fc6b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]When I try to connect to the dev board from the iPad app again the connection fails to complete.[/quote]
&lt;p&gt;1) Does the nRF52840 advertise when you try to connect the second time?&lt;/p&gt;
&lt;p&gt;2) Do you see the same issue with nRF Connect app?&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-mobile"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-mobile&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any errors code when you try to connect?&lt;/p&gt;
&lt;p&gt;3)&amp;nbsp;&lt;/p&gt;
[quote user=""]I don&amp;#39;t see&amp;nbsp;BLE_GAP_EVT_CONN_PARAM_UPDATE event message during the second connection attempt.[/quote]
&lt;p&gt;Do you get&amp;nbsp;BLE_GAP_EVT_CONNECTED ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>