<?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>Change publication address over UART leads to Mesh assert</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60908/change-publication-address-over-uart-leads-to-mesh-assert</link><description>Hi, I am using the nRF52840 DevBoard with SDK 16.0 and Mesh SDK 4.1 and am building on the light_switch_client example. 
 I am trying to change the publication address by PC using UART. I added all the UART dependencies to my project. 
 So far, UART is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Feb 2021 08:33:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60908/change-publication-address-over-uart-leads-to-mesh-assert" /><item><title>RE: Change publication address over UART leads to Mesh assert</title><link>https://devzone.nordicsemi.com/thread/293253?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 08:33:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38c36d68-a090-46e0-843e-d5fb9a553db9</guid><dc:creator>him</dc:creator><description>&lt;p&gt;Hi BroccLee&lt;/p&gt;
&lt;p&gt;Did you get a solution for this query?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Himanshu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change publication address over UART leads to Mesh assert</title><link>https://devzone.nordicsemi.com/thread/248874?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 09:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b0dba0f-6ca8-4e27-adf0-aeb64d8e03e2</guid><dc:creator>BroccLee</dc:creator><description>&lt;p&gt;I tried it again with the main.c file I posted here and got a different error code with the same result (Mesh error). Weardly enough I first had the error&amp;nbsp;0x0002794A once, then after reset I got the error&amp;nbsp;0x00031B88 about four times and after the fifth reset it worked, it did change the publication address. whe i try to set it to a different publication address, the same happens again: I get four or five times the error&amp;nbsp;0x00031B88 and then at one point after several resets it just works.&lt;/p&gt;
&lt;p&gt;Here are the error descriptions:&lt;/p&gt;
&lt;p&gt;0x0002794A: [..]\nrf5_SDK_Mesh_4.1.0\examples\light_switch\client\src/main.c:536 (discriminator 1)&lt;br /&gt;&amp;nbsp; -&amp;gt;&amp;nbsp;&lt;strong&gt;NRF_MESH_ASSERT(access_model_publish_address_set(handle, publish_address_handle) == NRF_SUCCESS);&lt;/strong&gt;&lt;br /&gt;0x00031B88: [..]\nrf5_SDK_Mesh_4.1.0\mesh\core\src/mesh_config.c:270 (discriminator 1) &lt;br /&gt;&amp;nbsp; -&amp;gt;&amp;nbsp;&lt;strong&gt;NRF_MESH_ASSERT_DEBUG(*p_flags &amp;amp; MESH_CONFIG_ENTRY_FLAG_BUSY);&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;I hope this helps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change publication address over UART leads to Mesh assert</title><link>https://devzone.nordicsemi.com/thread/248671?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 10:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2534651e-56b0-4967-826c-065506ca920f</guid><dc:creator>BroccLee</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;After running the command I get:&lt;/p&gt;
&lt;div&gt;[...]\nrf5_SDK_Mesh_4.1.0\examples\light_switch\client\src/main.c:530 (discriminator 3)&lt;br /&gt;which corresponds to the line&amp;nbsp;&lt;strong&gt;__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Not defined ERROR\n&amp;quot;);&amp;nbsp;&lt;/strong&gt;(I might have changed something since I asked the question). This is inside the&amp;nbsp;&lt;strong&gt;change_publication_address()&amp;nbsp;&lt;/strong&gt;function in the&amp;nbsp;&lt;strong&gt;switch(status) default case&lt;/strong&gt;, which is line 532 in the main.c I attached above.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thank you.&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change publication address over UART leads to Mesh assert</title><link>https://devzone.nordicsemi.com/thread/248570?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 00:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa81e969-087c-4e14-a8cd-fbc0935ed852</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Could be helpful to know exactly where the assert is coming from. Could you use the addr2line tool to find which line of code match the the location of the assert (&lt;strong&gt;0x00027B36&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;See this ticket for more information: &lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25886/70-mesh-assert-at-0x00023680/101949#101949"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/25886/70-mesh-assert-at-0x00023680/101949#101949&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>