<?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>BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13654/ble-sniffer-crashing</link><description>I&amp;#39;m trying to use the BLE sniffer in a quite busy BLE environment. Unfortunately, it always crashes after a few seconds. 
 I&amp;#39;m using:
ble-sniffer_win_1.0.1
nRF51 Dongle
J-Lkn 5.12e
Windows 7 Pro 64 bit 
 See attached log file. log.txt 
 Any ideas</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Apr 2017 12:56:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13654/ble-sniffer-crashing" /><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52173?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 12:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ad6942-6bae-4273-9683-6c52043b9c5c</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I have no problems with &lt;a href="https://github.com/vshymanskyy/BLESniffer_Python"&gt;github.com/.../BLESniffer_Python&lt;/a&gt; on linux.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52172?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 07:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bdaefc1-bf98-4a9d-9f5f-49d08832b7bc</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;See my last comment above. Additionally the OS X Sniffer does not have this issue, so this is confirmed to be a PC software issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52170?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 14:40:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b16e7c4-89bd-4b5a-b5c7-1327956899b9</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;My suggestion would be to use the Adafruit python scripts and fix the SnifferAPI python yourself if you can for an immediate fix. The source is available as part of the Sniffer release (SnifferAPI.zip), I am unable to schedule a fix for this issue at this point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52169?ContentTypeID=1</link><pubDate>Thu, 19 May 2016 11:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815729c7-23ba-43fe-bebc-1542d32fce54</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;BTW I noticed I receive around 35 advertisers instead of the first stated 20.&lt;/p&gt;
&lt;p&gt;Any idea when a fix might become available?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52163?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 12:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b6cc96d-346b-4346-82cf-7ef3256b8f58</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;I added a new log file in the original message.&lt;/p&gt;
&lt;p&gt;Regarding the memory usage: I have about 4 GB of free memory and the sniffer console always crashes within 30s, never reaching more than 15 MB of memory usage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52167?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 10:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8232ef61-979d-4f0d-90cc-d1a81bba5fc6</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Can you delete old log files (log.txt, log.txt.1 , log.txt.2 etc) and get a fresh log file ?, use the &amp;quot;s&amp;quot; option to get to the folder&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52166?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 09:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c572e800-0069-47e8-b7cb-80b3cc9e2a88</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;Yes, I used exec InvalidateFW and installed 5.10n just before for testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52165?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 09:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed8df942-6441-4bbe-9c25-875deb5b0188</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Did you also specifically downgrade the firmware using the jlink documentation mentioned above ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52164?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 09:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4236c5de-d649-410f-9bfb-17caeef3bb2a</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;I have PCA10031 v1.1.0, and just tested with 5.10n. Unfortunately, the result is the same...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52168?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 09:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0936ca8-06a9-4f3d-bef6-d126470d8ccd</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;20 beacons is not a lot, what is the nRF51-Dongle version ? Can you down grade your jlink to 5.10n if you are using the latest nRF51-Dongle (PCA10031 v1.1.0). See the section on &amp;quot;J-Link / J-Trace firmware&amp;quot; in the UM08001_JLink.pdf that is present your jlink installation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52171?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 08:30:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0af216-026c-44a6-97b8-bc6974af836b</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;Any update on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52162?ContentTypeID=1</link><pubDate>Tue, 10 May 2016 15:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d07f85f6-43df-44c1-98e3-ab51d930df3e</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;I tried the Adafruit software, but it seems this is also using the Python API. And since the problem seems to be in the Python API, it crashes exactly the same.
Unfortunately I don&amp;#39;t have access to an OSX system.
I also verfied that there is no crash if I run the sniffer in an environment with only a few beacons instead of the 20 beacons I have in my test setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52161?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 11:48:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:040068d6-e63f-4dca-81fb-0082b173856d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Hmmm.
The python script seems to be crashing so we should try to remove that from the equation. You can try the &lt;a href="https://github.com/adafruit/Adafruit_BLESniffer_Python"&gt;PC solutions from Adafruit&lt;/a&gt; or the &lt;a href="https://sourceforge.net/projects/nrfblesnifferosx/"&gt;OS X BTLE Sniffer software&lt;/a&gt; .
If they fail as well, then we can examine the UART interface.&lt;/p&gt;
&lt;p&gt;Let us know what happens after you use different PC software.&lt;/p&gt;
&lt;p&gt;Added:
Ok, as you say, it is not changing with the Adafruit python.&lt;/p&gt;
&lt;p&gt;I have a limited work around, it appears that the memory usage of the ble-sniffer PC console is a bit odd as it seems to grow quite fast, so I suggest that you have just the sniffer running so that it has a lot of memory available for itself. The work around is limited as it will eventually run out of memory and crash. I measured usage excess of 100MB when having about 20 devices.
I am acknowledging it as a bug and needs a fix.&lt;/p&gt;
&lt;p&gt;Using the OS X version of the console seems to be only real work around.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Sniffer crashing</title><link>https://devzone.nordicsemi.com/thread/52160?ContentTypeID=1</link><pubDate>Fri, 06 May 2016 10:27:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ff27c9-f9f2-4225-8ede-47ff920de82a</guid><dc:creator>bds</dc:creator><description>&lt;p&gt;If the problem is the UART throughput through the J-Link firmware, could I bypass this with an FTDI cable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>