<?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>Trouble getting BLE peripheral ad example running under nrfConnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106954/trouble-getting-ble-peripheral-ad-example-running-under-nrfconnect</link><description>Just getting back to BLE projects and have changed from nrfSDK to nrfConnect development system. 
 Seems to have installed correctly on Windows 11 and can build, execute and debug Blinky app on 
 both nrf52840DK and nrf52840_dongle (usng nrf Connect Desk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Dec 2023 13:40:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106954/trouble-getting-ble-peripheral-ad-example-running-under-nrfconnect" /><item><title>RE: Trouble getting BLE peripheral ad example running under nrfConnect</title><link>https://devzone.nordicsemi.com/thread/461960?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2023 13:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d28377c-e651-451d-8a3d-f82685dfb1a4</guid><dc:creator>Elfving</dc:creator><description>[quote user="rtisys"]Maybe that&amp;#39;s no longer correct?? Sorry for the lengthy reply here;[/quote]
&lt;p&gt;No problem, but no it is no longer correct. In NCS that should be included by default.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Though as I now see in your newest reply you&amp;#39;ve already figured this out. Too bad that you had a hard time getting the right result from the android app though.&lt;/p&gt;
&lt;p&gt;Having flashed the peripheral sample to a DK, and using the &amp;quot;nRF Connect&amp;quot; application, you should be able to see it there. Though you might have to add a filter for signal strength.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble getting BLE peripheral ad example running under nrfConnect</title><link>https://devzone.nordicsemi.com/thread/461930?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2023 10:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66449d99-08a8-4d64-b207-9637b4615ce7</guid><dc:creator>rtisys</dc:creator><description>&lt;p&gt;I have more info on this issue and, although it appears to be resolved, have included some text here for others&lt;/p&gt;
&lt;p&gt;that may find it useful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Dug into the tutorials a bit more and found some interesting Nordic Youtube videos focused on nrfConnect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Long story short, my problem appears to be using the Nordic Android Blue Tooth monitoring app.&amp;nbsp; I didn&amp;#39;t see any&lt;/p&gt;
&lt;p&gt;advertisements for any of the apps I was running on either Nordic platform (nrf52840DK and nrf52840_dongle).&amp;nbsp; When I&amp;nbsp;&lt;/p&gt;
&lt;p&gt;switched to another vendor&amp;#39;s Android BLE sniffer, ads showed up and I could make connections, etc.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure the Nordic Android app works fine; but couldn&amp;#39;t find much by way of examples and an empty screen&lt;/p&gt;
&lt;p&gt;sure looked like the code was not executing properly.&amp;nbsp; &amp;nbsp;My bad.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You were right about softdevices being loaded by nrfConnect SDK automatically.&amp;nbsp; I found the web page that&lt;/p&gt;
&lt;p&gt;claimed otherwise and it referred to the older SDK programming environment.&amp;nbsp; Googling for info on this issue&lt;/p&gt;
&lt;p&gt;turned up a mixture of info on both the old build environment as well as the new zephyr/nrfConnect SDK&lt;/p&gt;
&lt;p&gt;environment that sent me down the wrong track.&amp;nbsp; Will be more careful from here out.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble getting BLE peripheral ad example running under nrfConnect</title><link>https://devzone.nordicsemi.com/thread/461869?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 20:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba0ad537-6581-4a55-b32e-8a24afd43bcc</guid><dc:creator>rtisys</dc:creator><description>&lt;p&gt;Thanks for your quick reply...I understand about being short staffed over the holidays. Just trying to make some&lt;/p&gt;
&lt;p&gt;progress during the &amp;quot;quiet time: between the holidays.&amp;nbsp; Will take your advice and go through the online tutorial...&lt;/p&gt;
&lt;p&gt;been through it quickly once, but will be a bit more through on the second pass.&amp;nbsp; Let me just mention a few things&lt;/p&gt;
&lt;p&gt;for clarity.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- I have built and run Blinky using the nrf Connect SDK.&amp;nbsp; It runs as expected on both the nrf52840DK board and&lt;/p&gt;
&lt;p&gt;the nrf52840 dongle usb board.&amp;nbsp; I can flash the zephyr.hex file onto nrf52840DK board from the Visual Studio Code interface and&lt;/p&gt;
&lt;p&gt;walk through the code using the debugger...so, at some level, things do &amp;quot;work&amp;quot;.&amp;nbsp; Apparently, the nrf52840 dongle board&lt;/p&gt;
&lt;p&gt;cannot be flashed from&amp;nbsp; Visual Studio Code and requires the Programmer tool started from the nrf Connect&lt;/p&gt;
&lt;p&gt;for Desktop app.&amp;nbsp; So, that&amp;#39;s what I have used for the usb dongle.&amp;nbsp; Blinky also runs correctly on that platform.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From what I have read, debugging on that platform is not possible - not a problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- I then create a new application (in Visual Studio Code) and select the &amp;quot;periodic_adv&amp;quot; sample code and&lt;/p&gt;
&lt;p&gt;follow the above process of building and flashing.&amp;nbsp; In both cases, I select the appropriate nrf board when I&lt;/p&gt;
&lt;p&gt;am creating the zephyr application build environment.&amp;nbsp; After building&amp;nbsp; for both platforms, the respective flash loaders indicate&lt;/p&gt;
&lt;p&gt;successful load of the &amp;quot;zephyr.hex&amp;quot; file...but no ads appear then I use the Nordic Android Blue Tooth sniffing&lt;/p&gt;
&lt;p&gt;program.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found a note &amp;quot;somewhere&amp;quot; on the nordic site (DevZone?) that claimed the softdevice binary was not included in the&lt;/p&gt;
&lt;p&gt;application .hex file at build time and they gave some instructions on how to separately flash it onto the platform so it would&lt;/p&gt;
&lt;p&gt;be available when the actual app was subsequently loaded.&amp;nbsp; Maybe that&amp;#39;s no longer correct?? Sorry for the lengthy reply here;&lt;/p&gt;
&lt;p&gt;but I wanted to as clear as possible about what I&amp;#39;m seeing.......Clearly, this stuff does work - but I don&amp;#39;t have the right picture&lt;/p&gt;
&lt;p&gt;about how the parts fit together. Will run through the tutorials more carefully....thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Happy (remainder of the) hollidays.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble getting BLE peripheral ad example running under nrfConnect</title><link>https://devzone.nordicsemi.com/thread/461836?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 14:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1615609-84c2-4a19-9b2b-b1d8e8ff43a1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;I can build and flash BLE apps, like &amp;quot;periodic_adv &amp;quot;from the nrfConnect tool.&amp;nbsp; But they do not run.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;What do you mean by nRF Connect Tool?&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;Been reading as much as I can and realize that, with Zephyr, I need to get the softdevice loaded&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Not really, Zephyr and NCS should load that up for you. Which is why you can not find any particular softdevice file for NCS. In NCS there is the softdevice controller, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.html"&gt;which there are essentially 3 versions of.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
[quote user=""] But they do not run.[/quote]
&lt;p&gt;There might be mutliple things at fault here, &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;but I would recommend you to simply start off following along the NCS fundementals course which you can find here. It should show you how to get something like Blinky working.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For more than that I got to say that w&lt;span&gt;&lt;span dir="ltr"&gt;e are severely understaffed this week because of the Christmas holidays, and&amp;nbsp;I will have to get back to you on this when I have the time, which might be next week. Sorry for the inconvenience.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards and happy holidays,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Elfving&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>