<?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>Pairing nrf52840 dk and nrf52840 dongle.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68776/pairing-nrf52840-dk-and-nrf52840-dongle</link><description>Hello, 
 It is my first time using Nordic product as well as programming Bluetooth and I am working on a project in which I have to pair the nrf52840 dk and nrf52840 dongle without using the nrf connect app. 
 I already saw a Q/A on that subject, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Nov 2020 07:47:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68776/pairing-nrf52840-dk-and-nrf52840-dongle" /><item><title>RE: Pairing nrf52840 dk and nrf52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/281942?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 07:47:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3490df9-513b-4c39-9ca0-c08dfc8d1c33</guid><dc:creator>Luca Favetti</dc:creator><description>&lt;p&gt;Thank you very much, I have been struggling on this for weeks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Luca&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing nrf52840 dk and nrf52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/281939?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 07:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d14950f-450c-4569-895f-4b3c968bdb4f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Okay, thank you for clarifying! Most of our example projects have a peripheral project and a corresponding central project. These centrals are usually set up to scan for devices running the peripheral project with the same name, and connect/pair to it either automatically when found or by pressing a button on the DK. You want the DK to act as the central running the ble_app_uart_c example and the Dongle to act as a peripheral&amp;nbsp;by modifying the usbd_ble_uart example, correct?&lt;/p&gt;
&lt;p&gt;If you check out the scan_init() function in the ble_app_uart_c example project, you can see that it sets scan filters that makes it only scan and detect devices with a specific UUID, so you&amp;#39;ll have to either change the scan init to be able to scan for the usbd_ble_uart example, or change the peripheral device to advertise with the Nordic UART Service UUID which it scans for.&lt;/p&gt;
&lt;p&gt;In order to pair the devices once connected, you will also have to implement the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_peer_manager.html"&gt;peer manager&lt;/a&gt; to set up and trig a pairing process between the two, as the ble_app_uart_c example does not support pairing by default. You can use the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_hrc.html"&gt;ble_app_hrs_c &lt;/a&gt;example for reference on this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing nrf52840 dk and nrf52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/281843?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 14:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0e4c9fe-5e0a-4d31-ab3e-a01232752f05</guid><dc:creator>Luca Favetti</dc:creator><description>&lt;p&gt;Sorry i think that my question was not clear.&lt;/p&gt;
&lt;p&gt;What i want to do is to pair the nrf52840 dk with the nrf52840 dongle without the nrf connect app.&lt;/p&gt;
&lt;p&gt;I know it is possible since someone already asked for that (here is the link to the Q/A &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59030/pairing-nrf52840-dongle-with-nrf52840-dk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/59030/pairing-nrf52840-dongle-with-nrf52840-dk&lt;/a&gt;) but i do not know the change I have to make to the examples for the nrf52840 dk communicate with the nrf52840 dongle and not with the mobile app.&lt;/p&gt;
&lt;p&gt;Again sorry for the confusion.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Luca&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing nrf52840 dk and nrf52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/281832?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 13:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e61d11-e4cb-40d0-8f87-dc0ed02a6253</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Luca&lt;/p&gt;
&lt;p&gt;The process of modifying an nRF52840-DK (PCA10056) project to an nRF52840 Dongle (PCA10059) project, you can check out our &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;Dongle Programming tutorial,&lt;/a&gt; which provides all the necessary steps to modify a project to fit the Dongle.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>