<?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>nRF52 USB Dongle as programmer and beacon receiver</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78048/nrf52-usb-dongle-as-programmer-and-beacon-receiver</link><description>I had a generic USB dongle that I used to receive beacons on my machine from an nRF52832 chip. 
 To be able to perform OTA DFU, I replaced that generic USB dongle with an nRF52840 USB dongle. 
 Can I use the nRF52840 to function both as a programmer and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Aug 2021 08:12:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78048/nrf52-usb-dongle-as-programmer-and-beacon-receiver" /><item><title>RE: nRF52 USB Dongle as programmer and beacon receiver</title><link>https://devzone.nordicsemi.com/thread/323242?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 08:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca999dd3-b105-42f6-bd61-07181a8a9286</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Unfortunately, nRF Connect for Mobile is not available as open source, however, you can find the source of nRF Toolbox on our GitHub. This also &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox/tree/master/app/src/main/java/no/nordicsemi/android/nrftoolbox/dfu"&gt;includes support for DFU&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you have other questions related to mobile applications, please post it in a new ticket, as this is off topic for this thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 USB Dongle as programmer and beacon receiver</title><link>https://devzone.nordicsemi.com/thread/323167?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 16:34:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:478e2f01-c4a4-4630-88d2-39947b59634d</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;Ok thanks. How about the nRF Connect mobile App. Is that open source? Can we find out the process it follows to perform OTA updates?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 USB Dongle as programmer and beacon receiver</title><link>https://devzone.nordicsemi.com/thread/322602?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 07:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39bcb08c-0a92-4f34-9cd0-ec8e5bf241c2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Actually, nrfutil command line tool, which is used for performing OTA DFU is based on pc-ble-driver-py. This means that if is possible to extend the nrfutil Python application with custom code to scan for beacons alongside with performing DFU.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;pc-nrfutil&lt;/a&gt; is open source and available on our GitHub. The BLE DFU transport can be found &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/blob/master/nordicsemi/dfu/dfu_transport_ble.py"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you do not require OTA DFU and beacon scanning at the same time, you can just use two separate pc-ble-driver-py applications. The firmware running on the dongle (connectivity FW) will be the same, given that you use the same pc-ble-driver-py version as is used in pc-nrfutil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 USB Dongle as programmer and beacon receiver</title><link>https://devzone.nordicsemi.com/thread/322533?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 17:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a3c1ce8-e944-4ef1-9ab0-59e114258915</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;It seems like I have to combine C code that receives beacons, and the C code that performs programming and put some conditions to perform either former or latter. Are there examples in SDK for either of these to use as source and flash nRF52840 dongle with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 USB Dongle as programmer and beacon receiver</title><link>https://devzone.nordicsemi.com/thread/322529?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 16:22:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50bd9dc2-5b26-48a1-8e86-05073a1747a5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the nRF52840 Dongle can be used to receive beacons. You can use &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfconnect_ble/UG/nRF_Connect_BLE/nRF_Connect_intro.html"&gt;nRF Connect BLE application&lt;/a&gt; if you do not need to log the packets/parse it in any specific way, or you can create a C/Python/Node.JS application using &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that all these options requires the dongle to be flashed with a specific firmware for the task it will perform. It is therefore not possible to perform OTA DFU while receiving beacons (unless you create your own custom firmware for the Dongle).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>