<?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>What can cause a freshly provisioned mesh node to drop connection? (Android status 19)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76293/what-can-cause-a-freshly-provisioned-mesh-node-to-drop-connection-android-status-19</link><description>Dear Nordic Bluetooth Experts, 
 My project is quite simple: A BT Mesh device (generic level server model) powered by a Nordic nRF53832 and an Android app that is used to provision nodes and operate the mesh. The Android app uses Nordic&amp;#39;s BLE and Mesh</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jun 2021 13:17:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76293/what-can-cause-a-freshly-provisioned-mesh-node-to-drop-connection-android-status-19" /><item><title>RE: What can cause a freshly provisioned mesh node to drop connection? (Android status 19)</title><link>https://devzone.nordicsemi.com/thread/315634?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 13:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5ef497-f620-4b97-93a0-799305c4fb71</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You would have to add some logging in the code to see what is actually happening during these disconnects.&lt;span&gt;&amp;nbsp;Logs with&amp;nbsp;&lt;/span&gt;&lt;b&gt;LOG_SRC_ACCESS |&amp;nbsp;LOG_SRC_BEARER&lt;/b&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;b&gt;LOG_LEVEL_DBG3&lt;/b&gt;&lt;span&gt;, might also help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can cause a freshly provisioned mesh node to drop connection? (Android status 19)</title><link>https://devzone.nordicsemi.com/thread/315479?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 17:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57dcfafb-38cc-4bdf-b6f8-51c4ec97ea8d</guid><dc:creator>BlueMike</dc:creator><description>&lt;p&gt;Dear Mttrinh,&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;SDKs in use are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;nRF5 SDK 17.0.2&lt;/li&gt;
&lt;li&gt;nRF5 SDK for Mesh 4.2.0&lt;/li&gt;
&lt;li&gt;Android BLE Library v2.2.4&lt;/li&gt;
&lt;li&gt;Android nRF Mesh v3.1.5&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;The issue happens on a wide range of phones (Samsung, Google, Volla, Huawei) and all Android versions from 8.1 upwards (haven&amp;#39;t tested any older versions).&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to reproduce the issue with Nordic&amp;#39;s app. Meanwhile, do you have any ideas how to figure out why the connection sporadically gets lost? I&amp;#39;ve tried to set NRF_LOG_ENABLED and NRF_PWR_MGMT_CONFIG_LOG_ENABLED at the firmware, hoping they will shed some light onto what&amp;#39;s going on, but haven&amp;#39;t been able to reproduce the problem since. It&amp;#39;s a little difficult: If 20+ nodes are provisioned in a loop (a feature of the app), then there&amp;#39;s always at least one node that shows the issue. But if only a single node is provisioned (like during automated tests), then it almost never happens. Anyway, can you think of any other debug switches in the firmware that can help in finding the cause of the connection lost? Any idea is very much welcome!&lt;br /&gt;&lt;br /&gt;Again, thanks for your help,&lt;br /&gt;Michael.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can cause a freshly provisioned mesh node to drop connection? (Android status 19)</title><link>https://devzone.nordicsemi.com/thread/315403?ContentTypeID=1</link><pubDate>Tue, 15 Jun 2021 12:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ff63133-7227-4362-8920-df67c72037f7</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which nRF5 SDK and Mesh SDK are you using? The status you are getting,&amp;nbsp;&lt;span&gt;BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION, means that the connection was terminated by the phone.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What phone are you testing this on? Can you try testing with other phones as well?&lt;/span&gt;&lt;/p&gt;
[quote user=""]The Android app uses Nordic&amp;#39;s BLE and Mesh libraries[/quote]
&lt;p&gt;I assume this is your own app, a custom app. If so, could you try using our nRF Mesh to provision your node? Are you able to reproduce the issue using our app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>