<?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 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94469/nrf52840-dk-sniffer-fails-to-display-data-messages-after-connect_ind-only-advertisements</link><description>//nRF52840 DK//PCA10056//central=apple-smartphone//Wireshark Version 4.0.1 (v4.0.1-0-ge9f3970b1527) sniffer.// 
 Wireshark is working perfectly on Advertising packets, but once a CONNECT_IND comes in 
 from the smartphone, no more messages from this Source</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Dec 2022 09:27:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94469/nrf52840-dk-sniffer-fails-to-display-data-messages-after-connect_ind-only-advertisements" /><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399865?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 09:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5daee03a-2410-4e4a-8a50-559ae78879fc</guid><dc:creator>Aeneas</dc:creator><description>&lt;p&gt;Right-click on the Source field in a particular line in the nrf/Wireshark display&lt;/p&gt;
&lt;p&gt;yields something line &amp;quot;eth.src == xx:xx:xx:xx:xx:xx &amp;quot; .&lt;/p&gt;
&lt;p&gt;When nrf BLE is active, nrf/Wireshark should generate:&lt;/p&gt;
&lt;p&gt;&amp;quot;btle.advertising_address == xx:xx:xx:xx:xx:xx &amp;quot; .&lt;/p&gt;
&lt;p&gt;This is especially useful in the Advertising Only realm, inclduing groups of addresses&lt;/p&gt;
&lt;p&gt;using the built-in right-click filter&amp;nbsp; boolean operations.&lt;/p&gt;
&lt;p&gt;The point of the Filter All, is to filter out all currently air-detected addresses,&lt;/p&gt;
&lt;p&gt;so that when the user presses Go on his debugger, that new advertiser random address&lt;/p&gt;
&lt;p&gt;will be the only one who appears on the display.&lt;/p&gt;
&lt;p&gt;Filtering all advertisers through 0x8e89bed6 would also filter this new advertiser.&lt;/p&gt;
&lt;p&gt;There was an update for Wireshark yesterday, but I did not see a list of&lt;/p&gt;
&lt;p&gt;updated features.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;btle.length != 0 does seem to work for Empty PDU -- well done.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399842?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 08:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e413d74e-e264-4dad-9fa5-d7a7edc3298b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aeneas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please explain a little bit more on the eth.src thing ? I&amp;#39;m not very familiar with that.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please note that you can use right click filter and filter out empty packet, address etc as explained &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_sniffer_ble%2FUG%2Fsniffer_ble%2Finspecting_data.html&amp;amp;cp=10_5_4_1"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;And for advertising packet, all packets from any boardcaster have the same physical address of 0x8e89bed6 address and the broadcaster address is only provided in the payload. You need to filter it the same way as you filter the payload data.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399769?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2022 17:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c79a26-0252-4685-b82b-03f5bde9e24c</guid><dc:creator>Aeneas</dc:creator><description>&lt;p&gt;The Wireshark right-click filter menu generates excellent boolean compound&lt;/p&gt;
&lt;p&gt;statements when several addresses are filtered in or out, so it is a&lt;/p&gt;
&lt;p&gt;powerful feature which is hampered by this eth.src&amp;nbsp; text replace oversight.&lt;/p&gt;
&lt;p&gt;So, to which part of the nrf project have you moved ?&lt;/p&gt;
&lt;p&gt;Maybe I will add some more recs by the time&amp;nbsp;you are back on Wireshark..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399630?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2022 12:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aec36f2f-e705-4ba0-99f7-17c110c5e1bd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aeneas,&amp;nbsp;&lt;br /&gt;Unfortunately I don&amp;#39;t have a timeline for it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399518?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 17:05:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1008d20d-4eb7-408e-a76d-a210442c6f70</guid><dc:creator>Aeneas</dc:creator><description>&lt;p&gt;I was already well familiar with the limitations of your nrf Sniffer tool,&lt;/p&gt;
&lt;p&gt;which explain why your tool is much less expensive, but still very useful.&lt;/p&gt;
&lt;p&gt;They have&amp;nbsp;nothing to do with my recommendations, which&amp;nbsp;pertain&lt;/p&gt;
&lt;p&gt;to the usability of the product the way it is.&lt;/p&gt;
&lt;p&gt;When do you plan an update to the nrf.wireshark software ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399373?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 10:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbe3da84-9b66-47b2-9237-3ebd6d38db0e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aeneas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the feedback.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The challenge here is that there are 40 channels for BLE and the radio on the nRF52 can only listen on one channel at a time.&amp;nbsp; It&amp;#39;s impossible for the sniffer to follow multiple connections&amp;nbsp;(and advertising packet) with just one radio.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the reason why if you don&amp;#39;t select a single device the sniffer can only scan advertising packets (which use only 3 channels in a predictable way). Only after a device is selected the sniffer can detect a connection for the specified device and can follow the connection. Only one connection at a time.&amp;nbsp;&lt;br /&gt;Some of the more expensive sniffer can sniff on all channels so you can just simply filter the device(s) you want to listen on the right-click menu but we are talking about professional sniffers at the cost of dozen of thousand USD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399031?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 16:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1b21b99-7d93-4de4-9fde-625c38f1cea7</guid><dc:creator>Aeneas</dc:creator><description>&lt;p&gt;That portion of my statement&amp;nbsp; deals with the fact that the nrf Sniffer Plugin&lt;/p&gt;
&lt;p&gt;documentation does not state clearly that unless you select one of the&lt;/p&gt;
&lt;p&gt;air-detected devices&lt;/p&gt;
&lt;p&gt;listed with dBm under Device, you will not see any Data traffic at all --&lt;/p&gt;
&lt;p&gt;only Advertising traffic.&lt;/p&gt;
&lt;p&gt;This runs counter to the historic background of Wireshark, which relies&lt;/p&gt;
&lt;p&gt;on the right-click Filter menu, to select addresses to monitor/follow.&lt;/p&gt;
&lt;p&gt;That right-click Filter menu still works for Advertising Only traffic,&lt;/p&gt;
&lt;p&gt;as long as translation is made to&amp;nbsp;&lt;span&gt;btle.advertising_address in a tedious text replacement&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;process from the eth.src default (i.e. for Ethernet).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/399025?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 15:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd89a82d-095c-4405-8b87-ba9f7dbbed85</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aeneas,&amp;nbsp;&lt;br /&gt;I assume you have managed to select your device in the device list and now can follow the connection&amp;nbsp; ?&lt;br /&gt;The process of selecting the device in device list is actually in the documentation of the sniffer. You can see &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/sniffer_usage.html?cp=10_5_4"&gt;here&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/action_connection.html?cp=10_5_5_2"&gt;here&lt;/a&gt;.&lt;br /&gt;You can filter empty packet using&amp;nbsp;!(btle.data_header.length == 0) . You can see some other common use filters &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/inspecting_data.html?cp=10_5_4_1"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote user="Aeneas"]&lt;p&gt;Normally, in developing ble firmware, after a firmware build, one runs the sniffer anew,&lt;/p&gt;
&lt;p&gt;sets up them sniffer&amp;#39;s configuration,&lt;/p&gt;
&lt;p&gt;then presses Go&amp;nbsp; on the firmware debugger, to start executing the firmware.&lt;/p&gt;
&lt;p&gt;That sequence would not see the under-development device as&lt;/p&gt;
&lt;p&gt;an active air-detected device, yet, in that Device list.&lt;/p&gt;
&lt;p&gt;So it would be hard even to &amp;#39;intuit&amp;#39; that functionality.&lt;/p&gt;[/quote]
&lt;p&gt;I don&amp;#39;t really get what you meant above. Could you elaborate ?&amp;nbsp;&lt;br /&gt;The sniffer can only capture active on-air device. The list may not be updated if you are only following one single device. If you want to update the list (if your device changes the address) you need to select follow all advertising devices or restart the sniffer.&amp;nbsp;&lt;br /&gt;Usually to make it easy to track a device, I would fix the address of the device as a static random address&amp;nbsp; and then I don&amp;#39;t need to change the sniffer to follow new address.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/398777?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 13:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cfa657a-2791-4dd1-bbd2-30cac4980c65</guid><dc:creator>Aeneas</dc:creator><description>&lt;p&gt;I just figured that out last night.&lt;/p&gt;
&lt;p&gt;So that is what the purpose of that list of various detected devices under Device.&lt;/p&gt;
&lt;p&gt;Is this nordic-wireshark interface&amp;nbsp; documented anywhere, or is this the chaos of active&lt;/p&gt;
&lt;p&gt;development by hard working engineers ?&lt;/p&gt;
&lt;p&gt;Normally, in developing ble firmware, after a firmware build, one runs the sniffer anew,&lt;/p&gt;
&lt;p&gt;sets up them sniffer&amp;#39;s configuration,&lt;/p&gt;
&lt;p&gt;then presses Go&amp;nbsp; on the firmware debugger, to start executing the firmware.&lt;/p&gt;
&lt;p&gt;That sequence would not see the under-development device as&lt;/p&gt;
&lt;p&gt;an active air-detected device, yet, in that Device list.&lt;/p&gt;
&lt;p&gt;So it would be hard even to &amp;#39;intuit&amp;#39; that functionality.&lt;/p&gt;
&lt;p&gt;Separately, is there any way to filter out the Empty PDUs from the list of packets ?&lt;/p&gt;
&lt;p&gt;And when will your engineers modify the Wireshark plug-in&amp;nbsp;&lt;/p&gt;
&lt;p&gt;to make&amp;nbsp;btle.advertising_address official,&lt;/p&gt;
&lt;p&gt;in the&amp;nbsp; /list right-click menu/apply as filter/ option ?&lt;/p&gt;
&lt;p&gt;Currently eth.src is the default.&lt;/p&gt;
&lt;p&gt;Also useful would be a Filter All option, for already detected sources,&lt;/p&gt;
&lt;p&gt;just before pressing Go on a device generating random addresses for itself,&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK sniffer fails to display Data messages after Connect_Ind, only advertisements</title><link>https://devzone.nordicsemi.com/thread/398765?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 13:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ae9102-994d-449b-8676-eaeb27e22433</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you selected the device in the Wireshark interface?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF Sniffer can only sniff one connection at a time, and you need to select which device you want to track before the device connects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>