<?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 bluetooth low energy in nRF desktop act as central and perpheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105620/how-bluetooth-low-energy-in-nrf-desktop-act-as-central-and-perpheral</link><description>Just wondering how the bluetooth low energy in nRF desktop perform central and peripheral? What libraryframework the bluetooth low energy app used? We are interesting with followings when using nRF52840 USB dongle and bluetooth low energy in nRF desktop</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Nov 2023 13:01:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105620/how-bluetooth-low-energy-in-nrf-desktop-act-as-central-and-perpheral" /><item><title>RE: How bluetooth low energy in nRF desktop act as central and perpheral</title><link>https://devzone.nordicsemi.com/thread/455293?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 13:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:224616e5-d799-47c9-b8d2-ae4017920162</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF Connect for Desktop Bluetooth app uses &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-js"&gt;pc-ble-driver-js&lt;/a&gt;, and the dongle needs to be programmed with the connectivity firmware (if it is not, you can put it in DFU mode by pushing the sideways reset button), and you will be prompted if you want to program it when you connect to it in the Bluetooth app.&lt;/p&gt;
[quote user=""]1. how to detect the nRF52840 USB dongle in app[/quote]
&lt;p&gt;The dongle with the connectivity firmware has a specific VID and PID (this is normally how Bluetooth devices are detected).&lt;/p&gt;
[quote user=""]2. how start scan works?&lt;br /&gt;3. how start advertising works?[/quote]
&lt;p&gt;This (and other Bluetooth) operations is based on SoftDevice calls, via SoftDevice serialization. (Note that as this is based on the old SoftDevices it is not something I would use as a reference for your development, as the SoftDevices and the nRF5 SDK is in &amp;quot;maintenance mode&amp;quot; and will not receive new features.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>