<?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 print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22986/how-to-print-an-array-using-nrf_log_info</link><description>Hallo everyone, 
 I am reciving a notification from my server, which lenght can be 8, 20, 30 bytes but when I want to display the info using NRF_LOG_INFO is not printing out the whole notification, only one byte 
 I use the following code to save the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jun 2017 13:10:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22986/how-to-print-an-array-using-nrf_log_info" /><item><title>RE: How to print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/thread/90441?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 13:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90bdaca2-240e-472c-8e22-5ccea205a97f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The points/letter are the corresponding ascii characters. Take a look at the table &lt;a href="http://www.asciitable.com/"&gt;here&lt;/a&gt;. E.g. &lt;code&gt;4D&lt;/code&gt; in hex is the letter &lt;code&gt;M&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The APP:INFO tells you that the message is printed from the module named APP(printing from main.c; you have the #define NRF_LOG_MODULE_NAME &amp;quot;APP&amp;quot; at top of main.c. If the message is from e.g. the softdevice_handler.c module it would have been e.g. SDH:INFO). The :INFO is the severity level of the message. You can have INFO, ERROR, WARNING and DEBUG.&lt;/p&gt;
&lt;p&gt;If you for some reason don&amp;#39;t want this, you will have to set the &lt;code&gt;LOG_INFO_PREFIX&lt;/code&gt; in nrf_log_internal.h to &lt;code&gt;#define LOG_INFO_PREFIX &amp;quot;&amp;quot;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/thread/90440?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 09:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc6116e-8b9b-4fc6-bfa0-53f696b057a4</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;@TurboJ It works but dou you know why i got these points  and letter as an output?&lt;/p&gt;
&lt;p&gt;picture attached
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Sin-ttulo.png" alt="image description" /&gt;
Other question is is possible to remove APP:INFO:?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/thread/90439?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 09:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d59d58-34de-44e1-b069-dfe678939364</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;&lt;code&gt;Thanks&lt;/code&gt; i hope it works&lt;code&gt;ok&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/thread/90438?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 08:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88fcea46-5d50-4cbe-a4a9-e01db889da03</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Add back quotes &lt;code&gt;LIKE-THIS()&lt;/code&gt; - or use the 101... button above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/thread/90437?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 08:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934c1021-8e3e-4c33-b087-2b97a8aae564</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;I didnt know it was a function of this! thanks a lot
How do you make the function in red?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print an array  using NRF_LOG_INFO</title><link>https://devzone.nordicsemi.com/thread/90436?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 08:34:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cb1d89c-2b25-432f-b8e3-32cc03bebc61</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Have you tried the &lt;code&gt;NRF_LOG_HEXDUMP_INFO()&lt;/code&gt; macro?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>