<?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>pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications</link><description>Hello, 
 whilst implementing my embedded device software, I&amp;#39;m developing a tool running on a Windows laptop to validate my work. 
 The idea is to use pc-ble-driver-py python bindings to implement simple interactions with the device over BLE using the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Oct 2023 20:15:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications" /><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/448896?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 20:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0538d2e0-d931-4431-ae8b-64c689f98dbf</guid><dc:creator>hector_leon</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/448128?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 11:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9a48d15-96c7-4d97-a262-8050debe2f61</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="hector_leon"]How did you developed a tool running on a Windows laptop?[/quote]
&lt;p&gt;As discussed in the previous comments on this ticket you can use the (now deprecated) pc-ble-driver to create an windows application that does Bluetooth through a Nordic BLE Connectivity device.&lt;/p&gt;
[quote user="hector_leon"]I need to do the same with C# but I don&amp;#39;t know where to start.[/quote]
&lt;p&gt;As far as I know we do not have any application made using C#, could you elaborate on this requirement on your part? I personally have no experience working with C#, but could it not be a possibility to interface your C# based application with a standard C or python application?&lt;br /&gt;&lt;br /&gt;Please keep in mind that this ticket is over 3 years old, and so I would not expect the original poster to come back to this ticket quickly. In this case I would therefore recommend opening a new ticket for this issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/448045?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 01:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a727dc-b4c2-4361-a2c3-bb199a9c0044</guid><dc:creator>hector_leon</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How did you developed a tool running on a Windows laptop? I need to do the same with C# but I don&amp;#39;t know where to start. I&amp;#39;ll appreciate your help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/284844?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 15:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f8f75ca-fbae-42c9-a7b6-2e8e15e68ade</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Davege,&lt;br /&gt;&lt;br /&gt;Attached you will find a zip file for the peripheral project to be used with SDK v.17.0.2. It is modified to send two notifications every connection event, with a connection interval of 15 ms.&lt;br /&gt;The attached python file is the file you should run for the central, with the pc-ble-driver-py python package installed.&lt;br /&gt;&lt;br /&gt;Please flash an nRF52 DK with the peripheral firmware, and run a central with the pc-ble-driver-py code, and take a trace of the communication that is happening.&lt;br /&gt;Ideally we should then see multiple notifications per connection event.&lt;br /&gt;&lt;br /&gt;Looking forward to hearing back from you,&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8255._5F005F00_ble_5F00_app_5F00_hrs_5F00_multiple_5F00_notifications_5F00_pca10040.zip"&gt;devzone.nordicsemi.com/.../8255._5F005F00_ble_5F00_app_5F00_hrs_5F00_multiple_5F00_notifications_5F00_pca10040.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7242._5F005F00_heart_5F00_rate_5F00_collector_5F00_multiple_5F00_notifications.py"&gt;devzone.nordicsemi.com/.../7242._5F005F00_heart_5F00_rate_5F00_collector_5F00_multiple_5F00_notifications.py&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/284594?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 15:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:690b8b60-12b8-437d-9e43-d9fb067419cb</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;it would be great to have those, if I can just use a nRF52-DK as a peripheral it is even better.&lt;/p&gt;
&lt;p&gt;I can first test and then providing a sniffing trace to you.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/284489?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 10:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1363aa35-18da-4e1d-ba1a-3a5d6df4a081</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Davege,&lt;/p&gt;
[quote user="davege"]I&amp;#39;m a bit frustrated as now I&amp;#39;m at the point where it would be extremely useful to get the notifications running.[/quote]
&lt;p&gt;Yes, for course. I am sorry to hear that.&lt;/p&gt;
[quote user="davege"]&lt;p&gt;I tried adding your changes but see no effects whatsoever.&lt;/p&gt;
&lt;p&gt;Did something change with the setup you have?&lt;/p&gt;[/quote]
&lt;p&gt;Could you send a trace of the communication when you test it with the changes?&lt;br /&gt;With the changes mentioned in my last comment I am seeing multiple notifications per connection event.&lt;/p&gt;
[quote user="davege"]I believe that if you find any kind of solution, that will work also on your end (using Nordic UART characteristic or similar).[/quote]
&lt;p&gt;Using the code from my last comment I am seeing multiple notification per connection event on my end.&lt;br /&gt;If it would be easier for you, I could send you the .py file and .hex file for the peripheral, for you to test this?&lt;br /&gt;If you are not seeing multiple notifications per event it would be really useful to see a sniffer trace.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/284475?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 10:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d5c2d44-3802-488e-925f-6ef5eb5a6783</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I tried adding your changes but see no effects whatsoever.&lt;/p&gt;
&lt;p&gt;Did something change with the setup you have?&lt;/p&gt;
&lt;p&gt;I believe that if you find any kind of solution, that will work also on your end (using Nordic UART characteristic or similar).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a bit frustrated as now I&amp;#39;m at the point where it would be extremely useful to get the notifications running.&lt;/p&gt;
&lt;p&gt;Do you know if nRF Connect Desktop is using pc-ble-driver dll underneath for the connection to the dongle?&lt;br /&gt;If this is the case, it may be easy to spot the change in the way the API are invoked on two sides.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/283299?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 11:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:155a16eb-35bc-4633-836a-d78adc5adad5</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Davege,&lt;/p&gt;
[quote user="davege"]&lt;p&gt;Unfortunately neither myself or my team at the moment has the capacity to move the testing framework implementation to pc-ble-driver, which I used in the past and I can confirm it works great.&lt;/p&gt;
&lt;p&gt;So hopefully I&amp;#39;ll just wait here to understand if there&amp;#39;s any movement.&lt;/p&gt;[/quote]
&lt;p&gt;I totally understand, no worries at all. We will get to the bottom of this.&lt;br /&gt;&lt;br /&gt;This might seem trivial, but could you add the following modification to your code, to see if it allows you to receive multiple notification packets per connection event?&lt;br /&gt;If you are using the heart_rate_collector example, this code block should be inserted in the collector class&amp;#39;s&amp;nbsp;&lt;em&gt;open&lt;/em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;/span&gt; function, in the NRF52 section.&lt;br /&gt;It should look like this:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    def open(self):
        self.adapter.driver.open()
        if config.__conn_ic_id__.upper() == &amp;quot;NRF51&amp;quot;:
            self.adapter.driver.ble_enable(
                BLEEnableParams(
                    vs_uuid_count=1,
                    service_changed=0,
                    periph_conn_count=0,
                    central_conn_count=1,
                    central_sec_count=0,
                )
            )
        elif config.__conn_ic_id__.upper() == &amp;quot;NRF52&amp;quot;:
            gatt_cfg = BLEConfigConnGatt()
            gatt_cfg.att_mtu = self.adapter.default_mtu
            gatt_cfg.tag = CFG_TAG
            self.adapter.driver.ble_cfg_set(BLEConfig.conn_gatt, gatt_cfg)

            conn_cfg = BLEConfigConnGap()
            conn_cfg.conn_count = 1
            conn_cfg.event_length = 320
            self.adapter.driver.ble_cfg_set(BLEConfig.conn_gap, conn_cfg)

            self.adapter.driver.ble_enable()&lt;/pre&gt;&lt;br /&gt;You will also need to add the&amp;nbsp;&lt;em&gt;BLEConfigConnGap&amp;nbsp;&lt;/em&gt;method to the list of globals, imported from driver, which should then look like this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    global config, BLEDriver, BLEAdvData, BLEEvtID, BLEAdapter, BLEEnableParams, BLEGapTimeoutSrc, BLEUUID, BLEConfigCommon, BLEConfig, BLEConfigConnGatt, BLEConfigConnGap, BLEGapScanParams
    from pc_ble_driver_py import config

    config.__conn_ic_id__ = conn_ic_id
    # noinspection PyUnresolvedReferences
    from pc_ble_driver_py.ble_driver import (
        BLEDriver,
        BLEAdvData,
        BLEEvtID,
        BLEEnableParams,
        BLEGapTimeoutSrc,
        BLEUUID,
        BLEGapScanParams,
        BLEConfigCommon,
        BLEConfig,
        BLEConfigConnGatt,
        BLEConfigConnGap,
    )&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The only difference here is that the default event_length parameter is not used, instead, the maximum event_length for the given connection interval is set explicitly.&lt;br /&gt;If you could test this with your own test-script and let me know if you succeed in getting multiple packets per event, that would be great.&lt;br /&gt;&lt;br /&gt;If it does not enable you to send multiple notifications per connection event, could you provide a trace of the test, with the code above added?&lt;br /&gt;&lt;br /&gt;I will continue to look into this to find the required event_length analytically - instead of just setting it to the maximum value.&lt;/p&gt;
