<?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>need wireshark usage examples</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29480/need-wireshark-usage-examples</link><description>first of all many many thanks for nrf sniffer 2.0 and all of it&amp;#39;s improvements (linux, live data display, easy install ... etc) 
 i&amp;#39;m sure there are still a lot details missing, but the easy install along with linux and live trace in linux support gets</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jan 2018 20:46:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29480/need-wireshark-usage-examples" /><item><title>RE: need wireshark usage examples</title><link>https://devzone.nordicsemi.com/thread/117199?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 20:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91aafeae-e95c-46a3-a8c3-9b1282f3f14b</guid><dc:creator>efiLabs</dc:creator><description>&lt;p&gt;thanks shibshab :&lt;/p&gt;
&lt;p&gt;this was exactly what i was looking for and i&amp;#39;m sure lots of others will also appreciate it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need wireshark usage examples</title><link>https://devzone.nordicsemi.com/thread/117201?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 09:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bb1251b-a900-4566-aa71-615df385dde9</guid><dc:creator>efiLabs</dc:creator><description>&lt;p&gt;thank you thank you thank you ... your explanation looks great ... i&amp;#39;ll have a look tomorrow, right now it&amp;#39;s 1:30 am California time
i don&amp;#39;t think i saw anything as detailed as this
more tomorrow :)
cheers Klaus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need wireshark usage examples</title><link>https://devzone.nordicsemi.com/thread/117200?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 07:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:118d4894-e584-4359-8782-1dc687963669</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;First of all, when sharing traces you should send the entire trace file. This is saved by clicking &lt;code&gt;File&lt;/code&gt; -&amp;gt; &lt;code&gt;Export ...&lt;/code&gt; and then choosing the packets you want to export.&lt;/p&gt;
&lt;p&gt;To see the data contained in each packet, simply highlight one packet by clicking it, and see the Packet Details panel for more details. If you do not see this, click &lt;code&gt;View&lt;/code&gt; -&amp;gt; &lt;code&gt;Packet Details&lt;/code&gt;.
This will show all data in the packet dissected and put in context of each of the different protocols being used.&lt;/p&gt;
&lt;p&gt;To see when a connection interval ends, its easiest to add the &lt;code&gt;Nordic BLE Sniffer&lt;/code&gt; -&amp;gt; &lt;code&gt;Delta Time (us end to start)&lt;/code&gt; as a column and keeping in mind that all packets within a connection event is sent with 150us between them, as shown below.
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4331.Capture3.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;As for your issues with overflow I do not know, how are you sending the data?&lt;/p&gt;
&lt;p&gt;To find the connection interval, the simplest way is to inspect the contents of the &lt;code&gt;CONNECT_REQ&lt;/code&gt; packet (#38 in your trace). See an example below
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/78155.Capture.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Alternatively, you can set up a filter. ALL fields you see in the Packet Details view can be used for filtering. The filter I will make to find the connection interval is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The packets need to be NON-advertisement packets (I.E. from a connection.) So I add &lt;code&gt;btle.access_address != 0x8e89bed6&lt;/code&gt; since this will filter out any advertisement packets as they all have the access_address 0x8e89bed6.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I want to see only master packets (as they dictate the start of the connection interval) So I add &lt;code&gt;nordic_ble.direction == 1&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Lastly I want to see the time between each packet I now have displayed, so I add a new column using a field from the Packet Details View, namely &lt;code&gt;Frame&lt;/code&gt; -&amp;gt; &lt;code&gt;Time Delta from previous displayed frame&lt;/code&gt;. You can also a field from the sniffer &lt;code&gt;Nordic BLE Sniffer&lt;/code&gt; -&amp;gt; `Delta Time (us end to start).&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Below is a trace with 30ms connection interval.
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4846.Capture2.PNG" alt="30ms connection interval trace" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>