<?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>I need to print the RSSI level in RTT but i couldn&amp;#39;t do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16791/i-need-to-print-the-rssi-level-in-rtt-but-i-couldn-t-do-somebody-can-help-me</link><description>I try to print the RSSI level but i couldn&amp;#39;t do.
I use nRF51 DK and soft device S130. 
 This is the line that i just write: 
 SEGGER_RTT_printf(&amp;quot;RSSI: %d\n&amp;quot;,p_gap_evt-&amp;gt;params.rssi);</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Oct 2016 11:53:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16791/i-need-to-print-the-rssi-level-in-rtt-but-i-couldn-t-do-somebody-can-help-me" /><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64253?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 11:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beb51dc6-b2c6-4e49-96f3-c8ae1bbca973</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help :) I would appreciate if you could mark the answer as correct( click the checkmark in the circle to the left of the answer).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64252?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 11:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:327e1e38-b585-4b59-9127-1e54b00c9a2e</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Y use rtt viewer and i could do. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64251?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 10:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1628e9af-bac4-4424-88ef-392b6da0d9bd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@Pablo: Have you tried using the &lt;code&gt;NRF_LOG_INFO()&lt;/code&gt; Macro instead? Make sure that you have &lt;code&gt;NRF_LOG_BACKEND_SERIAL_USES_RTT&lt;/code&gt; checked in the &lt;code&gt;sdk_config.h&lt;/code&gt; configuration wizard.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64250?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 19:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc51a8d-0e9f-42a7-9806-1a67b54975ac</guid><dc:creator>TomWS</dc:creator><description>&lt;p&gt;Sorry, I didn&amp;#39;t realize you were using BLE softdevice so I can&amp;#39;t comment on the data fields.  Also, I don&amp;#39;t use that IDE so I&amp;#39;m not sure about the messages.  However, given that the message is a warning that the &amp;#39;expression has no effect&amp;#39; tells me that the SEGGER_... function has been declared as an empty function (doesn&amp;#39;t do anything or take any arguments) meaning that you may not have set up the correct options to use the SEGGER print function.&lt;/p&gt;
&lt;p&gt;Hopefully someone can guide you on this.&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64249?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 18:14:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db6c2fd-b928-432b-9915-7505dd44a6c0</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Tom, here you can saw the problems that uVision show me:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/printf.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64248?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 18:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7e3132c-ab93-4263-8e5d-a6a8602caf83</guid><dc:creator>Pablo</dc:creator><description>&lt;p&gt;Hello Tom,&lt;/p&gt;
&lt;p&gt;I write what you told me, but i still have problems.
I show you an image in a new answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?</title><link>https://devzone.nordicsemi.com/thread/64247?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2016 21:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b15c6ea-b7ad-42a9-8fab-c250c51ece56</guid><dc:creator>TomWS</dc:creator><description>&lt;p&gt;I believe you need terminal number as the first argument to the SEGGER_RTT_printf() function.  So, in your case, it would look like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SEGGER_RTT_printf(0,&amp;quot;RSSI: %d\n&amp;quot;,p_gap_evt-&amp;gt;params.rssi);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As to whether the params actual contain the rssi requires that the extend information is contained in the packet.&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>