<?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>DFU BLE Connect and NRF Connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82981/dfu-ble-connect-and-nrf-connect</link><description>Hello! 
 I am facing some strange behaviour using nordics dfu update service on android. 
 Somtimes after starting the dfu upload the app is not able to connect to the dfu target with error 133: 
 
 When I am starting nrf connect app on the same mobile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jan 2022 12:37:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82981/dfu-ble-connect-and-nrf-connect" /><item><title>RE: DFU BLE Connect and NRF Connect</title><link>https://devzone.nordicsemi.com/thread/345899?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 12:37:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56f13d18-ae02-46df-aec4-822be24b5e3b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again!&lt;/p&gt;
&lt;p&gt;That sounds great! Thanks for sharing your solution here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE Connect and NRF Connect</title><link>https://devzone.nordicsemi.com/thread/345552?ContentTypeID=1</link><pubDate>Sun, 02 Jan 2022 19:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45c5ff62-b0dd-4aa1-a9f3-b4727e7a740e</guid><dc:creator>Andreas48752</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;thank you for your reply.&lt;/p&gt;
&lt;p&gt;I searched a little bit more and found some threads where it says that the change of the MAC address (+1) while booting in bootloader may cause connection problems on android as there will be no ble scan&amp;nbsp;&amp;nbsp;when starting dfu library update.&lt;/p&gt;
&lt;p&gt;I have to verify this but I changed my android app to start a 10 second ble scan right before starting dfu update and until now connection can be made!&lt;/p&gt;
&lt;p&gt;Andreas!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE Connect and NRF Connect</title><link>https://devzone.nordicsemi.com/thread/345280?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 15:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ecc996f-4bd9-45f0-b9e4-af6b0f062e94</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Andreas&lt;/p&gt;
&lt;p&gt;Error code 133 is very famous for being undocumented by&amp;nbsp;&lt;span&gt;Android itself. It is kind of a generic GATT/GAP error, usually related to a timeout where the phone is trying to do something when it is disconnected. This error happens very rarely from Android 8.0 onwards (it sometimes may be on Samsung devices and we almost never see this on Pixels). If the phone is older or has a worse BLE implementation there is a larger chance of this occuring.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]What does nrf connect at startup to &amp;quot;heal&amp;quot; ble in my app?[/quote]
&lt;p&gt;So my guess is that it doesn&amp;#39;t do anything in particular to heal it. It just restarts it. &lt;span&gt;Solutions to other run-ins with error code 133 includes increasing the connection retries or even increase the delay between each retry, so it would make sense that another attempt would make it work for you.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you tell me how often this happens per DFU attempt? And what phone are you using?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE Connect and NRF Connect</title><link>https://devzone.nordicsemi.com/thread/344662?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 16:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c907ee3-9327-4988-9af6-9c7a88c9c562</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Andreas!&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this. Due to the holidays you might have to expect both limited help and slower responses on DevZone.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>