<?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>code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86077/code-to-enable-bluetooth-on-nrf52840-dk</link><description>under freestanding applications, which code to use to enable bluetooth on nRF52840 DK kit . Then, it has to pair with android mobile. how i can achieve it.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 25 Oct 2025 08:54:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86077/code-to-enable-bluetooth-on-nrf52840-dk" /><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/552391?ContentTypeID=1</link><pubDate>Sat, 25 Oct 2025 08:54:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c6cc6fc-9bcc-4c97-b7da-ff24203a20ad</guid><dc:creator>williammoberg</dc:creator><description>&lt;p data-start="0" data-end="237"&gt;You can enable Bluetooth on the nRF52840 DK using the &lt;strong data-start="54" data-end="72"&gt;Peripheral LBS&lt;/strong&gt; sample from nRF Connect SDK &amp;mdash; it&amp;rsquo;s under &lt;code data-start="114" data-end="152"&gt;nrf/samples/bluetooth/peripheral_lbs&lt;/code&gt;. Build, flash, and connect via the &lt;strong data-start="188" data-end="214"&gt;nRF Connect for Mobile&lt;/strong&gt; app to test pairing.&lt;/p&gt;
&lt;p data-start="239" data-end="431" data-is-last-node="" data-is-only-node=""&gt;If you just want quick serial Bluetooth without BLE coding, try a &lt;a href="https://easyelecmodule.com/product/jdy-31-3-0-ssp-bluetooth-module/"&gt;JDY-31&lt;/a&gt; 3.0 SSP Bluetooth Module&lt;strong data-start="305" data-end="345"&gt;,&amp;nbsp;&lt;/strong&gt;it offers simple UART-to-Bluetooth 3.0 communication and pairs easily with Android.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/479113?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 06:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a6ebbf-03a9-4769-a4f8-f64e7e315ea0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This ticket is more than two years old. Please create a new ticket for your issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/479100?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 05:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69a5451b-7a5a-4dd8-98ce-9234349cc00f</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;Hi Bakas,&lt;/p&gt;
&lt;p&gt;Long back I worked on this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t exactly remember what I did to overcome those errors.&lt;/p&gt;
&lt;p&gt;May be&amp;nbsp; somewhere in below link tutorials you may find the solution which you are looking for:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl"&gt;https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Deep_Bang&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/479069?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 22:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ada2fb00-fbfe-4f79-acac-7b80fde976df</guid><dc:creator>Bakas</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713307993141v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can you help me solving this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359771?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 11:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1fe2c5c-95a0-4fdd-9809-0a0ebeee2a74</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;i could resolve it. Thank you for the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359715?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 07:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21299c76-1278-4abe-94c0-08393d4408d0</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Yes, now i can see Nordic-LBS&amp;nbsp; in scan list of my mobile.&lt;/p&gt;
&lt;p&gt;but to &amp;#39;connect&amp;#39; its giving 3 options like&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Connect with autoconnect&lt;/p&gt;
&lt;p&gt;2) Connect with preferred PHY&lt;/p&gt;
&lt;p&gt;3) Bond&lt;/p&gt;
&lt;p&gt;I could&amp;#39;nt connect with any of these options and in option bond, it is asking for a password.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Another quiery is - under peripheral LBS explanation window, under Testing, 4th bullet point &amp;quot;Nordic LED Button Service&amp;quot; where exactly will i be able to find this service option.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359709?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 07:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79b6d897-298d-420e-ab80-efe6bcd41833</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;hi Marte,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I could clear those errors listed in problem window.&lt;/p&gt;
&lt;p&gt;then, i build and flashed again. But still Nordic_LBS was not visible when tried to scan througrh nRF connect for mobile app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359601?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 12:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c92ab275-828d-4759-8f26-41917b1cbefa</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;These files should be included in the nRF Connect SDK installation. How did you install the SDK?&lt;/p&gt;
&lt;p&gt;I recommend watching our&amp;nbsp;&lt;a href="https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl"&gt;nRF Connect for VS Code tutorials&lt;/a&gt;&amp;nbsp;on YouTube&amp;nbsp;to learn how to get started. There you will learn how to install the SDK and toolchain, as well as how to create, build, and flash applications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359590?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 11:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d09a6cb-dcef-42fd-82e0-2b675078b165</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1447.Capture.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which standard files to install to include these .h files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359550?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 09:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d418e427-cdd2-4d6b-a5a5-688cb770ed07</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Deep_Bang"]file:///C:/Users/deepthi.hs/Downloads/Capture.PNG[/quote]
&lt;p&gt;Please upload the file using Insert &amp;gt; Image/video/file.&lt;/p&gt;
[quote user="Deep_Bang"]Errors showing in problem window while doing build and flash.[/quote]
&lt;p&gt;So you the reason you are not seeing the DK when scanning is because the DK was not successfully flashed, or is this another issue?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359492?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 06:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e41434-30aa-4acf-9fa8-24c584c16a68</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;file:///C:/Users/deepthi.hs/Downloads/Capture.PNG&lt;/p&gt;
&lt;p&gt;Errors showing in problem window while doing build and flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359486?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 05:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7262e20a-a48b-4139-b9f1-7a25a2c1c57e</guid><dc:creator>Deep_Bang</dc:creator><description>&lt;p&gt;hi Marte,&lt;/p&gt;
&lt;p&gt;I am trying to work with peripheral LBS sample. i flashed this code on nRF52840 dk.&lt;/p&gt;
&lt;p&gt;i am using nRF52840 dk only . I am not using dongle .&lt;/p&gt;
&lt;p&gt;i have android based mobile with &amp;#39;nRF connect for mobile&amp;#39; app installed.&lt;/p&gt;
&lt;p&gt;when i turn on the app in mobile with nRF dk power on ,&amp;nbsp; the nrf dk (Nodic-LBS)is not listed in scanning window of mobile.why dk kit and mobile are not getting paired.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359485?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 05:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef9fe303-6589-43cf-9e9e-6439d83a08a5</guid><dc:creator>Deeksha NV</dc:creator><description>&lt;p&gt;hi Marte,&lt;/p&gt;
&lt;p&gt;I am trying to work with peripheral LBS sample. i flashed this code on nRF52840 dk.&lt;/p&gt;
&lt;p&gt;i am using nRF52840 dk only . I am not using dongle .&lt;/p&gt;
&lt;p&gt;i have android based mobile with &amp;#39;nRF connect for mobile&amp;#39; app installed.&lt;/p&gt;
&lt;p&gt;when i turn on the app in mobile with nRF dk power on ,&amp;nbsp; the nrf dk (Nodic-LBS)is not listed in scanning window of mobile.why dk kit and mobile are not getting paired.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: code to enable bluetooth on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/359355?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 12:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a20ef1c-6081-4674-bcbc-504e4919e47f</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For how to enable Bluetooth I recommend checking out our existing Bluetooth samples in nRF Connect SDK. You can find the examples under &amp;lt;ncs_installation&amp;gt;/nrf/samples/bluetooth, and documentation for the samples can be found here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/samples/samples_bl.html"&gt;Bluetooth samples&lt;/a&gt;.&amp;nbsp;The&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/samples/bluetooth/peripheral_lbs/README.html"&gt;Peripheral LBS&lt;/a&gt;&amp;nbsp;sample is a simple example that&amp;nbsp;works&amp;nbsp;well as a starting point.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>