<?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>Nrf 52 usb python application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120307/nrf-52-usb-python-application</link><description>My ultimate goal is to develop a pc application to provision and manage a ble mesh. I have around 50 devices in the mesh based on nef52840. I plan to use nrf52 ble usb dongle and a python program in windows. 
 to start out I’d like to create simple pc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Apr 2025 18:24:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120307/nrf-52-usb-python-application" /><item><title>RE: Nrf 52 usb python application</title><link>https://devzone.nordicsemi.com/thread/531078?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 18:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f99c3cbf-3111-4efb-a64b-d8ea3b8089df</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I recommend having a look at the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/connectivity/bluetooth/api/mesh/shell.html"&gt;Bluetooth Mesh Shell&lt;/a&gt;. While it does not provide an application level API, it does the next best thing by providing shell commands for most Bluetooth Mesh features. It should be possible to control everything that you need from a Python script, using a Dongle or DK with the Bluetooth Mesh Shell test sample.&lt;/p&gt;
&lt;p&gt;Please note that in order to program the Dongle, you must either connect physically to the Dongle from a programmer (and program it directly), or use the DFU solution from nRF5 SDK (with the application from nRF Connect SDK.) See the &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt; for details on the various options for how to program the Dongle. For a DK, programming nRF Connect SDK samples is straight-forward.&lt;/p&gt;
&lt;p&gt;As you wrote yourself, the pc-ble-driver (and the Python and JavaScript bindings) are deprecated. With those you would also have to implement large parts of Bluetooth Mesh yourself, which I cannot recommend.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf 52 usb python application</title><link>https://devzone.nordicsemi.com/thread/529891?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 05:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ed8e530-b50b-4c5e-b7de-6fc08fa182b9</guid><dc:creator>bjornolsen</dc:creator><description>&lt;p&gt;On further reflection. The correct way is to do this.&lt;br /&gt;&lt;br /&gt;Build and flash to USB dongle using the normal SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then communicate via USB using Python (using pyserial).&amp;nbsp; &amp;nbsp;The &amp;quot;&lt;span&gt;pc-ble-driver-py&lt;/span&gt;&amp;quot; is outdated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>