<?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 Sniffer API Capability</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61020/nrf-sniffer-api-capability</link><description>Hello, 
 Are there any documentation on the python API for the sniffer? e.g. Definition of parameters? For device list from scan, the output may look like: 
 
 BLE device &amp;quot;&amp;quot;&amp;quot;&amp;quot; ([49, 31, 240, 111, 40, 239, True]) BLE device &amp;quot;&amp;quot;&amp;quot;&amp;quot; ([112, 86, 129, 237, 169</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 May 2020 00:18:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61020/nrf-sniffer-api-capability" /><item><title>RE: nRF Sniffer API Capability</title><link>https://devzone.nordicsemi.com/thread/248316?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 00:18:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abb1bc00-bb2c-4156-bcae-d55dc26e2ff3</guid><dc:creator>FI</dc:creator><description>&lt;p&gt;Gents, Thanks so much! Using it for a day, I find wireshark very useful and educational, knowing the API is fully capable for all wireshark functions, I will revisit the APIs for automation and production use.&amp;nbsp; Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer API Capability</title><link>https://devzone.nordicsemi.com/thread/248206?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 13:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d20e2af-a1ff-4756-8a49-0427a8d5c5d6</guid><dc:creator>Joakim Andersson</dc:creator><description>&lt;p&gt;The nRF sniffer for Bluetooth LE wireshark external capture (nrf_sniffer_ble.py)&lt;br /&gt;uses the Python API to send all data to Wireshark through the external capture (extcap) interface.&lt;br /&gt;So anything wireshark is able to do, you should be able to do with the Python API.&lt;br /&gt;However using wireshark would of course be much easier, since all of the analysis is implemented there.&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t unfortunately have much of documentation for the python API. I suggest to use nrf_sniffer_ble.py as your best example on how to use the python API.&lt;br /&gt;Further description on how the packet could be analysed you could have a look here:&lt;br /&gt;&lt;a href="https://github.com/wireshark/wireshark/blob/master-3.2/epan/dissectors/packet-nordic_ble.c#L13-L131"&gt;https://github.com/wireshark/wireshark/blob/master-3.2/epan/dissectors/packet-nordic_ble.c#L13-L131&lt;/a&gt;&lt;br /&gt;Also in the release zip under the doc folder there is sniffer_uart_protocol.xlsx describing this protocol format in full.&lt;br /&gt;&lt;br /&gt;Any feedback, suggestion for improvements, or actual changes to the python code would be very welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Sniffer API Capability</title><link>https://devzone.nordicsemi.com/thread/248169?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 12:17:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7607c4bf-a87c-4e7c-bf28-e9c3a6ead0d3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I always use wireshark, which provide a nice abstraction and details for debugging a connection. The log file from wireshark can easily be uploaded&amp;nbsp;here for other to take a look when there are any issues.&amp;nbsp;I can check if someone can comment on your question about python documentation.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>