<?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>How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84067/how-to-develop-desktop-bluetooth-software-based-on-c-language</link><description>Hello! I recently tried to develop Bluetooth communication based on nrf52840 chip. It is planned to implement a graphical software program on Windows platform. We checked the sample source code in GitHub and found that it is a JS app based on Electron</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Feb 2022 02:40:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84067/how-to-develop-desktop-bluetooth-software-based-on-c-language" /><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/352203?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 02:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f1410c0-a207-4329-acc0-3028375fa68e</guid><dc:creator>qazmx5741</dc:creator><description>&lt;p&gt;Thank you very much for your help. I have successfully compiled &lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;&amp;nbsp;through the document.I have also learned relevant examples, but now I have some questions. I hope you can help answer them. thank you。&lt;/p&gt;
&lt;p&gt;First, after compiling &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;&amp;nbsp;according to the document, I found that I got the content shown in the first figure. After compiling &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver\examples&lt;/a&gt;, the content shown in&amp;nbsp;second&amp;nbsp;&lt;span&gt;figure&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;first figure&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644460513021v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;---------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;span&gt;second&amp;nbsp;&lt;/span&gt;&lt;span&gt;figure&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644460543239v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What I understand is: This is the executable generated by the sample program, not the runtime such as DLL or lib。Is my thinking right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Next, I&amp;#39;ll show you the main C found some code, which includes a part H file, such as XXX. As shown in Figure 3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;---------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Figure 3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1644460761947v3.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Does it mean:&lt;br /&gt;Can I refer to the use of XXX to realize my own C + + program?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or:&lt;br /&gt;Only in this way can I use C + + to develop the GUI of the chip&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I look forward to your reply, which is very important to me. Thank you again&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349878?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 07:58:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8ed3c29-2d8e-4ea7-8a22-f8d185425961</guid><dc:creator>qazmx5741</dc:creator><description>&lt;p&gt;Thank you very much. Let me learn first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349877?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 07:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44256649-b46c-4f4c-a4cc-d2273cc5562b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="qazmx5741"]Do you mean that I can only further write the upper UI interface through driver?[/quote]
&lt;p&gt;Yes, that would be up to you though.&lt;/p&gt;
[quote user="qazmx5741"]Is there no encapsulated dynamic library or static library for developers to carry out secondary development?[/quote]
&lt;p&gt;There are pre-built libraries if you want which you can find under &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/releases"&gt;releases&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349876?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 07:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1af9cb6-652c-4fa2-af62-667c403ee155</guid><dc:creator>qazmx5741</dc:creator><description>&lt;p&gt;thank you.&lt;br /&gt;Do you mean that I can only further write the upper UI interface through driver?&lt;br /&gt;Is there no encapsulated dynamic library or static library for developers to carry out secondary development?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349870?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 07:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efdfa528-4aab-4024-986d-b3a24a0826b5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;OK, good. I see. Then what you want is the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;, and that is the only tool we provide for this. This includes &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/master/examples"&gt;example applications &lt;/a&gt;(these are in C, but you are free to use C++).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349857?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 00:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bca3a22-0925-4bba-8381-29a616c6f683</guid><dc:creator>qazmx5741</dc:creator><description>&lt;p&gt;Hello&lt;br /&gt;First of all, we have our own ble4 0&amp;#39;s peripheral device.&lt;br /&gt;Then, our hardware engineer wants to use nrf52840 chip to make a Bluetooth receiver and plug the device into the PC device.&lt;br /&gt;At the same time, we need to write a PC software to control the receiver, and then issue commands and read data to our own peripheral devices.&lt;br /&gt;At present, we see that the demo is a program written in JS, and we want to achieve the same function through C + +.&lt;br /&gt;So we want to know whether it is feasible to implement this program in C + +? Is there a relevant demo?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is the sample demo we saw。&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3288.png" /&gt;&lt;/p&gt;
&lt;p&gt;This sample is written in JS scripting language. We want to implement a similar function in C + +.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349762?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 13:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88ecd81a-bb87-4a45-b954-7baf15c95b73</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The pc-ble-driver allows you to use a nRF52 device connected to the PC as a BLE connectivity device, and it provides APIs in C++. If this is not what you need, then please explain in more detail what you really want as that is not clear for me. How are you going to interface with the nRF52840 from the PC? And how do you intend to use it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349759?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 12:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8952cda6-3f7d-4ccc-8d92-eebbd162165b</guid><dc:creator>qazmx5741</dc:creator><description>&lt;p&gt;First of all, thank you very much for your help. I don&amp;#39;t want to connect to the PC to debug this chip. We are trying to use this chip to develop our own PC software. The function of this software is to insert the device equipped with nrf52840 chip into the PC and collect the data of other Bluetooth peripherals. At present, we want to read the data connected to peripherals from nrf52840. The problem is that the PC sample software provided by the chip manufacturer is written in JS. We want to use C + + to realize the function of this software.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to develop desktop Bluetooth software based on C + + language</title><link>https://devzone.nordicsemi.com/thread/349745?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 12:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46dff021-bbf2-4b2b-8d50-026f6a95d18b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is the nRF52840 physically connected to the PC? If so, you may want to look into the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;, which is written in C++ and can be used by C++ applications (there are also wrappers for JS and Python available).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>