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

Unable to capture BLE packets using nRF51 with python interface

Hi,

I'm using nRF51 BLE dongle as a sniffer to capture BLE packets. I can able to capture BLE packets using wireshark. However, I unable to capture BLE packets using python interface.

I'm using pyshark python package + nRF51 BLE sniffer dongle to do this.

I tried below code with other interfaces such as Wi-Fi, eth0, which is working as expected. However I unable to capture BLE packets using nRF51 as a interface.

import pyshark
capture = pyshark.LiveCapture(interface='nRF Sniffer for Bluetooth LE COM9') //**interface='Wi-Fi' is working **//
capture.sniff(timeout=50)
for packet in capture.sniff_continuously(packet_count=5):
  print (packet)

Adding to that, I have also used following names as interfaces " nRF Sniffer for Bluetooth LE COM9", "COM9","wireshark_extcap" ,which haven't worked.

Please provide me clarify why I unable to capture nRF51 dongle with python interface.

Related