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

TShark will not capture BTLE packets with nRF sniffer

I am having issues using tshark to capture BTLE advertising packets.

The system works very well with Wireshark. However, when I try to run `tshark` from the command line, it immediately quits and says "0 packets captured."

Any ideas why it may be working in Wireshark but not in Tshark?

Setup: I am using the nRF51 DK for the sniffer. This works well via the Wireshark GUI (version 2.6.1) as I mentioned. I have a peripheral device that is sending advertising packets and Wireshark easily detects them (i.e. I know the hardware works and there are advertising packets being sent).

Command used: After navigating to my Wireshark folder on the command line, I type:

tshark -i 6 -a duration:10

My nRF sniffer is interface 6. Everything is run on Windows 8.

Further Info: TShark works correctly if I try to capture wifi

tshark -i 1 -a duration:10

where interface 1 is the wifi interface.

Thanks!

Related