<?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>Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44796/mesh-proxy-got-disconnecting-after-connected</link><description>Hi 
 I am using nrf sdk 15.2.0 for MEsh networking.(Mesh SDK version 3.3). 
 Hardware platform -nrf52832(pca10040). 
 Steps followed: 
 1. Compile and Run light switch demo with proxy enabled is working fine. 
 2. after that tested with proxi-coexist</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Mar 2019 14:19:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44796/mesh-proxy-got-disconnecting-after-connected" /><item><title>RE: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/177862?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 14:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e084083d-f3c8-4d6f-a833-da42fe7372bf</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;SDK3.1.0 (Mesh) has the proxy feature included in both the light switch server and client.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When you get this empty assert, it is one of the&amp;nbsp;&lt;span&gt;NRF_MESH_ASSERT(false). I am afraid you have to try them out by setting a breakpoint. Alternatively, changing the &amp;quot;false&amp;quot; with something you can recognize.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/177748?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 08:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7eb4a3f-a6b4-4545-b899-bf1eea129da7</guid><dc:creator>rajis</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/44796/mesh-proxy-got-disconnecting-after-connected/177740"]So is 1. working as expected? Are you disconnecting on purpose, or are you having trouble provisioning?[/quote]
&lt;p&gt;Yes. Test:1 working as expected. We disconnected for just testing.&lt;span class="mceItem mceNonEditable mceQuote" id="mceQuote2"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/44796/mesh-proxy-got-disconnecting-after-connected/177740"]Are 2. and 3. attempts to fix 1.? Or are you trying to add features to 1.?[/quote]
&lt;p&gt;Yes. I am trying to add PROXY_FEATURE in base code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/44796/mesh-proxy-got-disconnecting-after-connected/177740"]NRF_LOG_INFO(&amp;quot;disconnected reason %d&amp;quot;, p_ble_evt-&amp;gt;evt.gap_evt.params.disconnected.reason);[/quote]
&lt;p&gt;Here, I need to clarify my understanding. We can understand the scenario like below from the Test:3 screenshot,&lt;/p&gt;
&lt;p&gt;1. ble stack initialized.&lt;/p&gt;
&lt;p&gt;2. mesh initialized&lt;/p&gt;
&lt;p&gt;3. models initialized&lt;/p&gt;
&lt;p&gt;4. mesh advertising started&lt;/p&gt;
&lt;p&gt;5. device listed in nRF_Mesh app&lt;/p&gt;
&lt;p&gt;6. Connecting device by tap the device name&lt;/p&gt;
&lt;p&gt;In nRF_Mesh side, we can saying it as Disconnecting.&lt;/p&gt;
&lt;p&gt;In Firmware side,&amp;nbsp; we getting ASSERTION_ERROR in some place. it may not be from disconnect event . so we need to find it out that why it happens and where? Am I right ?&lt;/p&gt;
&lt;p&gt;I will update the disconnect event reason..&lt;/p&gt;
&lt;p&gt;Thanks.&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: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/177740?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 08:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa789f43-6669-4d62-a910-2babab090068</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;So is 1. working as expected? Are you disconnecting on purpose, or are you having trouble provisioning?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are 2. and 3. attempts to fix 1.? Or are you trying to add features to 1.?&lt;/p&gt;
&lt;p&gt;If the disconnects are not on purpose, can you please try to log the disconnect reason in the disconnected event?&lt;/p&gt;
&lt;p&gt;NRF_LOG_INFO(&amp;quot;disconnected reason %d&amp;quot;, p_ble_evt-&amp;gt;evt.gap_evt.params.disconnected.reason);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/177709?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 06:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc278da-9fc4-4f40-ab73-30651fab3043</guid><dc:creator>rajis</dc:creator><description>&lt;p&gt;We have tested the ble_app_proximity_coexist with nrf52_SDK_15.2.0 as following combination,&lt;/p&gt;
&lt;p&gt;1. Built and tested the project with default settings, Device listed in nrf_connect and made transaction successfully,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/prox_5F00_coexist_5F00_default_5F00_without_5F00_proxy.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;2. Enabled Macros (MESH_FEATURE_PB_GATT_ENABLED,&amp;nbsp;MESH_FEATURE_GATT_PROXY_ENABLED), got error&amp;nbsp; and couldn&amp;#39;t view the device in nrf_connect and mesh app.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/prox_5F00_coexist_5F00_with_5F00_proxy.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;3. Commented advertising_init(), advertising_start(), tx_powerset() , device listed in nrf_connect and nrf_mesh app. it seems work fine. But it got ASSERTION_ERROR when we make provision through nrf_mesh app. How to solve this Assertion_Error occurrence during provisioning?(This is actual issue we told at the beginning).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/prox_5F00_coexist_5F00_with_5F00_proxy_5F00_commented_5F00_advertise_5F00_funct.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Raji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/177626?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 14:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9099f6e-5fb1-42bd-b575-3c1f5f9d2e1d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It looks like you are hitting one of the NRF_MESH_ASSERT() with false as input:&lt;/p&gt;
&lt;p&gt;NRF_MESH_ASSERT(false);&lt;/p&gt;
&lt;p&gt;Maybe the one in advertiser.c on line 472?&lt;/p&gt;
&lt;p&gt;The unmodified example shouldn&amp;#39;t reach one of these, so it is probably due to some of the changes you did. Now that you know how DEBUG works, can you try to revert the changes you did with the advertising? I believe it could be related to this, as mesh uses advertising packets, so it might not be a fan of changing the advertising type.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try with the unmodified example, and see if the DEBUG define shed some light on what&amp;#39;s going on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/177580?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 12:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8edb9050-a5fd-43ff-a49a-db6d849a054c</guid><dc:creator>rajis</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/debug_5F00_for_5F00_devzone_5F00_LI.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your reply&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/263a.svg" title="Relaxed"&gt;&amp;#x263a;&lt;/span&gt;. DEBUG macro has defined and the project built and ran successfully. We found that an error message &amp;quot;ASSERTION FAILED at :0&amp;quot; before reset event. Can you explain the causes of this error and how to fix this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh proxy  got disconnecting after connected</title><link>https://devzone.nordicsemi.com/thread/176404?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 13:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2409508-e673-4451-a2eb-eb6f1efdcb72</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try to define DEBUG in your preprocessor defines, and see what the log says before the fatal error? It should give some more information on what error that triggered the reset.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>