<?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 error code 4</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36002/mesh-error-code-4</link><description>Hi, 
 I&amp;#39;m modifying the light_switch client example, so that I can use GPIO as input instead of the button. I was able to build the modified example in SES and download it to the DK. When I look at the log in RTT viewer I&amp;#39;m getting the following error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Jul 2018 20:36:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36002/mesh-error-code-4" /><item><title>RE: Mesh error code 4</title><link>https://devzone.nordicsemi.com/thread/138612?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 20:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ca80fd-442a-402e-b044-b4ff27492924</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Its in SDK15\components\libraries\util\app_error_weak.c-&amp;gt;app_error_fault_handler()&lt;/p&gt;
&lt;p&gt;This function is executed when ever the condition inside APP_ERROR_CHECK is false&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh error code 4</title><link>https://devzone.nordicsemi.com/thread/138611?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 20:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51c6b4ab-83e1-4331-b0b3-506e12622030</guid><dc:creator>Sunil519</dc:creator><description>&lt;p&gt;Hi Aryan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was able to solve the error. I had set the&amp;nbsp;GPIOTE_CONFIG_IN_SENSE_TOGGLE value to false and this was causing the error. But, I want to enable GPIO sensing in Polling mode. How do I change the pin_change_int code to enable the polling mode?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sunil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh error code 4</title><link>https://devzone.nordicsemi.com/thread/138610?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 20:20:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fea5695f-b20d-4815-9e76-3c5127a08414</guid><dc:creator>Sunil519</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I cannot find the function that you&amp;#39;ve mentioned above. I&amp;#39;m using SDK 15 and mesh 2.0.1&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sunil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh error code 4</title><link>https://devzone.nordicsemi.com/thread/138608?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 20:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd3bc34e-7410-4269-af86-22c8e8924a25</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It is APP_ERROR_CHECK failure in your application and&amp;nbsp;It is quite easy to debug this.&lt;/p&gt;
&lt;p&gt;In&amp;nbsp;app_error_weak.c function comment out&amp;nbsp;velow&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#ifndef DEBUG
    NRF_LOG_WARNING(&amp;quot;System reset&amp;quot;);
    NVIC_SystemReset();
#else
    app_error_save_and_stop(id, pc, info);
#endif // DEBUG&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;recompile and flash the code and start it in the debug mode.&amp;nbsp; When you run it and when this error happens, the debugger will automatically halt inside this function at&amp;nbsp;NRF_BREAKPOINT_COND.&lt;/p&gt;
&lt;p&gt;You can step few more instructions to see which line exactly caused a failure in the APP_ERROR_CHECK.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>