<?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>Use out-of-the-box BLE Service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107757/use-out-of-the-box-ble-service</link><description>Dear all, 
 I am a beginner in this world of programming in C, C++. I have been taking the course Bluetooth Low Energy Fundamentals. And in lesson 4, exercise 2, there is a part that says &amp;quot; With this, we have covered how to create a custom Bluetooth LE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Feb 2024 09:29:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107757/use-out-of-the-box-ble-service" /><item><title>RE: Use out-of-the-box BLE Service</title><link>https://devzone.nordicsemi.com/thread/467091?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 09:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1cfeee0-191a-40b5-b779-64da6ded0c50</guid><dc:creator>Adrian1504</dc:creator><description>&lt;p&gt;I used the peripheral LBS sample.&lt;br /&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Adrian Lopez&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use out-of-the-box BLE Service</title><link>https://devzone.nordicsemi.com/thread/466927?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 12:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3cc9d46-6a47-4fba-8c5b-96c05758effa</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Adrian,&lt;/p&gt;
[quote user="Adrian1504"]should select peripheral in case my nrf will be the peripheral, right?[/quote]
&lt;p&gt;Yes, That is indeed right..&lt;/p&gt;
[quote user="Adrian1504"] In that sample that you indexed, the lines 72 to 86 and 96 to 145 are necessary?[/quote]
&lt;p&gt;Could you mention which sample?&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use out-of-the-box BLE Service</title><link>https://devzone.nordicsemi.com/thread/466445?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 10:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff1b79f9-ddd4-4de4-8603-da50e25e7240</guid><dc:creator>Adrian1504</dc:creator><description>&lt;p&gt;Hi Swathy,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I really appreciate the help. The building and running part is clear to me. Thank you.&lt;br /&gt;&lt;br /&gt;Regarding the peripheral lbs sample I think is also quite clear, so I just have to include the header, add the function to change the button state when changed, add this to the callbacks variable and then send this variable into the lbs_init, right? In that sample that you indexed, the lines 72 to 86 and 96 to 145 are necessary?&lt;br /&gt;&lt;br /&gt;Finally, one last question. For selecting the BAS(Battery Service), I see that there is a central and a peripheral sample. I understand that the central one is the one which initiates the connection, and the peripheral one the one that accepts the connection, but in this case, I should select peripheral in case my nrf will be the peripheral, right?&lt;/p&gt;
&lt;p&gt;Again, thank you so much for your help and kindness.&lt;/p&gt;
&lt;p&gt;Adrian Lopez.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use out-of-the-box BLE Service</title><link>https://devzone.nordicsemi.com/thread/466178?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2024 09:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f94b05-ab49-475c-b0cd-f826154aea2b</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Adrian,&lt;/p&gt;
[quote user=""]I know the question is quite basic, but I&amp;#39;d appreciate the help[/quote]
&lt;p&gt;No problem at all. There are already implemented samples that you can use as a base for developement which you can find here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples.html&lt;/a&gt;&amp;nbsp;Apart from these, you could also refer the samples from Zephyr:&amp;nbsp;&lt;a href="https://nordic-dev.zoominsoftware.io/bundle/ncs-latest/page/zephyr/samples/index.html"&gt;https://nordic-dev.zoominsoftware.io/bundle/ncs-latest/page/zephyr/samples/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you see the documentation for any sample, there is a section explaining how to build the sample and how to do the testing as well. I am linking you to the Peripheral LBS Sample: &lt;a href="https://nordic-theme-skin.zoominsoftware.io/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_lbs/README.html#building_and_running"&gt;Building and Running&lt;/a&gt;&amp;nbsp;and the steps to build a sample in VS Code is explained here:&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/get_started/build_app_ncs.html"&gt;https://nrfconnect.github.io/vscode-nrf-connect/get_started/build_app_ncs.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could also take a look at the building and Running Section of this tutorial demonstrating how to work with the nRF Desktop Application:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/nrf-desktop-on-a-development-kit#mcetoc_1fhppe3ul5"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/nrf-desktop-on-a-development-kit#mcetoc_1fhppe3ul5&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>