<?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>C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60464/c-pc-app-development-with-nrf52840-dongle</link><description>Our purpose is to integrate BLE 5 in our embedded application, and do it quickly.. We basically need to send/receive data with maximum throughput. 
 Per thread below, we are planning to use the ble_app_uart on the embedded side. 
 For developing the PC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 May 2020 13:55:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60464/c-pc-app-development-with-nrf52840-dongle" /><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251988?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 13:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77224ff3-84ff-4802-82ac-2b8953ca4b22</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;0x3B is&amp;nbsp;BLE_HCI_CONN_INTERVAL_UNACCEPTABLE (standard Bluetooth status code), so probably you need a higher connection interval for the Android phone to accept it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251978?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 13:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a43f5a7d-99ae-4682-b002-bf946317f2a2</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;I don&amp;#39;t have a sniffer, so don&amp;#39;t know what happens before the disconnect. In the pc-ble-driver console prints all is fine, and then suddenly disconnects. This happens with the pc-ble-driver on PC. With my Android phone nRF Connect, it&amp;nbsp;behaves similarly, and reports Error 59 (0x3b) Unknown.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251969?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 13:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47f7515a-a077-4191-80a6-12653747fb27</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Moshe Baker"]Hi, I&amp;#39;ve got the NUS PC side working, but it disconnects after a short time with: &amp;quot;Disconnected, reason: 0x22&amp;quot;. Can you explain?[/quote]