[quote user="davege"]Do you believe that marking this ticket as private can be useful to push things a little bit?[/quote]
&lt;p&gt;No, this will not affect the internal requests priority - since the only difference between private tickets and public ones is who may view it.&lt;br /&gt;Private tickets is of course only viewable by the tickets creator and the Technical Support staff here at Nordic.&lt;br /&gt;&lt;br /&gt;Looking forward to hearing the results of your test!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/283131?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 14:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9e8df91-311a-4622-b17e-571eb068a5ca</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;thanks for this.&lt;/p&gt;
&lt;p&gt;Unfortunately neither myself or my team at the moment has the capacity to move the testing framework implementation to pc-ble-driver, which I used in the past and I can confirm it works great.&lt;/p&gt;
&lt;p&gt;So hopefully I&amp;#39;ll just wait here to understand if there&amp;#39;s any movement.&lt;/p&gt;
&lt;p&gt;Do you believe that marking this ticket as private can be useful to push things a little bit?&lt;/p&gt;
&lt;p&gt;My company is using Nordic chips for different products, so we are already in contact.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/282415?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 11:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e44e97e-a8a1-4db2-9814-4c96a8d3b696</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Davege,&lt;/p&gt;
[quote user="davege"]&lt;p&gt;In my opinion, it is very unlikely that the problem is on the connectivity firmware running on the DK/dongle.&lt;/p&gt;
&lt;p&gt;The reason is that exactly the &lt;strong&gt;same dongle running the same FW&lt;/strong&gt; is not showing the issue when subscribing to notifications from the char via nRF Connect Desktop.&lt;/p&gt;[/quote]
&lt;p&gt;I fully agree with this reasoning.&lt;/p&gt;
[quote user="davege"]My feeling is that there is something wrong during the configuration of the board... possibly some settings hardcoded in the serialisation layer transporting data from the DK to the script, when opening the link.[/quote]
&lt;p&gt;I too think that this might be an issue here. I have done some more testing, and it seems that the default ( used in the HRM collector example ) RX/TX window of the pc-ble-driver-py is 1310µs compared to the pc-ble-driver which defaults to 2120µs. However, both of these windows are big enough for multiple packets - so I do not immediately see this as a reason for the single-packet-events of the pc-ble-driver-py. However, I have noted it as the main difference in the connection configuration between the two drivers, in the notes I have made for the developers.&lt;br /&gt;&lt;br /&gt;I have created an internal ticket on this with the developers of the pc-ble-driver-py, and I hope to hear from them soon on this issue.&lt;br /&gt;Unfortunately, I am unable to estimate when they will have time to review the case exactly.&lt;br /&gt;Is this issue a blocker for your current development? If so, is there an option for you to use the pc-ble-driver instead, for the time being?&lt;br /&gt;Reviewing the forum for mentions of the pc-ble-driver-py&amp;#39;s performance I have come across some posts claiming that it is significantly slower ( lower throughput ) than the pc-ble-driver. I guess this is somewhat to be expected, since the pc-ble-driver-py is an abstraction on top of the existing pc-ble-driver, but nevertheless it is something to consider.&lt;/p&gt;
[quote user="davege"]Thanks again for keeping me posted, I&amp;#39;m really curious to understand what&amp;#39;s happening :)[/quote]
&lt;p&gt;It is no problem at all - I too am curious to see what the root cause of this behavior should turn out to be! :)&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/282167?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 21:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f3bdba-b9a3-4de1-b52e-27f59a1cbefc</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;thanks again for your update.&lt;/p&gt;
&lt;p&gt;In my opinion, it is very unlikely that the problem is on the connectivity firmware running on the DK/dongle.&lt;/p&gt;
&lt;p&gt;The reason is that exactly the &lt;strong&gt;same dongle running the same FW&lt;/strong&gt; is not showing the issue when subscribing to notifications from the char via nRF Connect Desktop.&lt;/p&gt;
&lt;p&gt;My feeling is that there is something wrong during the configuration of the board... possibly some settings hardcoded in the serialisation layer transporting data from the DK to the script, when opening the link.&lt;/p&gt;
&lt;p&gt;Thanks again for keeping me posted, I&amp;#39;m really curious to understand what&amp;#39;s happening :)&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/281838?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 14:07:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d72ba3b-c78f-4697-a509-997ea79276cf</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello davege,&lt;br /&gt;&lt;br /&gt;Thank you for your continued patience. I was unfortunately out of office for some days again.&lt;br /&gt;&lt;br /&gt;I have continued testing today, and can now at least rule out that the issue is with the UART transport layer.&lt;br /&gt;I have also spoken with one of the developers of pc-ble-driver-py today, and he will check if this could be caused by a limited RX buffer in the precompiled connectivity firmware.&lt;br /&gt;I will update you as soon as he gets back to me about this.&lt;/p&gt;
[quote user="davege"]thanks a lot for your effort in this.[/quote]
&lt;p&gt;It is no problem at all davege, I am happy to help!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/280993?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 21:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e243a4a8-e755-4ae2-b444-81dad7d0661f</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks a lot for your effort in this.&lt;/p&gt;
&lt;p&gt;Do not worry at all, as long as I know there&amp;#39;s some activity to understand what&amp;#39;s happening, I&amp;#39;m good.&lt;/p&gt;
&lt;p&gt;Looking forward to hearing any news.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/280961?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 16:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa859b42-ff65-4fe3-93da-58d1d86e1d32</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Davege,&lt;br /&gt;&lt;br /&gt;Know that I have not forgotten this issue, and I am still working on it.&lt;br /&gt;Unfortunately, this issue has taken longer than I had anticipated to resolve.&lt;br /&gt;&lt;br /&gt;I will update you as soon as I have something.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/280442?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 16:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5802eb1f-b101-446d-89ea-58e2965247a7</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Davege,&lt;br /&gt;&lt;br /&gt;Thank you for your patience.&lt;br /&gt;I have today successfully replicated the issue with the setup you described on my end.&lt;br /&gt;I have allocated time tomorrow to keep working on resolving the issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/280276?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 09:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49350893-f75b-4cab-b250-bd1a891e4814</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Davege,&lt;br /&gt;&lt;br /&gt;I am terribly sorry for the very long delay in communications from my side on this.&lt;br /&gt;&lt;br /&gt;I have&amp;nbsp;allocated time today to work through this issue. I will update you by the end of the day at the latest.&lt;br /&gt;I am again terribly sorry for the long delay on this issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/279934?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 14:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34af7307-62c7-425c-b726-2a60dfb0a644</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;is there any progress on this?&lt;/p&gt;
&lt;p&gt;Let me know if I may help or if some reason it was not possible to reproduce the problem on your end.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/278512?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 18:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0cf47aa-147e-408d-8ba8-871423a12bc1</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;great to know you are setting up something quick to reproduce the issue.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications/278446#278446"]What is the scan timeout parameter that you pass to your scan_start? Is it possible this set to indefinite?[/quote]
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This is the full call with the params:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="python"&gt;scan_duration = 5
params = BLEGapScanParams(interval_ms=200, window_ms=150, timeout_s=scan_duration)
self.adapter.driver.ble_gap_scan_start(scan_params=params)&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#39;m not aware about a way to scan forever, but usually with nRF5 SDK on the embedded side, this happens when setting the duration to 0.&lt;/div&gt;
&lt;div&gt;One of the problem I have with this python bindings is that they are not documented, so sometimes I&amp;#39;m just guessing I&amp;#39;m doing the right thing given the familiarity I have with the rest of the Nordic offering.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Hopefully with your help I&amp;#39;ll know if I&amp;#39;m doing something wrong&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;D&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/278446?ContentTypeID=1</link><pubDate>Wed, 04 Nov 2020 12:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4268a2ee-d20f-4bb1-85a3-6e3cad7fbbb9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Sorry for my late reply.&lt;/p&gt;
[quote user="davege"]apparently we&amp;#39;ve been writing simultaneously[/quote]
&lt;p&gt;&amp;nbsp;Yes, it appears we did!&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user="davege"]Exactly, that&amp;#39;s the mystery to solve![/quote]
&lt;p&gt;Indeed it is, this is most strange. I would assume it might stem from the radio being busy with other tasks ( and thus not following up on the more data prompt ), but something seems amiss in this case.&lt;/p&gt;
[quote user="davege"]&lt;p&gt;It is all very standard, as I just slightly modified the example code for the heart rate that I&amp;#39;ve found in the repository.&lt;/p&gt;
&lt;p&gt;At HW/FW level current setup is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;pc-ble-driver-py 0.15.0 (latest)&lt;/li&gt;
&lt;li&gt;nRF52840 Dongle (PCA10059) running connectivity FW 4.1.2 SD API v5 (latest supported)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The python script is just subscribing for notifications (on the selected custom service/char in my case, but I believe it could be whatever, even Nordic UART) and printing that line you&amp;#39;ve seen in the log with the data received.&lt;/p&gt;
&lt;p&gt;I believe there&amp;#39;s no scanning active after the connection to the peripheral.&lt;/p&gt;[/quote]
&lt;p&gt;Thank you for specifying! This is very helpful for me to know.&lt;/p&gt;
[quote user="davege"]Now wondering if this will keep scanning active even after I receive&amp;nbsp;&lt;em&gt;on_gap_evt_connected &lt;/em&gt;callback...[/quote][quote user="davege"]I&amp;#39;m calling this API:[/quote]
&lt;p&gt;What is the scan timeout parameter that you pass to your scan_start? Is it possible this set to indefinite?&lt;br /&gt;Looking through the unmodified example code it&amp;nbsp; seems that the scanning is not stopped on CONNECTED event, but is rather set to time out.&lt;/p&gt;
&lt;p&gt;I have reached out to the developers of the pc-ble-driver-py to ask if they have ever heard of similar behavior. I will get back to you as soon as they reply.&lt;br /&gt;I will create a small example to try and reproduce this on my end, using the connection parameters and setup you described.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/278046?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 12:06:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee883bbc-7956-4c53-af78-854f8c81c4dc</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;apparently we&amp;#39;ve been writing simultaneously &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications/278042#278042"]Looking closer at the connection length in both traces, it seems like it is set correctly - So I do not see any reason why the central on the one hand pulls for additional notifications, but not in the other ( as you can see in the trace _nok, the peripheral reports that more data is available, but the central never sends another packet to retrieve it ).[/quote]
&lt;p&gt;Exactly, that&amp;#39;s the mystery to solve!&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications/278042#278042"]Could you tell me exactly how you have setup the dongle on your side to collect the notifications, so that I may try to replicate the issue here on my end?&lt;br /&gt;Is the central doing anything else while it is in the connection and receiving the notifications - such as actively scanning for more peripherals?[/quote]
&lt;p&gt;It is all very standard, as I just slightly modified the example code for the heart rate that I&amp;#39;ve found in the repository.&lt;/p&gt;
&lt;p&gt;At HW/FW level current setup is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;pc-ble-driver-py 0.15.0 (latest)&lt;/li&gt;
&lt;li&gt;nRF52840 Dongle (PCA10059) running connectivity FW 4.1.2 SD API v5 (latest supported)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The python script is just subscribing for notifications (on the selected custom service/char in my case, but I believe it could be whatever, even Nordic UART) and printing that line you&amp;#39;ve seen in the log with the data received.&lt;/p&gt;
&lt;p&gt;I believe there&amp;#39;s no scanning active after the connection to the peripheral.&lt;br /&gt;I&amp;#39;m calling this API:&lt;/p&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;self.adapter.driver.ble_gap_scan_start(scan_params=params)&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Now wondering if this will keep scanning active even after I receive&amp;nbsp;&lt;em&gt;on_gap_evt_connected &lt;/em&gt;callback...&lt;/div&gt;
&lt;div&gt;Well, please have a look - if you manage to get a generic example working I could compare your code with mine and check for differences (my script is less than 300 lines, not a big work)...&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;D&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/278042?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 11:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5318125-8e08-41a8-9de4-e51f6534d146</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Looking closer at the connection length in both traces, it seems like it is set correctly - So I do not see any reason why the central on the one hand pulls for additional notifications, but not in the other ( as you can see in the trace _nok, the peripheral reports that more data is available, but the central never sends another packet to retrieve it ).&lt;br /&gt;&lt;br /&gt;Could you tell me exactly how you have setup the dongle on your side to collect the notifications, so that I may try to replicate the issue here on my end?&lt;br /&gt;Is the central doing anything else while it is in the connection and receiving the notifications - such as actively scanning for more peripherals?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/278041?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 11:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:481932aa-8c28-4e72-a2b2-af819f36d1d8</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications/278036#278036"]Looking at the traces in combination with your log, it seems that the missing notifications are in fact never sent ( such as the notification number 94 and 97 ).&lt;br /&gt;For this, I am guessing that an error occured when you tried to queue these for sending using the sd_ble_gatts_hvx function. I suspect that these particular calls then returned NRF_ERROR_RESOURCES ( if this is the error you are still seeing ), and since they were not retried by the application they were never queued, and thus never sent. Does this sound plausible to you?[/quote]
&lt;p&gt;Yes, this makes sense. I&amp;#39;m not handling that error with any kind of retry, so I&amp;#39;m expecting those numbers to never really being sent.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/67437/pc-ble-driver-py-missing-high-rate-notifications/278036#278036"]Looking at the logs, it is apparent that when the transmissions fail there is only 1 notifications being sent per connection event. This is probably causing a buildup, leading to the NRF_ERROR_RESOURCES error.&lt;br /&gt;If you look at the log where it works as intended, there are almost always sent multiple notifications per event, which decreases the chance of a notification buildup on the server side.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What error handling have you implemented for the NRF_ERROR_RESOURCES error?[/quote]
&lt;p&gt;So here&amp;#39;s the point: I&amp;#39;m not trying to understand how to handle the error on the Server (this is something I will do for robustness anyway).&lt;br /&gt;What I want to understand is &lt;strong&gt;why there&amp;#39;s a different behaviour by the Client in the failing case&lt;/strong&gt;.&lt;br /&gt;If I got it correctly, in the failing log there is always up to 1 notification being sent per connection event.&lt;br /&gt;Why is this the case? Is there any configuration on Client to side to avoid that? Could it be a limitation of the serialisation libraries initialisation of the &lt;span&gt;PCA10059&amp;nbsp;&lt;/span&gt;dongle running on the laptop?&lt;br /&gt;&lt;br /&gt;Since the problem is very easy to reproduce, I&amp;#39;d like to know from you if you&amp;#39;re seeing the same...&lt;br /&gt;You would just need to queue notifications at a rate higher than the connection interval (like in my case: 10ms vs 15ms) to be in the same situation.&lt;/p&gt;
&lt;p&gt;Then someone in the dev team could debug what&amp;#39;s happening in the lower layers...&lt;/p&gt;
&lt;p&gt;How does it sound?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/278036?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 11:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f8062cf-fbd0-4c68-8074-045b23760255</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Sorry for my late reply.&lt;/p&gt;
[quote user="davege"]getting back to you with two traces over Wireshark:[/quote]
&lt;p&gt;Thank you for the traces and their description, these are of great help for me to understand the issue better.&lt;/p&gt;
[quote user="davege"]To confirm that notifications are &amp;quot;lost&amp;quot; in the second case, I&amp;#39;m now printing in the python script the value of a counter that I set in the first byte of the notification.[/quote]
&lt;p&gt;Looking at the traces in combination with your log, it seems that the missing notifications are in fact never sent ( such as the notification number 94 and 97 ).&lt;br /&gt;For this, I am guessing that an error occured when you tried to queue these for sending using the sd_ble_gatts_hvx function. I suspect that these particular calls then returned NRF_ERROR_RESOURCES ( if this is the error you are still seeing ), and since they were not retried by the application they were never queued, and thus never sent. Does this sound plausible to you?&lt;br /&gt;&lt;br /&gt;Looking at the logs, it is apparent that when the transmissions fail there is only 1 notifications being sent per connection event. This is probably causing a buildup, leading to the NRF_ERROR_RESOURCES error.&lt;br /&gt;If you look at the log where it works as intended, there are almost always sent multiple notifications per event, which decreases the chance of a notification buildup on the server side.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What error handling have you implemented for the NRF_ERROR_RESOURCES error?&lt;/p&gt;
[quote user="davege"]&lt;p&gt;&lt;span&gt;I also tried to increase the&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH&amp;nbsp;to 12 (&lt;strong&gt;15ms&lt;/strong&gt;), but nothing changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t think that increasing that value above 15ms could make sense, since anyway that is the connection interval.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Great! This is correct - the event length is limited by the interval either way. You could set it to 500, it would be no change unless you also change the interval.&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/277487?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 22:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1068a04-2de6-4877-9a85-5ee843c6c77b</guid><dc:creator>davege</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;getting back to you with two traces over Wireshark:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;one is a case when I&amp;#39;m not seeing any&amp;nbsp;&lt;span&gt;NRF_ERROR_RESOURCE error on the Server/Peripheral (my smartphone enabling notifications)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;the other is instead the case of&amp;nbsp;pc-ble-driver-py running from laptop through the connectivity dongle, with multiple error when calling the SD notification API.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;To confirm that notifications are &amp;quot;lost&amp;quot; in the second case, I&amp;#39;m now printing in the python script the value of a counter that I set in the first byte of the notification.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also tried to increase the&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH&amp;nbsp;to 12 (&lt;strong&gt;15ms&lt;/strong&gt;), but nothing changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t think that increasing that value above 15ms could make sense, since anyway that is the connection interval.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hope this may help in understanding the root cause of the issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and please keep me posted,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;D&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dataReceived_5F00_notifmissing.txt"&gt;devzone.nordicsemi.com/.../dataReceived_5F00_notifmissing.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/capture_5F00_nok.pcapng"&gt;devzone.nordicsemi.com/.../capture_5F00_nok.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/capture_5F00_ok.pcapng"&gt;devzone.nordicsemi.com/.../capture_5F00_ok.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py missing high-rate notifications</title><link>https://devzone.nordicsemi.com/thread/277058?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 09:10:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5e160b-a041-4f8c-9186-786618e3f5dc</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="davege"]thanks for the follow-up.[/quote]
&lt;p&gt;No problem at all, I am happy to help!&lt;/p&gt;
[quote user="davege"]&lt;p&gt;Interesting the role of the connection event length...I did not think about it.&lt;/p&gt;
&lt;p&gt;At the moment,&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH is set to 6 (so &lt;strong&gt;7.5ms&lt;/strong&gt;).&lt;/p&gt;[/quote]
&lt;p&gt;Could you try increasing this by a lot ( as a test ), to see if it then behaves as you inteded?&lt;/p&gt;
[quote user="davege"]But I want to reiterate again this: the same settings on the Server side are working fine when I&amp;#39;m notifying another Client device (typical example is the nRF Connect app running on the phone or even on Desktop with the same dongle!).[/quote]
&lt;p&gt;Yes - I see now that I did not address this in your previous reply - this could very well be caused by the&amp;nbsp;&lt;br /&gt;Since it is the central that actually determines the connection parameters, and parameter negotiations, then it might very well be different when connected to different centrals.&lt;br /&gt;Typically, smartphones have a very rigid set of rules for which connection parameters they allow - you may not set this as you please, when using the smartphones integrated BLE module. This differs from when you are using a central device that you have programmed yourself ( or nRF Connect for Desktop application ), since you may then set the parameters yourself, as you please.&lt;br /&gt;&lt;br /&gt;This will be very easy to see in a sniffer trace, since the content of the connection request and parameter negotiation will be viewable.&lt;/p&gt;
[quote user="davege"]Tomorrow I&amp;#39;ll try to capture a log of the connection between the two devices with the Sniffer.[/quote][quote user="davege"]Let me know if there&amp;#39;s something in particular I should filter out, if not I&amp;#39;ll dump one log for each of the cases (one presenting&amp;nbsp;&lt;span&gt;NRF_ERROR_RESOURCE error, the other without)&lt;/span&gt;&amp;nbsp;to see the difference.[/quote]
&lt;p&gt;Great, that should make the issue a lot easier to address. Please remember to select your device from the device menu, as shown in the included image, to make the sniffer follow into your connection. If you leave the option at the default ( as shown in the image ) then your sniffer will only listen for advertisements.&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1212.wiresharkSourceDevice.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;Do not filter anything else out - it is best if I get the unfiltered log. It does not matter if it is thousands of packets, as long as you mention which packets the issue is demonstrated in ( i.e &amp;quot; In the exchange starting at packet number .. and ending at packet number .. you can see the behavior ... &amp;quot;, or similar ).&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>