<?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>how to use the APP_ERROR_CHECK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10928/how-to-use-the-app_error_check</link><description>i find that the macro APP_ERROR_CHECK call the macro APP_ERROR_HANDLER 
 do \
{ \
 const uint32_t LOCAL_ERR_CODE = (ERR_CODE); \
 if (LOCAL_ERR_CODE != NRF_SUCCESS) \
 { \
 APP_ERROR_HANDLER(LOCAL_ERR_CODE); \
 } \
} while (0) 
 
 and than the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Dec 2015 07:56:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10928/how-to-use-the-app_error_check" /><item><title>RE: how to use the APP_ERROR_CHECK</title><link>https://devzone.nordicsemi.com/thread/40854?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 07:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9404440c-0cb5-44b7-b988-3a1e90a7af01</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Take a look at this &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use the APP_ERROR_CHECK</title><link>https://devzone.nordicsemi.com/thread/40853?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 07:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:826293ea-de14-4a51-a60a-870404bc002d</guid><dc:creator>bernerd</dc:creator><description>&lt;p&gt;i  am sorry for my Vague questions&lt;/p&gt;
&lt;p&gt;i mean ,should i set a break point in this function,,when jump in this function , i can check the values : m_error_code , m_line_num , m_p_file_name ,&lt;/p&gt;
&lt;p&gt;the m_error_code is a Integer value, and i should determine the extra error with the integer value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use the APP_ERROR_CHECK</title><link>https://devzone.nordicsemi.com/thread/40852?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 05:43:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dbcc5c6-1511-4bbd-aec1-8f6a9e24277e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;What do you mean &amp;quot;take use of it&amp;quot;? There&amp;#39;s a function returns non zero, APP_ERROR_CHECK eventually calls the error handler routine. You can break in it to see how you got an error or replace it with a function of your own to reset the chip, dump a stack trace to flash or anything else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>