<?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>WHAT IS &amp;quot;ret_code_t&amp;quot; ??????</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64292/what-is-ret_code_t</link><description>HI... I&amp;#39;m in the middle of understanding code line by line...I&amp;#39;ve taken classes of C/C++ for an year, but BLE programming by myself is so difficult ㅠㅠ I have a very simple question that I can&amp;#39;t find out!!!! WHAT IS &amp;quot; ret_code_t&amp;quot;???? I can find it in many</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jul 2020 08:17:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64292/what-is-ret_code_t" /><item><title>RE: WHAT IS "ret_code_t" ??????</title><link>https://devzone.nordicsemi.com/thread/262125?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 08:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78c681d9-e46e-43f0-a5e1-f67a908991fa</guid><dc:creator>Soojin</dc:creator><description>&lt;p&gt;I&amp;#39;m using SEGGER and also using visual studio to see the main.c files.&lt;br /&gt;Thanks! Great help!! Hope you have a great day:)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WHAT IS "ret_code_t" ??????</title><link>https://devzone.nordicsemi.com/thread/262117?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2020 07:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f68a0aa6-0ba2-4618-8769-d8bab6514f0a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;What IDE are you using?&lt;/p&gt;
&lt;p&gt;Any decent IDE will have some way that allows you to select a name - such as&amp;nbsp;&lt;span&gt;&lt;strong&gt;ret_code_t&lt;/strong&gt; - and &amp;#39;&lt;em&gt;Go To Definition&lt;/em&gt;&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;eg, in Segger Embedded Studio (SES):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1596009387017v1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;As the name suggests, this will take you to where that symbol is defined.&lt;/p&gt;
&lt;p&gt;In this case, it is in sdk_errors.h:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * @brief API Result.
 *
 * @details Indicates success or failure of an API procedure. In case of failure, a comprehensive
 *          error code indicating cause or reason for failure is provided.
 *
 *          Though called an API result, it could used in Asynchronous notifications callback along
 *          with asynchronous callback as event result. This mechanism is employed when an event
 *          marks the end of procedure initiated using API. API result, in this case, will only be
 *          an indicative of whether the procedure has been requested successfully.
 */
typedef uint32_t ret_code_t;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note that a descriptive comment is provided.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In fact, if you just hover your mouse over the symbol, SES - like many other IDEs - will pop up the definition:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1596009476431v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but then you don&amp;#39;t get to see the documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(some other IDEs do include documentation here)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;#CodeBrowsing #GoToDefinition&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>