<?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>105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84344/105-mesh-assert-at-0x00032118</link><description>Hi team, 
 I&amp;#39;m currently playing around with the sensor server example where I wanted to include the generic_onoff model in a separate element. I wanted to learn how to add models when I use it to develop. The examples both work separately with no issues</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Feb 2022 07:58:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84344/105-mesh-assert-at-0x00032118" /><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/353249?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 07:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8bcefd5-69fb-42e9-854d-163d213cd986</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Importing model_config_file.c under&amp;nbsp;nRF5_SDK_for_Mesh_v5.0.0_src\models\model_spec\common\src would fix the issue.&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/283601.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/server_5F00_283601.zip"&gt;devzone.nordicsemi.com/.../server_5F00_283601.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/352380?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 14:26:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a754e9-538f-4a78-b7ef-d2c0b6aa0900</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;To re-iterate, the sensor example was used (without changing any of the code) and after adding the file &amp;quot;generic_onoff_mc.c&amp;quot; which was a dependency to operate &amp;quot;generic_onoff_server.h&amp;quot;, I would get the above error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/352376?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 14:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c466896f-2473-4e1e-9b6d-c5d39004f711</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6864.server.rar"&gt;devzone.nordicsemi.com/.../6864.server.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/352375?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 14:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6bd346-6ad7-408e-a151-4d00e1174b7a</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;Sorry! Silly mistake. I double checked so this should be the right one.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/352363?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 13:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306327d7-0c2e-4c51-95c9-31844d401028</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is that the project you are using in this case? The project uploaded is&amp;nbsp;light_switch_server, and it can run without issue. However, the project name in your first post is the sensor server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351928?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 19:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc36b1b3-3d64-47e8-b71c-e822ea815808</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/server.rar"&gt;devzone.nordicsemi.com/.../server.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This includes the project file and .elf file&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351740?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 10:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e60909a8-ed8f-46ff-8b18-0aadd77a39a5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you&amp;nbsp;send the whole project and the .elf?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351581?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 14:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a609540-0fa0-435a-b376-67e7536199c6</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;After running the tool, the error occurs at mesh_config_backend.c:74.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That means its within this function&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644244813961v1.png" alt=" " /&gt; which I find it surprising because when executing line by line, it didn&amp;#39;t even cause any errors here.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;just for reference (correct me if I&amp;#39;m wrong), using cmd, I went to the directory containing the .elf file and ran using the command, &amp;quot;addr2line -e file.elf 0x00032118&amp;quot; to get the results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351541?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 12:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f8148c-458b-4f01-b3c0-d0902b8db14e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]When debugging line by line, it fails&amp;nbsp;at&amp;nbsp;&lt;strong&gt;mesh_config_backend_init&lt;/strong&gt;() inside &lt;strong&gt;mesh_config_backend&lt;/strong&gt;.c at the &lt;strong&gt;for loop&lt;/strong&gt; (line 102) shown below.[/quote]
&lt;p&gt;Does it cause by NRF_MESH_ASSERT(p_file != NULL &amp;amp;&amp;amp; p_file-&amp;gt;p_backend_data != NULL); or&amp;nbsp;NRF_MESH_ASSERT(size_guard &amp;lt;= UINT16_MAX);? Please check the veriables are meet the condifions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You also could use&amp;nbsp;&lt;span&gt;addr2line tool to find which line of code match with location 0x00032118. See this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25886/70-mesh-assert-at-0x00023680/101949#101949"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351361?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 14:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0a8ec9-65c4-497e-b538-85b7a9a1cf2b</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;Yes, I mentioned that on the first post. The error for not including header files is different as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351356?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 14:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909cfc1d-0be1-4d3a-be74-f8cce3700210</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Did you also&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/add_headers_ses.html"&gt;include header files&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351208?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 18:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f6340a-88cc-442e-968c-3d0740fcbe9c</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;I&amp;#39;ve experimented on which file it gets the error from and it seems like it&amp;#39;s from &amp;quot;generic_onoff_mc.c&amp;quot;. No matter where you include it (client, different examples, etc) without ever changing the main, it seems to give the same error. Can you please give some insight on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351148?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 14:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e07d92aa-d856-4781-9d00-24e5cf745980</guid><dc:creator>Christian Paul Perez</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the links, I actually saw the documents after sending my post but I&amp;#39;m still&amp;nbsp;wondering if&amp;nbsp;my method of building&amp;nbsp;a model on top of the sensor example is correct? Was there a reason I couldn&amp;#39;t build the generic_onoff model on top of the sensor model instead of using the simple onoff model?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to also clarify that I used the nRF5 SDK for Mesh v5.0.0 instead of the v4.2.0. My mistake.&lt;/p&gt;
&lt;p&gt;-Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 105, Mesh assert at 0x00032118</title><link>https://devzone.nordicsemi.com/thread/351139?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 14:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f8da2fd-d529-417f-b2b2-5965cd6a1506</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We have a guide for&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.2.0%2Fmd_doc_user_guide_modules_models_creating.html"&gt;creating new models&lt;/a&gt;&lt;span&gt;&amp;nbsp;in the nRF5 SDK 4.2.0 for Mesh documentation on Infocenter. We also have an example of a vendor specific model, named the&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.2.0%2Fmd_models_vendor_simple_on_off_README.html"&gt;Simple OnOff mode&lt;/a&gt;&lt;span&gt;l, which can be used for reference when making your own model.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>