<?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>Logging Communication between peripheral and central, nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111516/logging-communication-between-peripheral-and-central-nrf52832</link><description>Hello. 
 I have a product that I am working on which a peripheral and it is able to communicate test data over BLE UART connection. For development purposes, we have internally been an app such as Bluefruit from Adafruit to communicate back and forth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 May 2024 13:25:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111516/logging-communication-between-peripheral-and-central-nrf52832" /><item><title>RE: Logging Communication between peripheral and central, nRF52832</title><link>https://devzone.nordicsemi.com/thread/486039?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 13:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef287ed1-5d16-43a7-ae1d-3b8808642eec</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The central UART will print whatever that is coming in via the UART TX characteristic on it&amp;#39;s UART. I don&amp;#39;t know if I got your question correctly, but you can then open a terminal, such as Putty, and log everything to a file if you like to:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1716816040714v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is possible in most uart terminals.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can also recommend the terminal &amp;quot;Termite&amp;quot; for simple UART communication. While it is possible to set up Putty for two way communication, this is default in Termite. Termite can also save to file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ironically, if you use the nRF Connect for Desktop -&amp;gt; Bluetooth Low Energy application, and connect to a device running ncs\nrf\samples\bluetooth\peripheral_uart, this will actually take input/output in ascii, but I believe this is hard coded for that particular UUID. So it is not possible with a custom UUID, as far as I know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suggest you check out the peripheral_uart and central_uart samples. Then if you want to print stuff from your own application with a custom UUID, then I suggest you modify the central_uart application to connect to and use that particular UUID instead.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>