<?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 do I send Logger Messages to my mobile instead of UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106530/how-do-i-send-logger-messages-to-my-mobile-instead-of-uart</link><description>I&amp;#39;m taking the example &amp;quot; usbd_ble_uart_freertos &amp;quot; from the &amp;quot; nRF5_SDK_17.1.0 &amp;quot; for the Board nRF52833 with PCA10100 . For this example, I took off the part about USB because I&amp;#39;m not interested in using that at the moment. Also, I can comment that right</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Dec 2023 08:04:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106530/how-do-i-send-logger-messages-to-my-mobile-instead-of-uart" /><item><title>RE: How do I send Logger Messages to my mobile instead of UART?</title><link>https://devzone.nordicsemi.com/thread/460059?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 08:04:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:810cec31-16f9-43e1-8540-90f3bb47aab7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Fernando,&lt;/p&gt;
&lt;p&gt;Yes, the nRF Logger sample application works, but not for what I though you wanted to do. You could use NUS to transfer your logs and handle that on the phone side in your custom phone app (for instance using the nRF Logger library), but that may not be very useful for the reasons outlined in my previous post.&lt;/p&gt;
&lt;p&gt;A better approach could be to use the flash backed, so that you will be able to store logs in cases where you are not able to transfer logs over BLE, and then transfer the logs when a connection is made. But how you do logging in the field is highly application dependent. If this is for logging in your lab / on your desk, it would certainly be better to use UART or RTT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I send Logger Messages to my mobile instead of UART?</title><link>https://devzone.nordicsemi.com/thread/460006?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 18:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b1d2341-d092-4026-891a-df7cc8b84d70</guid><dc:creator>Fernando Mercado</dc:creator><description>&lt;p&gt;Hi Einar.&lt;/p&gt;
&lt;p&gt;Thanks so much for your answer. Actually, the nRF Logger works, the thing is that it&amp;#39;s just working with the NUS service, which I need for my project.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Fernando M.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I send Logger Messages to my mobile instead of UART?</title><link>https://devzone.nordicsemi.com/thread/459926?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 12:54:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b16131c9-d669-4f0d-9330-a891327e8fca</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think you have misunderstood the &lt;a href="https://github.com/NordicSemiconductor/nRF-Logger-API"&gt;nRF Logger&lt;/a&gt;. It is a library (and example application) for logging in Android applications. Not for receiving logs via Bluetooth or similar from an nRF.&lt;/p&gt;
&lt;p&gt;There are ways to transfer logs wirelessly, but that is not really sensible for debugging (a whole lot of things need to work in order to get the logging working in that case, and when something fails you typically want logging, but that will then most likely break). Also, we do not provide any such system for logging in the nRF5 SDK (the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_nrf_log.html"&gt;logger module&lt;/a&gt; supports UART, RTT and flash).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>