<?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>Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68264/issues-with-cli-over-ble-example</link><description>Hi! 
 I am trying to test the CLI over BLE example. I want to use it in another application for logging data to a laptop console over BLE. 
 However, I am having trouble following the steps in the example documentation . I can compile and run the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Nov 2020 12:56:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68264/issues-with-cli-over-ble-example" /><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/281552?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 12:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01929ee3-9729-4d8f-a18e-003e0b75f7fb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Sorry for the confusion, but to be clear:&lt;/p&gt;
&lt;p&gt;The python scrip should be run on the computer. But the python scrip itself will flash the second board with the fw by using pc-ble-driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/281547?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 12:44:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767c7fbf-ff90-4e11-898e-1d71b2ac1a8c</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;Ok, thanks Jared! I&amp;#39;ve actually been running the Python script on my laptop via the terminal, so maybe that&amp;#39;s been the source of my problems. I did some quick searching and found Zerynth and MicroPython as options for programming the additional board with ble_serial.py. Do you happen to have any recommendations between the two of them (or others)? I couldn&amp;#39;t find anything super recent on Zerynth on DevZone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/281445?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 07:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5bf8f57-256f-410f-b8f1-b0ab0f34da79</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the other board still advertising when you try to connect via PuTTY? Note that it will go to sleep after about 3 minutes of advertising. The flow of execution should be as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Program board 1 with ble_app_cli application and the softdevice. Make sure that the led is blinking indicating that it&amp;#39;s advertising.&lt;/li&gt;
&lt;li&gt;Program board 2 with the python script.&lt;/li&gt;
&lt;li&gt;Use PuTTY to instruct board 2 to connect with board 1 by connecting to&amp;nbsp;&lt;b&gt;127.0.0.1 with port&amp;nbsp;8889&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;The led on Board 1 should then indicate that they are connected and a terminal should be created in the PuTTY.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/281193?ContentTypeID=1</link><pubDate>Sat, 21 Nov 2020 00:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58c2aded-388d-4a24-8eaa-3afcf4c7f474</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1605917785010v1.png" alt=" " /&gt; Ok, I tried it in PuTTY too. When I click open, it causes ble_serial.py to crash with the error:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Connected with 127.0.0.1:64025&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Traceback (most recent call last):&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ble_serial.py&amp;quot;, line 242, in &amp;lt;module&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;b = BLE_Serial(comport, args.name, conn)&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ble_serial.py&amp;quot;, line 96, in __init__&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;self.adapter.driver.open()&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;/Users/kylemassa/Library/Python/2.7/lib/python/site-packages/pc_ble_driver_py/ble_driver.py&amp;quot;, line 127, in wrapper&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;raise NordicSemiException(&amp;#39;Failed to {}. Error code: {}&amp;#39;.format(wrapped.__name__, err_code))&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 3&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/280719?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 22:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ba2b8c4-290a-4daf-a196-7c14d5821ab6</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;Thanks Jared! So to be clear, I am still trying to get past step 4 of the example instructions.&lt;/p&gt;
&lt;p&gt;In one terminal window, I ran ble_serial.py and got the following output (command included):&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;python ble_serial.py --snr 682672012 --name Nordic_CLI --com COM0006826720121 --family NRF52&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Board already flashed with connectivity firmware.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Socket created&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Socket bind complete&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Socket now listening&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Connected with 127.0.0.1:57604&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Traceback (most recent call last):&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ble_serial.py&amp;quot;, line 242, in &amp;lt;module&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;b = BLE_Serial(comport, args.name, conn)&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ble_serial.py&amp;quot;, line 96, in __init__&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;self.adapter.driver.open()&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;/Users/kylemassa/Library/Python/2.7/lib/python/site-packages/pc_ble_driver_py/ble_driver.py&amp;quot;, line 127, in wrapper&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;raise NordicSemiException(&amp;#39;Failed to {}. Error code: {}&amp;#39;.format(wrapped.__name__, err_code))&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 3&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;another terminal window, I ran telnet as you suggested. Here is the output from that window (command included):&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;telnet 127.0.0.1 8889&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Trying 127.0.0.1...&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Connected to localhost.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Escape character is &amp;#39;^]&amp;#39;.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;Connection closed by foreign host.&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It looks like the connection is being dropped immediately after it&amp;#39;s&amp;nbsp;established. What could be causing this behavior?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/280633?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 13:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:958034ea-7334-4af9-b017-9a7e1a40f052</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t think that SSH would be the correct protocol. I&amp;#39;m not sure as we haven&amp;#39;t tested the application on Mac OS AFAIK. Doing a quick google search revealed that the telnet protocol would be the appropriate one to get a raw TCP/IP connection. Could you try this one instead?&lt;/p&gt;
&lt;p&gt;Also, if you do have a windows computer with PuTTY available, then I strongly suggest that you use that one for testing the example.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/280606?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 12:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d092c95-ea35-470d-8b9c-53dea9d0c5b5</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m running&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;python ble_serial.py --snr 682672012 --name Nordic_CLI --com COM&lt;/span&gt;&lt;span&gt;0006826720121&amp;nbsp;&lt;/span&gt;&lt;span&gt;--family NRF52&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;which produces the output&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Board already flashed with connectivity firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Socket created&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Socket bind complete&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Socket now listening&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I&amp;#39;ve completed step 3 and am working on step 4. When I type&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;127.0.0.1:8889&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in a different terminal window without any command, it returns &amp;quot;Command not found&amp;quot;. The output produced in my above reply is triggered when I&amp;#39;ve completed step 3 and I use ssh for step 4.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/280510?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 07:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d04fec3c-dc73-4427-963f-75be7d166f5b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What are you passing as parameters to the script now? Could you describe in more detail exactly what step you&amp;#39;re at and what you&amp;#39;re doing?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And why are you using ssh? I think it should be enough to just type in the destination address&amp;nbsp;&lt;/p&gt;
[quote user="kmassa5"]&lt;p&gt;&lt;span&gt;which is just its serial number with three 0&amp;#39;s appended to the front. Is this the COM port I should be using in the ble_serial.py inputs?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;Yes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/280092?ContentTypeID=1</link><pubDate>Mon, 16 Nov 2020 12:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03ee5774-5bdf-4102-9fa9-b79ba7bacd55</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;Hey Jared!&lt;/p&gt;
&lt;p&gt;I tried using the Mac terminal, running a command like,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ssh user@localhost -p8889&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This causes the example to crash with an error message like,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Connected with 127.0.0.1:56148&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Traceback (most recent call last):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ble_serial.py&amp;quot;, line 242, in &amp;lt;module&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;b = BLE_Serial(comport, args.name, conn)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;ble_serial.py&amp;quot;, line 96, in __init__&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;self.adapter.driver.open()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;/Users/kylemassa/Library/Python/2.7/lib/python/site-packages/pc_ble_driver_py/ble_driver.py&amp;quot;, line 127, in wrapper&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;raise NordicSemiException(&amp;#39;Failed to {}. Error code: {}&amp;#39;.format(wrapped.__name__, err_code))&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And the terminal exits with,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;kex_exchange_identification: read: Connection reset by peer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;EDIT: While connected to my laptop via a usb connection, the board just appears as&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/dev/tty.usbmodem0006826720121&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;which is just its serial number with three 0&amp;#39;s appended to the front. Is this the COM port I should be using in the ble_serial.py inputs?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/280055?ContentTypeID=1</link><pubDate>Mon, 16 Nov 2020 09:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3476cfea-5b8d-46a8-94ff-ef604a9c0215</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="kmassa5"]Sorry how do I determine the correct COM port? Thank you for the advice![/quote]
&lt;p&gt;&lt;span&gt;The serial port will appear as&amp;nbsp;&lt;/span&gt;&lt;code&gt;/dev/tty.usbmodemXXXX&lt;/code&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="kmassa5"]How do I do this on a mac without using PuTTY? Is there a PuTTY equivalent that will do this for me? In the meantime, I will look for a mac solution and get back to you if I discover anything on my own.&amp;nbsp;[/quote]
&lt;p&gt;Try using the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://support.apple.com/en-in/guide/terminal/welcome/mac"&gt;default terminal&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in Mac OS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/J-Link_OB#Limitations_under_Mac_OS_X"&gt;Note that there is some limitations of using Mac OS X with J-link&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/279984?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 22:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:687aa72b-0122-494d-b36b-015776ab075b</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry how do I determine the correct COM port? Thank you for the advice!&lt;/p&gt;
&lt;p&gt;Ok, so then what do you recommend I do with regards to pc-ble-driver-py? If I run it with just the &amp;quot;python&amp;quot; command (2.7), it still fails and can&amp;#39;t find the module.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;UPDATE: I got ble_serial.py working, I had to uninstall nrfutil and reinstall using pip instead of pip3. The problem was, on my mac, pip was never installed along with Python 2.7.x, so I had to do that first. Once I reinstalled nrfutil, I had to change the line importing dfu_transport_ble.py (it was located inside nordicsemi/dfu/ , so I had to add those directories to the import path).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So now I still need help with step 4:&lt;/p&gt;
&lt;p&gt;&amp;quot;Open a terminal, for example PuTTY. Set the Connection Type to &lt;b&gt;Raw&lt;/b&gt; and the Destination Address to &lt;b&gt;127.0.0.1:8889&lt;/b&gt;.&amp;quot;&lt;/p&gt;
&lt;p&gt;How do I do this on a mac without using PuTTY? Is there a PuTTY equivalent that will do this for me? In the meantime, I will look for a mac solution and get back to you if I discover anything on my own.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/279882?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 10:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c74e93df-d1a5-4aa6-9284-7ac4cd0862aa</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the correct COM port really 115? Have you typed in the correct serial number of the board that you&amp;#39;re using? It seems that you&amp;#39;re using the example values from the doc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just tested the example and noted that the script included in the SDK works with python2.7 but did not with python3. So the script is most likely written with python 2.7. Sorry for the contraction in my previous reply. That is the latest version of pc-ble-driver-py requires python 3.6 but the python script is written for python2.7&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/279804?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2020 16:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23dda812-eece-451e-80e8-305f15bafe0b</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Jared,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m running Python 3.9.0. When I run the command using python3, I get a new error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;python3 ble_serial.py --snr 680834186 --name Nordic_CLI --com COM115 --family NRF52&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Traceback (most recent call last):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;File &amp;quot;/Users/kylemassa/Downloads/nRF5_SDK_16/examples/ble_peripheral/experimental/ble_app_cli/ble_serial.py&amp;quot;, line 38, in &amp;lt;module&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;import Queue&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with CLI over BLE Example</title><link>https://devzone.nordicsemi.com/thread/279709?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2020 12:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:913fecc6-8363-45ce-9226-ea2c5398482a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What version of python are you using? &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/tree/v0.15.0"&gt;The latest version of pc-ble-driver-py requires minimum python 3.6&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>