<?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>Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69361/android-nrf-connect-not-logging-what-is-sent-to-peripheral</link><description>If I use nRF Connect to connect to the Peripheral and the Subscribe to Notification Characteristic I can see in the &amp;quot;Enabling notifications&amp;quot; in the log (however no notifications are sent). 
 If instead I connect to the peripheral with the app (FitShow</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Dec 2020 08:56:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69361/android-nrf-connect-not-logging-what-is-sent-to-peripheral" /><item><title>RE: Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/thread/285247?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 08:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19cf64e4-4d49-463b-bf9f-c2054f5eaf76</guid><dc:creator>Stellarat</dc:creator><description>&lt;p&gt;Great answer - many thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/thread/285052?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 12:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a99e381-95ba-426d-8541-52d782f0987e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The sniffer dongle won&amp;#39;t have to be connected to your devices to sniff the traffic, but if the link between the two devices &amp;#39;under test&amp;#39; is encrypted then you might not be able to sniff the communication.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The older pairing modes introduced by Bluetooth 4.0 can usually be sniffed, as long as the sniffer is active when the devices under test do the pairing and bonding stage.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If on the other hand they use the improved LESC pairing mode introduced in Bluetooth 4.2, then the sniffer will not be able to sniff the communication after they encrypt the link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to force the peripheral to use a simpler pairing scheme it should be sufficient to use a central device (phone) that doesn&amp;#39;t support Bluetooth 4.2 or later.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/thread/284893?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 20:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82742168-5230-43bf-890f-bec06714dff4</guid><dc:creator>Stellarat</dc:creator><description>&lt;p&gt;I wondered if that would be the case.&lt;/p&gt;
&lt;p&gt;I have played around with BLE GATT services before, but I&amp;#39;m new to sniffing.&lt;/p&gt;
&lt;p&gt;Can you tell me whether using nRF52840 Dongle (PCA10059) with the nRF Sniffer application would allow me to intercept the BLE traffic between my phone and the peripheral even though they are not connected to the dongle? I want to make sure that I don&amp;#39;t somehow have to set it up as a &amp;quot;Man in the Middle&amp;quot; to intercept the traffic.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/thread/284849?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 15:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:067bc7f2-07b5-4e06-9e20-1a73707685c5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think the nRF Connect app will have visibility into all the activities done by the FitShow app, for security reasons.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you would be better off sniffing the BLE communication using some kind of Bluetooth sniffer, such as the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer&lt;/a&gt; we provide for running on a standard Nordic devkit or dongle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can see the exact packets sent back and forth between the BLE central and peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/thread/284654?ContentTypeID=1</link><pubDate>Sun, 13 Dec 2020 17:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a671b988-09e2-443d-889e-1485e566bc23</guid><dc:creator>Stellarat</dc:creator><description>&lt;p&gt;On the peripheral side there is a rowing machine performance monitor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The BLE service is a Custom GATT service. It&amp;#39;s because it is Custom rather than FTMS that I am trying to reverse engineer it so that I can translate it to FTMS.&lt;/p&gt;
&lt;p&gt;I am not using an SDK, just trying to sniff the BLE traffic.&lt;/p&gt;
&lt;p&gt;Yes, when&amp;nbsp; I use nRF Connect to subscribe to notifications ,I can see from the log that a write is made to the CCCD. However, if I use the FitShow app that connects to the peripheral, I do not see it writing to the CCCD.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It appears that when nRF Connect is logging the BLE traffic it does not log what is done by the FitShow app running on the phone, it only logs what the App receives (the actual notifications).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android nRF Connect not logging what is sent to peripheral</title><link>https://devzone.nordicsemi.com/thread/284560?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 13:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0a0b5df-5087-4256-a1f2-8aebe5bf6d7b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Which example or project are you running on the peripheral side?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you know which BLE service(s) it is using?&lt;/p&gt;
&lt;p&gt;Also, which SDK version are you using?&lt;/p&gt;
&lt;p&gt;Any characteristic that supports notifications will implement what is called a CCCD (client characteristic configuration descriptor), and the client (phone in this case) needs to write to the CCCD to enable notifications.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have multiple characteristics that support notifications you need to make sure you set the CCCD for all of them (or at least the ones you want to receive notifications from).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>