&lt;p&gt;What happens before the disconnect? There is an issue with some SoftDevice versions that it will report&amp;nbsp;BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT as a disconnect reason&amp;nbsp;when a TERMINATE_IND packet was not acknowledged, instead of&amp;nbsp;BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION which would have been the correct. So perhaps it is just the peer disconnecting? You would see that from a sniffer trace.&lt;/p&gt;
[quote user="Moshe Baker"]Also please advise regarding a sniffer. What HW setup do I need for it? Can I use Wireshark with no extra HW?[/quote]
&lt;p&gt;No, but you can use the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer&lt;/a&gt; with an additional nRF DK if you have that available. This is based on Wireshark but needs the nRF DK to capture the BLE traffic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251953?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 12:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:540566c8-e566-4da7-a1e3-49e222bec0af</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;ve got the NUS PC side working, but it disconnects after a short time with: &amp;quot;Disconnected, reason: 0x22&amp;quot;. Can you explain?&lt;/p&gt;
&lt;p&gt;Also please advise regarding a sniffer. What HW setup do I need for it? Can I use Wireshark with no extra HW?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251436?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 09:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37855d75-2ec3-4f30-824d-f012b4cb4e93</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Moshe Baker"]I am receiving data packets of 244 bytes, which is the maximum as I understand. &lt;strong&gt;What else?&lt;/strong&gt; I&amp;#39;m still at &lt;strong&gt;80Kbps&lt;/strong&gt;...[/quote]
&lt;p&gt;There is nothing other to do than what we have discussed. Can you make a sniffer trace so that we can see what is actually happening on the link? That would make it easier to know in which direction to look further.&lt;/p&gt;
[quote user="Moshe Baker"]Also, can you point me to a PC NUS implementation I can use over API v5?[/quote]
&lt;p&gt;I don&amp;#39;t have any PC side implementations, but the SoftDevice API is essentially the same regardless of using it directly or via the pc-ble-driver, so you could just refer to the SDK implementation. For version 5 API you could refer to &amp;lt;SDK 14.2&amp;gt;\components\ble\ble_services\ble_nus\ for the server implementation and&amp;nbsp;&amp;lt;SDK 14.2&amp;gt;\\components\ble\ble_services\ble_nus_c\ client implementation, depending on which you need.&lt;/p&gt;
[quote user="Moshe Baker"]I found some references, but still cannot get the correct descriptor UUID of 0x2902 for setting CCCD, I get 0x2803.[/quote]
&lt;p&gt;Is this all of the log? As you know, 0x2803 is the assigned UUID for a characteristic declaration, and&amp;nbsp;0x2902 is for descriptor declaration. I would expect to see CCCD descriptors, so either there is an issue with your service discovery code or with the NUS server you are communicating with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251424?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 09:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce0fe40-8b71-4f59-9cb7-76c48ec7d57e</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;Thanks. I am receiving data packets of 244 bytes, which is the maximum as I understand. &lt;strong&gt;What else?&lt;/strong&gt; I&amp;#39;m still at &lt;strong&gt;80Kbps&lt;/strong&gt;...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, can you point me to a PC NUS implementation I can use over API v5? I found some references, but still cannot get the correct descriptor UUID of 0x2902 for setting CCCD, I get 0x2803. This is my current PC log:&lt;/p&gt;
&lt;p&gt;Serial port used: COM11&lt;br /&gt;Baud rate used: 1000000&lt;br /&gt;Info: Successfully opened COM11. Baud rate: 1000000. Flow control: none. Parity: none.&lt;br /&gt;Status: 6, message: Target Reset performed&lt;br /&gt;Status: 7, message: Connection active&lt;br /&gt;Scan started&lt;br /&gt;Received advertisement report with device address: 0xCB5E527FE36A&lt;br /&gt;Connection established&lt;br /&gt;Discovering primary services&lt;br /&gt;Received an un-handled event with ID: 35&lt;br /&gt;Received service discovery response&lt;br /&gt;Discovering characteristics&lt;br /&gt;Received characteristic discovery response, characteristics count: 2&lt;br /&gt;Characteristic handle: 0x000C, UUID: 0x0002&lt;br /&gt;Characteristic handle: 0x000E, UUID: 0x0003&lt;br /&gt;Discovering characteristic&amp;#39;s descriptors&lt;br /&gt;Received descriptor discovery response, descriptor count: 1&lt;br /&gt;Descriptor handle: 0x000E, UUID: 0x2803&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251419?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 09:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ba811d-9a9c-45c9-9f0c-a55df431fd0b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;pc-ble-driver-js is a layer on top of the pc-ble-driver, so you will not get better performance using that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251418?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 09:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1364074-0d38-4c1d-8c18-cf20413dbf2c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;Yes, since you are implementing the central, this will be used, and the connection interval is&amp;nbsp;6 * 1.25 ms = 7.5 ms. But as discussed earlier this is not the only thing that defines the throughput, you also need a large ATT MTU and large link-layer packets (using DLE). These are the result of negotiations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251142?ContentTypeID=1</link><pubDate>Thu, 21 May 2020 13:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f61028-b1ff-4b23-bfab-1e3dcfaea8e9</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;Another clarification - Could using pc-ble-driver-js provide better throughput performance than using the pc-ble-driver C++? Is the JS a layer above pc-ble-driver or a different implementation?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251130?ContentTypeID=1</link><pubDate>Thu, 21 May 2020 11:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:198a8410-ee9d-4df1-bbf6-7ce5d2a11f0e</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;I stopped at this break-point, and can see min/max conn interval are 6-&amp;gt;7.5ms. Does that concur that the actual connection-interval is 7.5ms?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8228.Capture1.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Are you there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/251002?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 13:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbdcba21-c159-41fc-abb1-572ff58fcc21</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;How do I determine the actual connection parameters? I put a break-point in on_connected() in pc-ble-driver and see many values there in the context object, but no connection-interval.&lt;/p&gt;
&lt;p&gt;Should i find in the embedded side with a break-point? Where?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250900?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 10:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87dca978-c08e-4903-b15a-f580f38d6fcf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, 263 kbps is theoretical, but the mentioned 250 kbps is practically achieved. This is using the pc-ble-driver, as that is used by nRF Connect (via pc-ble-driver-js).&lt;/p&gt;
[quote user="Moshe Baker"]PHY being used (LE 1M vs. LE 2M vs. LE Coded (S=2 or S=8))[/quote]
&lt;p&gt;The 1M PHY is used. 2M would not improve the situation, even though you should spend less time &amp;quot;on air&amp;quot; as you still get one packet per connection event.&lt;/p&gt;
[quote user="Moshe Baker"]Maximum number of packets per connection interval[/quote]
&lt;p&gt;Normally you can have as many packets per connection event as the event length allows, provided that both peers can handle more data. However, it is not possible with the pc-ble-driver due to the latency of the serialization layer, and you are always limited to one packet per connection event.&lt;/p&gt;
[quote user="Moshe Baker"]Data Length Extension (DLE)[/quote]
&lt;p&gt;This allows you to transfer up to 247 bytes per packet, instead of only 20 bytes without it. Please note that this is a negotiation, so you may just get (say) 120 bytes per packet, or even just 20 if the peer does not support DLE at all.&lt;/p&gt;
&lt;p&gt;What is the actual connection parameters used on the link? This may not be what you configure in the nRF, depending on the negotiation. You could either log the results of these procedures or make a sniffer trace to see the actual connection parameters, data length etc. that is used on the link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250816?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 20:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b3f9b19-1f15-47ba-b033-65365e669e46</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;The number of 263Kbps was theoretical, not measured I see. Marten mentioned he achieved 250Kbps using nRF Connect, not pc-ble-driver. are they the same? I still cannot improve the 80Kbps I&amp;#39;m getting using the HRS app with my variations. The connection-interval is set to 7.5. Any larger number reduces the throughput in a clear fashion. The payload data sent is 244 bytes. The same configuration brings me to 480Kbps with my Android phone.&lt;/p&gt;
&lt;p&gt;Can you explain how I improve this, mainly on these points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PHY being used (LE 1M vs. LE 2M vs. LE Coded (S=2 or S=8))&lt;/li&gt;
&lt;li&gt;Maximum number of packets per connection interval&lt;/li&gt;
&lt;li&gt;Data Length Extension (DLE)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;250Kbps might fly, but 80Kbps will not. Please help to improve this and achieve 250Kbps.&lt;/p&gt;
&lt;p&gt;Thanks, Moshe&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250714?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 12:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f9fc7b-b8b2-4258-a501-7a5383c3a28e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I forgot to insert the link. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37591/nrf-connect-for-desktop-max-throughput/145164#145164"&gt;Her it is&lt;/a&gt; (I also update the previous post). You need to initiate a data length update procedure in order to increase the GAP packet length. That&amp;nbsp;is described &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_p___d_a_t_a___l_e_n_g_t_h___u_p_d_a_t_e___p_r_o_c_e_d_u_r_e___m_s_c.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250643?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 09:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73225248-7d50-4713-a3c0-f7cd00f31b7f</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;Which post? Where do I set the connection interval? I tried to set minimum-connection-interval to 7 on the embedded side, but the PC failed with this value. After setting it to 10 it worked OK. How do i use &amp;quot;long packets&amp;quot;? Make the characteristic size/buffer larger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250635?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 09:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b11d2f-cf08-4368-8890-8ce60e5518c1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using long packets and a connection interval of 7.5 ms, you may be able to achieve up to 263 kbps, as described in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37591/nrf-connect-for-desktop-max-throughput/145164#145164"&gt;this post&lt;/a&gt;. But that is the absolute maximum. (Normally you would use several packets per connection event in order to increase throughput, but that is not possible with serialization due to delays in the serialization).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250583?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 07:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36d740f-0fea-40e8-9316-c416cd7a7715</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;I set the MTU to 250.&lt;/p&gt;
&lt;p&gt;Is 10KBps/80Kbps the limit to expect? Should I modify anything else? please respond.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250542?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 20:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62a7524-83e6-43d8-9b05-28475818f225</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The most important for increasing throughput using the pc-ble-driver is increasing the ATT MTU. However, the pc-ble-driver has significant overhead due to the serialization and all packets being backed on the UART/USB transport, so you will not get very high throughput.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250528?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 17:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0e190c7-f807-45ac-814e-99ea29bdcc4f</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;I changed some parameters in the HRM apps on both sides and reach 10KBps. This is still low. We are expecting over 100KBps. You said the throughput would be reduced due to pc-ble-driver. What throughput should we expect? Please respond. We are in POC phase and need to know if we can use this solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250317?ContentTypeID=1</link><pubDate>Sun, 17 May 2020 20:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9187e86c-6a9f-4e50-adeb-7fc1d0341f19</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;Hi Einar, I am now trying to modify the HRM app for achieving max throughput test. I set the HRM timer to send notification every 100ms (instead of 1000ms), and tried to send 244 bytes instead of only 2 bytes, per measurement. I can actually see the data is sent when checking on nRF Connect on my Android phone log. But the pc-ble-driver is only receiving 20 bytes out of this. Where do I need to change the pc-ble-driver to receive all data? Am I going the right way here for a throughput test? I also tried to set a bigger MTU size by setting BLE_GATT_ATT_MTU_DEFAULT to 244, but this failed. What about the connection-interval? Please comment on these.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250222?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 14:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec37f7f1-a090-483d-bd0a-1bc7cf082dbf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I am glad to hear that. Have a nice weekend &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;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250048?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 18:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68739b51-3f50-44b0-b5b9-88f138addd29</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;Thanks Einar!! it is working for me now! I am receiving notifications from the HRM! You made my weekend :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250041?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 17:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f56e400-d334-4d50-92ea-4c9b6647e0c2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s say you are using the v5 API instead (I don&amp;#39;t recomend v6, since we do not use it yet and do not test it), then you should use&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d39b07b89ece4f8c907387a5c3efa2dd/connectivity_5F00_4.1.1_5F00_usb_5F00_with_5F00_s132_5F00_5.1.0.hex"&gt;devzone.nordicsemi.com/.../connectivity_5F00_4.1.1_5F00_usb_5F00_with_5F00_s132_5F00_5.1.0.hex&lt;/a&gt;. You can use the&amp;nbsp;heart_rate_collector_sd_api_v5.exe example to see that it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250034?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 17:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:800f6898-fcee-4ac3-8b3d-53f4c654535b</guid><dc:creator>Moshe Baker</dc:creator><description>&lt;p&gt;I tried all of these and still the same. Can you state the exact hex file to use for the dongle?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C# PC app development with nRF52840-dongle</title><link>https://devzone.nordicsemi.com/thread/250032?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 16:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:722272d7-a26a-41de-84bf-4934f700b75c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the correct place to get pc-ble-driver support (and support for any other nRF product). The error you are seeing match what you see when you use incompatible pc-ble-driver API version and connectivity firmware API version.&lt;/p&gt;
&lt;p&gt;Which exact hex file and which exact example file did you try? Just to make sure the basics are working I suggest the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Build the heart_rate_collector examples (using VisualStudio all variants are built in one go)&lt;/li&gt;
&lt;li&gt;Run the nRF Connect BLE app to make sure you have a working connectivity firmware (this will be API version 3).&lt;/li&gt;
&lt;li&gt;Run the API version 3 heart rate collector example like this (replacing the COM port with your number: &amp;quot;.\heart_rate_collector_sd_api_v3.exe COM6&amp;quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then you should see an output similar to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;λ .\heart_rate_collector_sd_api_v3.exe COM6
Serial port used: COM6
Baud rate used: 1000000
Info: Successfully opened COM6. Baud rate: 1000000. Flow control: none. Parity: none.
Status: 6, message: Target Reset performed
Status: 7, message: Connection active
Scan started
Received advertisement report with device address: 0xF333BF1473AB
Received advertisement report with device address: 0x6A8691EE9176
Received advertisement report with device address: 0xF333723ED24C
Received advertisement report with device address: 0x66E795F64F45
Received advertisement report with device address: 0xF333723ED24C
Received advertisement report with device address: 0x0212DAE12FDF
Received advertisement report with device address: 0x4A7357CC6E17
Received advertisement report with device address: 0xF333723ED24C
Received advertisement report with device address: 0x62F5E2A7602A
Received advertisement report with device address: 0x0212DAE12FDF
Received advertisement report with device address: 0xF333723ED24C
Received advertisement report with device address: 0x6A8691EE9176
Received advertisement report with device address: 0xF333BF1473AB
Received advertisement report with device address: 0x0212DAE12FDF
Received advertisement report with device address: 0xF33365117774&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You may not want to use the older API version, but if this works, then you know the basic setup is working. Then you can move on to trying a different API version and making sure you have programmed a corresponding connectivity firmware hex file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>