<?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>Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59482/notifications-stops-when-using-internal-bluetooth</link><description>Hello, 
 I&amp;#39;ve asked this question already at StackOverflow, and while I try Wireshark I wanted to see if someone has experienced the same issue and/or can provide further information. Thestack overflow link is the following: Link . The explanation of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Apr 2020 13:34:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59482/notifications-stops-when-using-internal-bluetooth" /><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243415?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 13:34:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5857b35-72f8-4153-b423-f14c94c8941e</guid><dc:creator>PauDC</dc:creator><description>&lt;p&gt;Thaks Hung, will do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243389?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 11:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:232f1ac7-fad7-4196-a217-9bb11730ca43</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Thanks Pau,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have forwarded this to our team to check if they have seen any thing similar.&lt;/p&gt;
&lt;p&gt;But this more likely an issue with the intel chip I would suggest you to also check around&amp;nbsp;with Microsoft or Intel support if they have any solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243329?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 08:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6425e5af-48b3-4d7a-a3cf-764d2379101d</guid><dc:creator>PauDC</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve a HP g430 g3, a lenovo 81HN, a lenovo miix 320-10ICR all with the same bluetooth hardware ID is: vid_8087&amp;amp;pid_0a2a&amp;amp;rev_0001, from Aida64 I read that it&amp;#39;s an Intel Dual Band Wireless-AC 3165. And the driver version in order are: 20.100.6.4, 20.100.6.2 and 20.100.6.2. All these versions are the latest recommended versions by Windows. I&amp;#39;ve tried to update the driver on the HP using Intel&amp;#39;s tool to version 21, but in Windows device manager&amp;#39;s the same old version is showing.&lt;/p&gt;
&lt;p&gt;Meanwhile I found that a colleague with a Fujitsu lifebook e558, hardware id: VID_8087&amp;amp;PID_0A2B&amp;amp;REV_0010 and driver version: 20.0.0.11, and the hardware is Intel Dual Band Wireless-AC 8265 works flawlessly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243231?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 14:59:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6671d57-8bdb-4201-98a5-41af46cd1e47</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you give some more information about the internal Bluetooth chip ? Manufacturer and the driver version etc ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243217?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 14:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ba3d0e0-db6c-43c0-960f-2fe367163fab</guid><dc:creator>PauDC</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;The answer to your questions:&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/59482/notifications-stops-when-using-internal-bluetooth/243181"]Do you have any activity in your PC application that can cause a long latency ?&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;No, the laptops I&amp;#39;m running the software in only have chrome and this program installed, nothing running in background. The laptop is running plugged in and max performance mode.&lt;/span&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/59482/notifications-stops-when-using-internal-bluetooth/243181"]If you test using Microsoft demo example, would you see the same problem ?&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just double checked this, and yes. It stops receiving notifications too after a few seconds.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243181?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 12:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fa40786-d0bf-4a6b-bf88-360460d3f98d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pau,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It seems the PC was NACKing the packets from the nRF52. What I can see in the trace is that that the peripheral (I assume nRF52) was sending notification every 50ms. And it&amp;#39;s about 187 bytes for each notification, split into 8 packets. This is normal. However, at #1238, a fragmented packet started and never ended. The same payload was transmitted again and again&amp;nbsp;and the Sequence Number remained. This indicate that the central received the packets but NACKed them. Usually this behaviour happens when the peer&amp;#39;s buffer is full and it wouldn&amp;#39;t want to receive any new data. (You can read about the Sequence Number (SN) and NESN here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/bluetooth-smart-and-the-nordics-softdevices-part-2"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/bluetooth-smart-and-the-nordics-softdevices-part-2&lt;/a&gt;)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure how it work on the PC side, but if this happens on the Softdevice side, it usually due to the application failed to pull the events out from the Softdevice&amp;#39;s buffer. Do you have any activity in your PC application that can cause a long latency ?&amp;nbsp;&lt;br /&gt;If you test using Microsoft demo example, would you see the same problem ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243114?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 08:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99b3f1bd-13b8-4e29-8b85-f36e61fdd5e9</guid><dc:creator>PauDC</dc:creator><description>&lt;p&gt;Hi Hung,&lt;br /&gt;I&amp;#39;ve updated the dropbox with a second and third capture. I think it&amp;#39;s worth mentioning that the sensor isn&amp;#39;t disconnecting, but I stop receiving notifications. In the 3rd log I saw as I was measuring that the notifications stopped coming at around line 1350. But decided to leave it capturing a bit more because of this Slave - Master things it sniffed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/243003?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 14:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8641127c-0e77-412e-91cb-df6578873fd0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pau,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see that the sniffer was following a connection. You would need to select the Device in the sniffer panel on the top before the connection has been made. Then the sniffer can follow the connection.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/242936?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 11:48:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08906dae-fb17-4da4-957b-7ae048692773</guid><dc:creator>PauDC</dc:creator><description>&lt;p&gt;Hello Hung, the nrf52DK finally arrived and was able to load the sniffer fw. I&amp;#39;ve updated the dropbox folder in the question with the sniffer trace. File is called &amp;#39;wiresharklog.pcapng&amp;#39;. My sensor&amp;#39;s mac address is DA:DD:55:21:D0:3F.&lt;/p&gt;
&lt;p&gt;From the trace, I see that in line 1662 a connection to the sensor is requested, this happens after the sensor disconnects (the issue I&amp;#39;m having). But I can&amp;#39;t see when it is disconnecting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/241838?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 13:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c239316-413d-4d57-a8e1-6cafe0a892fc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t get much information from the log. The device sent notification for about 80 seconds and then it started advertising.&amp;nbsp;&lt;br /&gt;It could be either the device reset or the connection terminated (doesn&amp;#39;t seem like that in the log)&lt;/p&gt;
&lt;p&gt;THe sniffer trace would be very useful.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;You can also debug the nRF52 device and check what&amp;#39;s the disconnect reason when the BLE_GAP_EVT_DISCONNECTED event occurs. And check if it got a assertion + reset.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/241785?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 10:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96706c5c-81d0-4253-be63-ef12a4c87863</guid><dc:creator>PauDC</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve uploaded the sniffing traces you requested to Dropbox. I&amp;#39;m sorry, I don&amp;#39;t have the nRF52DK and I don&amp;#39;t think I can get my hand on one due to the quarantine currently going on. I&amp;#39;ve used USBPcap that sniffs the usb ports on the computer and logs it to a pcap file that easily opens in WireShark. Not sure if that works for you.&lt;/p&gt;
&lt;p&gt;And yes, my code is based on that microsoft example.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notifications stops when using internal bluetooth</title><link>https://devzone.nordicsemi.com/thread/241621?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 14:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e153fd5-de94-43f8-b683-216a5e7e6350</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;HI PauDC,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A sniffer trace would be very useful. Just in case you didn&amp;#39;t know we provide a sniffer firmware that you can use on the nRF52 DK &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;Microsoft provided the example &lt;a href="https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/BluetoothLE/cs"&gt;here&lt;/a&gt;. Does that work for you ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>