This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Sniffer crashing

I'm trying to use the BLE sniffer in a quite busy BLE environment. Unfortunately, it always crashes after a few seconds.

I'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?

Added new log file with PCA10028 v1.2.0 and J-Link 5.10m: log.txt

Parents
  • Hmmm. The python script seems to be crashing so we should try to remove that from the equation. You can try the PC solutions from Adafruit or the OS X BTLE Sniffer software . If they fail as well, then we can examine the UART interface.

    Let us know what happens after you use different PC software.

    Added: Ok, as you say, it is not changing with the Adafruit python.

    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.

    Using the OS X version of the console seems to be only real work around.

  • 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.

Reply Children
No Data
Related