<?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>nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67317/nrf52840-failure-with-connect-desktop-and-wireshark</link><description>Hi all, I am trying to use the nrf52840 dongle with wireshark, I was having permission errors trying to open the device in the program section of the nrf desktop suite running on Ubuntu 20 and followed the suggestions found at https://devzone.nordicsemi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 29 Nov 2020 05:23:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67317/nrf52840-failure-with-connect-desktop-and-wireshark" /><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/282351?ContentTypeID=1</link><pubDate>Sun, 29 Nov 2020 05:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:753bb89b-bb50-4f2d-b9cb-a7f4461f11a9</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Sorry it took so long to for me to get back about this, I have looked into the protocol starting with the link you provided.&amp;nbsp; Again, I&amp;#39;m not very familiar with wireshark yet and am learning as I go but I did find a couple of hopeful leads, I just haven&amp;#39;t really been able to work out what to do with it yet.&amp;nbsp; The two repositories I have been looking at are file:///tmp/mozilla_david0/Lightweight%20Mesh%20Developer%20Guide.pdf (it&amp;#39;s listed as a digikey link on search results), &lt;a href="https://github.com/Pinoccio/library-atmel-lwm"&gt;https://github.com/Pinoccio/library-atmel-lwm&lt;/a&gt; and &lt;a href="https://github.com/wireshark/wireshark/tree/master/epan/dissectors"&gt;https://github.com/wireshark/wireshark/tree/master/epan/dissectors&lt;/a&gt; . I&amp;#39;m not sure how much any of it is related to what I&amp;#39;m trying to do but hopefully I&amp;#39;ll find something helpful in it.&amp;nbsp; I&amp;#39;ll try to remember to post findings here so hopefully it can help if someone else has the same issue in the future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/279134?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 08:07:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e55c128f-65c2-4653-8f5b-03f2e04a0ce6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I suppose lwmesh is referring to this proprietary protocol by Atmel: &lt;a href="https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/Atmel%20Lightweight%20Mesh"&gt;https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/Atmel%20Lightweight%20Mesh.&lt;/a&gt;&amp;nbsp; I&amp;#39;m not familiar with this protocol, but I think the first step should probably be to find out if the specification specifies how data is encrypted. Wireshark also seems to have support for this protocol - maybe it supports decryption if you provide the correct key like it does for Zigbee and Thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/278658?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 16:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:802cb636-5932-42da-b3c2-87206f81ffb9</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Sorry for the slow responce Vidar,&lt;/p&gt;
&lt;p&gt;I agree it would have been satisfying to know what was going wrong, but I suppose it could at least be a basic method to get it working if anyone else has a similar problem.&amp;nbsp; Defiantly not an ideal solution but it seems to work.&lt;/p&gt;
&lt;p&gt;That was a very vague question, I believe I found the communication stream I&amp;#39;m looking for, and it gives two separate protocols.&amp;nbsp; When it&amp;nbsp; is acting as a beacon (source address 00:23:f7:45:ee:19:6c:50 no addressed destination) it shows the protocol is IEEE 802.15.4 which is what I expected to find.&amp;nbsp; When it is performing a data transfer (source address 00:23:f7:23:a4:73:a7:f1 and destination address 00:23:f7:45:ee:19:6c:50) it says the protocol is lwmesh.&amp;nbsp; I&amp;#39;ve tried googling to find more information about what the lwmesh protocol is but either didn&amp;#39;t find anything talking about what I was looking for or I just don&amp;#39;t know enough of the basics to understand what it was saying, for all I know the two protocols are exactly the same and just labelled differently.&lt;/p&gt;
&lt;p&gt;All that being said, what I&amp;#39;m looking to do is create a small and easily portable contained package that can intercept and process the transmissions (it&amp;#39;s for a blood sugar reading device, I&amp;#39;ve written some scripts in R that pretty effectively predict whether the blood sugar is going to go high or low but obviously that would be most useful if i can carry it with me on a regular basis.&amp;nbsp; I&amp;#39;m pretty familiar with the raspberry pi and my first choice would be to use a pi zero simply because I wouldn&amp;#39;t have to learn to use an entirely new hardware platform.&amp;nbsp; However, if that doesn&amp;#39;t end up being practical I could figure out how to port it to an arduino platform.&amp;nbsp; I had considered simply using the dongle but I would end up soldering it together so they could stack without the dongle sticking out.&amp;nbsp; ideally I would like to have a solution that would be somewhat smaller then the dongle and could communicate via the GPIO on the pi.&lt;/p&gt;
&lt;p&gt;Also as long as I&amp;#39;ve got you, I was trying to decode the transmissions using wireshark but haven&amp;#39;t been able to get it set up and working.&amp;nbsp; I&amp;#39;m fairly certain that the &amp;#39;key&amp;#39; is going to be the 10 character serial number of one of the devices.&amp;nbsp; Could you recommend any really basic guide to wireshark for that, or even better a separate package (python, shell, etc.) that could do the decoding?&lt;/p&gt;
&lt;p&gt;Thanks so much for all the help,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/278058?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 12:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c0c8086-30e2-40f5-9c45-8d82d10b29cd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It would of course have been nice to know the root cause of why it didn&amp;#39;t work at first, but I&amp;#39;m glad to hear that it&amp;#39;s working now.&lt;/p&gt;
[quote user="david613"]So, assuming I can identify the thing I&amp;#39;m hoping to could you suggest a small product that could handle the communication protocols that&amp;#39;s compatiable with raspberry pi?&amp;nbsp; If not raspberry pi &lt;span&gt;arduino&lt;/span&gt;?[/quote]
&lt;p&gt;&amp;nbsp;Sorry, but I&amp;#39;m not sure I understand the question here. Can you try to elaborate? Newer Pi&amp;#39;s come with built-in BLE support, but you can also plug-in a nRF52840 Dongle to work with both Zigbee and Thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277920?ContentTypeID=1</link><pubDate>Sun, 01 Nov 2020 02:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5301f5c3-ec94-47f9-aa59-4f33e318d25c</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Ok, from looking into it for some reason caja file manager is causing all of those, I wouldn&amp;#39;t have thought that used python.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m actually getting the nrf 802.15.4 sniffer protocol!&amp;nbsp; I cannot say what exactly made it show up, the whole list of what I did before this worked: fresh install of Ubuntu 20 and the wireshark from default repository (I did not add an additional wireshark ppa like the instructions suggested), moved the nrf802154_sniffer.py to the global extcap folder, changed the header of the file to python3, refreshed the interfaces then rebooted the computer.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what the difference was, possibly the version of wireshark, possibly just a new install of wireshark.&amp;nbsp; Or someohter conflict that could have been happening with the OS.&lt;/p&gt;
&lt;p&gt;So, assuming I can identify the thing I&amp;#39;m hoping to could you suggest a small product that could handle the communication protocols that&amp;#39;s compatiable with raspberry pi?&amp;nbsp; If not raspberry pi &lt;span&gt;arduino&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;Thank you very much for all your help with this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277919?ContentTypeID=1</link><pubDate>Sun, 01 Nov 2020 00:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59489f00-afb9-476d-adb2-8beb36e54c27</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Ok, new developments, I decided to try a completely fresh install of wireshark which got&amp;nbsp; a bit complicated and ended up with a completely fresh install of Ubuntu 20.&amp;nbsp; I wanted to try getting the nrf802154_sniffer protocol to work before making ANY other changes to wireshark.&amp;nbsp; I installed pyserial and transferred nrf802154_sniffer.py to the extcap folder.&amp;nbsp; When I copied nrf802154_sniffer.py over I got the following in terminal&lt;/p&gt;
&lt;p&gt;/Downloads/nRF-Sniffer-for-802.15.4$ sudo wireshark&lt;br /&gt;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&lt;br /&gt;18:08:18.709 Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&lt;br /&gt;Initializing caja-open-terminal extension&lt;br /&gt;RuntimeError: object at 0x7f1649abf500 of type RenameMenu is not initialized&lt;br /&gt;RuntimeError: object at 0x7f164b1b74c0 of type FolderColorMenu is not initialized&lt;/p&gt;
&lt;p&gt;** (caja:25234): WARNING **: 18:08:57.949: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name &amp;quot;org.gnome.SessionManager&amp;quot; does not exist&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/usr/share/caja-python/extensions/dejadup.py&amp;quot;, line 156, in get_file_items&lt;br /&gt; include_paths = self.dejadup.get_dejadup_paths(&amp;#39;include-list&amp;#39;)&lt;br /&gt; File &amp;quot;/usr/share/caja-python/extensions/dejadup.py&amp;quot;, line 70, in get_dejadup_paths&lt;br /&gt; paths = ast.literal_eval([stdout][0]) # Convert shell dump to list&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 99, in literal_eval&lt;br /&gt; return _convert(node_or_string)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 98, in _convert&lt;br /&gt; return _convert_signed_num(node)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 75, in _convert_signed_num&lt;br /&gt; return _convert_num(node)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 66, in _convert_num&lt;br /&gt; _raise_malformed_node(node)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 63, in _raise_malformed_node&lt;br /&gt; raise ValueError(f&amp;#39;malformed node or string: {node!r}&amp;#39;)&lt;br /&gt;ValueError: malformed node or string: b&amp;quot;['$HOME']\n&amp;quot;&lt;/p&gt;
&lt;p&gt;everything from Traceback (most recent call last) is when I actually pasted the file into the extcap folder.&amp;nbsp; After pasting the file there were no more warnings, I refreshed the interfaces, closed and reopened wireshark and there was still no nRF-Sniffer-for-802.15.4 protocol listed.&amp;nbsp; I&amp;#39;m hoping maybe this could give you some insight, I&amp;#39;ll try looking into it but I&amp;#39;m not sure what it means off the top of my head.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277197?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef31e006-d7d8-47f2-9005-23f0c5df6d9e</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;My bad, I had pressed tab while the gui window was open but it just cycled through the fields as expected, I went back and pressed tab on the terminal and it gave me &amp;quot;balloc&amp;nbsp; channel&amp;nbsp; clear&amp;nbsp; cli&amp;nbsp; history&amp;nbsp; queue&amp;nbsp; recieve&amp;nbsp; resize&amp;nbsp; sleep&amp;quot; and the green light is blinking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277182?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d10cf3d-1fc8-4c59-bb62-183c13b50369</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Did you press the Tab button on your keyboard? Also, does the green LED blink?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277181?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 15:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d7692d-9ff2-441a-b7aa-ad9c510d8cae</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;ok, I did that with /dev/ttyACM0 and 115200 set as the speed, and I verified that the dongle is showing up as /dev/ttyACM0 when it&amp;#39;s plugged in, but it just showed a blank terminal.&amp;nbsp; It didn&amp;#39;t have any of the print like the image you posted. and I still do not have the nRF sniffer for 802.15.4 protocol listed in wireshark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277047?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 08:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10b73cb-c0a0-4702-8fae-2bdd12639819</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Sorry for the slow response. To verify that the serial communication is working, could you try connecting to it with a serial client such as putty as shown in the screenshot below? You can press the tab button on your keyboard to display the commands.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8360.putty1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7282.putty2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/277007?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 03:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb746763-de92-4629-b8cd-9883b6394ce2</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Hi Vidar, I tried looking around the internet for some ideas about where to go with this issue, but I couldn&amp;#39;t find anything that sounded promising.&amp;nbsp; Have you had any new ideas?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276719?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 20:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:372856ec-15ef-4de6-a695-0f1c4ebd124b</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;As a note, the folders open and behave normally without having looked into it I&amp;#39;m assuming the RuntimeErrors are related to the caja gui.&amp;nbsp; I could be totally wrong about that though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276718?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 20:12:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d7ac398-d65b-4a30-a461-92cf09797cc5</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;OK, I got the &amp;#39;\r&amp;#39; issue resolved, I tried running each of the python scripts individually to see if there was a particular one that was causing the error but none of them gave that error.&amp;nbsp; So I ran -&lt;/p&gt;
&lt;p&gt;apt install dos2unix&lt;/p&gt;
&lt;p&gt;sudo dos2unix &amp;#39;/usr/lib/x86_64-linux-gnu/wireshark/extcap/nrf802154_sniffer.py&amp;#39;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sudo dos2unix &amp;#39;/usr/lib/x86_64-linux-gnu/wireshark/extcap/nrf_sniffer_ble.py&amp;#39;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and after this&lt;/p&gt;
&lt;p&gt;sudo wireshark&lt;br /&gt;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&lt;/p&gt;
&lt;p&gt;However, even after running &amp;#39;Capture &amp;gt; Refresh Interfaces&amp;#39;, exiting and restarting wireshark I&amp;#39;m still not seeing any protocol for the nrf52840.&lt;/p&gt;
&lt;p&gt;I was just about to get listings of the extcap folders to make sure I&amp;#39;m not missing anything and found something else that could be of interest.&amp;nbsp; When I run &amp;#39;sudo wireshark&amp;#39; I get &amp;#39;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;Then no further terminal output until I open the extcap folder from &amp;#39;Help &amp;gt; About Wireshark &amp;gt; Folders&amp;#39; then I get&lt;/p&gt;
&lt;p&gt;13:57:54.817 Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&lt;br /&gt;RuntimeError: object at 0x7f70b405f380 of type RenameMenu is not initialized&lt;br /&gt;RuntimeError: object at 0x7f70b40acbc0 of type FolderColorMenu is not initialized&lt;/p&gt;
&lt;p&gt;then if I open the SnifferAPI folder in the extcap folder I get&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/usr/share/caja-python/extensions/dejadup.py&amp;quot;, line 156, in get_file_items&lt;br /&gt; include_paths = self.dejadup.get_dejadup_paths(&amp;#39;include-list&amp;#39;)&lt;br /&gt; File &amp;quot;/usr/share/caja-python/extensions/dejadup.py&amp;quot;, line 70, in get_dejadup_paths&lt;br /&gt; paths = ast.literal_eval([stdout][0]) # Convert shell dump to list&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 99, in literal_eval&lt;br /&gt; return _convert(node_or_string)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 98, in _convert&lt;br /&gt; return _convert_signed_num(node)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 75, in _convert_signed_num&lt;br /&gt; return _convert_num(node)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 66, in _convert_num&lt;br /&gt; _raise_malformed_node(node)&lt;br /&gt; File &amp;quot;/usr/lib/python3.8/ast.py&amp;quot;, line 63, in _raise_malformed_node&lt;br /&gt; raise ValueError(f&amp;#39;malformed node or string: {node!r}&amp;#39;)&lt;br /&gt;ValueError: malformed node or string: b&amp;quot;['$HOME']\n&amp;quot;&lt;br /&gt;RuntimeError: object at 0x7f70b405f380 of type RenameMenu is not initialized&lt;br /&gt;RuntimeError: object at 0x7f70b40acbc0 of type FolderColorMenu is not initialized&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That being said, I have the following contents for the global extcap folder&lt;/p&gt;
&lt;p&gt;/usr/lib/x86_64-linux-gnu/wireshark/extcap$ ls&lt;br /&gt;androiddump&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dpauxmon&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_sniffer_ble.py&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sdjournal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sshdump&lt;br /&gt;ciscodump&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf802154_sniffer.py&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; randpktdump&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SnifferAPI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; udpdump&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276539?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 06:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8662b9b2-cd1a-45e3-9652-bc69fe28fe1a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, the missing pyserial dependency was reported when you tried Python2. I&amp;#39;m not sure either why &amp;#39;\r&amp;#39; is appended to the line, would it make sense to try this in another text editor? The nrf_serial_ble.py script for the BLE sniffer has the exact same line and that is apparently working fine on your setup (&amp;nbsp;#!/usr/bin/env python3)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276522?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 03:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f30655c3-9869-43a4-b763-19c9fbf87e06</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;It does have pyserial installed for python3, and it works with the Bluetooth protocols.&amp;nbsp; I&amp;#39;m not sure what &amp;#39;\r&amp;#39; I would need to delete, the header for the script is &amp;#39;#!/usr/bin/env python3&amp;#39;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for all the help Vidar!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276340?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 06:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b40f14c6-d06a-4c28-b41b-ec15a74d22ad</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
[quote user="david613"]/usr/bin/env: ‘python3\r’: No such file or directory[/quote]
&lt;p&gt;&amp;nbsp;Looks like this is the problem. Can you try editing the py script again and remove the &amp;#39;\r&amp;#39; at the end. I forgot to mention earlier that I also had to change from &amp;#39;python&amp;#39; to &amp;#39;python3&amp;#39; in the script.&lt;/p&gt;
&lt;p&gt;And it looks like it&amp;#39;s failing with python2 because it does not have the &amp;#39;pyserial&amp;#39; dependency installed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276286?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 15:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a45fedc0-ebb5-4630-888d-c6daed964fec</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;When I&amp;nbsp; run it from terminal I get the following&lt;/p&gt;
&lt;p&gt;sudo wireshark&lt;br /&gt;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&lt;br /&gt;from: too many arguments&lt;br /&gt;/usr/bin/env: &amp;lsquo;python3\r&amp;rsquo;: No such file or directory&lt;br /&gt;/usr/bin/env: &amp;lsquo;python3\r&amp;rsquo;: No such file or directory&lt;br /&gt;from: too many arguments&lt;/p&gt;
&lt;p&gt;running it without sudo gets many more, but they seem to all be permissions issues as expected.&amp;nbsp; I looked through the GUI System Log Viewer but didn&amp;#39;t see anything that seems related at all.&amp;nbsp; If there&amp;#39;s a specific log to check let me now and I can have a look.&lt;/p&gt;
&lt;p&gt;I did have the idea that since Ubuntu 20 seems like it does not parse python as either python2 or python3, I checked the header of sudo &amp;#39;/usr/lib/x86_64-linux-gnu/wireshark/extcap/nrf802154_sniffer.py&amp;#39; and it was originally just python.&amp;nbsp; I changed it to python3 and it didn&amp;#39;t seem to change anything, when I tried changing it to python2 I got this&lt;/p&gt;
&lt;p&gt;sudo wireshark&lt;br /&gt;QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to &amp;#39;/tmp/runtime-root&amp;#39;&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/usr/lib/x86_64-linux-gnu/wireshark/extcap/nrf802154_sniffer.py&amp;quot;, line 62, in &amp;lt;module&amp;gt;&lt;br /&gt; from serial import Serial, serialutil&lt;br /&gt;ImportError: No module named serial&lt;br /&gt;from: too many arguments&lt;br /&gt;/usr/bin/env: &amp;lsquo;python3\r&amp;rsquo;: No such file or directory&lt;br /&gt;from: too many arguments&lt;br /&gt;/usr/bin/env: &amp;lsquo;python3\r&amp;rsquo;: No such file or directory&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/usr/lib/x86_64-linux-gnu/wireshark/extcap/nrf802154_sniffer.py&amp;quot;, line 62, in &amp;lt;module&amp;gt;&lt;br /&gt; from serial import Serial, serialutil&lt;br /&gt;ImportError: No module named serial&lt;/p&gt;
&lt;p&gt;so it does seem like it is accessing the nrf802154_sniffer.py file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276094?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 07:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a4dad67-9516-45b4-8f89-873780aa5366</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Can you try opening wireshark from the terminal and see if any errors are logged. I tested this now on my setup which is also running Ubuntu 20 (LTS)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3201.ws.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/276019?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 17:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a23756-fff6-45ea-aca8-3d564f50e025</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Hi Vidar, I did that, and it does show up as /dev/ttyACM0 but there is still no protocol listed for it in wireshark, with only a mouse dongle and the nrf dongle plugged in when I open wireshark there are 3 that show activity, but the same 3 show the same activity without the nrf dongle plugged in.&amp;nbsp; The 2 that are closest in terms of name are &amp;#39;nflog&amp;#39; (no activity) and &amp;#39;nfqueue&amp;#39; (also no activity), although I don&amp;#39;t think those are actually related since it is nf and not nrf.&amp;nbsp; From previously installing the Bluetooth LE protocol things it&amp;#39;s not doing anything when I move the python scripts to the extcap folder and refresh the devices.&amp;nbsp; I tried moving the entire nRF-Sniffer-for-802.15.4 folder into the extcap folder then running &amp;#39;sudo python3 setup.py install&amp;#39; and it seems sucessful but made no differences, I also tried only moving the nrf802154_sniffer.py file, and moving the nrf802154_sniffer.py and __init__.py files to the folder.&amp;nbsp; None of these got any new activity on the menu of protocols on the open page of wireshark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/275924?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 12:46:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dcd587b-ea5b-417b-8aec-0def7f4823ff</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Please try to program &lt;span&gt;&lt;a title="nrf802154_sniffer_dongle.hex" href="https://github.com/NordicSemiconductor/nRF-Sniffer-for-802.15.4/blob/v0.7.2/nrf802154_sniffer/nrf802154_sniffer_dongle.hex"&gt;nrf802154_sniffer_dongle.hex &lt;/a&gt;&lt;/span&gt;&lt;span&gt;from the latest release tagged with v0.7.2. It seems like there may be a problem with the one on Master. The green led should start to blink once you have programmed it. You should also see a new ttyACMx device popping up when the dongle is plugged in (ls /dev/ttyACM*)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/275745?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 03:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3095f6b1-3f7a-428b-ba19-2e1c3cea4a68</guid><dc:creator>david613</dc:creator><description>&lt;p&gt;Thanks for the response Vidar,&amp;nbsp; yes I have done both of those, changing the user permissions didn&amp;#39;t make any difference that I could tell.&amp;nbsp; From setting up the Bluetooth LE dongle from Adafruit I did find out that running wireshark as sudo can make a difference but, it does not do anything to the protocols to choose from.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-at-2020_2D00_10_2D00_19-21_2D00_28_2D00_19.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-at-2020_2D00_10_2D00_19-21_2D00_29_2D00_00.png" /&gt;&lt;/p&gt;
&lt;p&gt;The python file is in the excap folder, and has its permission set to allow executing as a program, I hit the &amp;#39;refresh interfaces&amp;#39; button in the capture menu, but I&amp;#39;m still not getting the selection for &amp;#39;nRF Sniffer for 802.15.4&amp;#39;.&amp;nbsp; I really don&amp;#39;t know what I missed, I did the j-link and command line tools.&amp;nbsp; I&amp;#39;m just stuck right now.&lt;/p&gt;
&lt;p&gt;Thanks for any help,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 failure with connect desktop and wireshark</title><link>https://devzone.nordicsemi.com/thread/275597?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 11:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f92aa633-9edb-470e-9ee7-322f66a02455</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Have you tried running Wireshark as root, or have you changed the user permission for Wireshar as suggested in the install guide (ref. &lt;span&gt;&lt;a title="Installing Wireshark and extcap plugin" href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/nrf802154_sniffer.html?cp=7_3_4_4_0_1_2#nrf802154_sniffer_wireshark"&gt;Installing Wireshark and extcap plugin&lt;/a&gt;&lt;/span&gt;)? It sounds like you have done everything else correctly. The programming log looks as expected.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>