[Solved] bluetooth sniffing on OS-X.

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mcbadger
 
Posts: 1
Joined: Sun Nov 27, 2022 2:32 am

[Solved] bluetooth sniffing on OS-X.

Post by mcbadger »

Relieved to have solve my own issue.

The sniffer is created as /dev/cu.usbserial-2120, but appears as /dev/cu.usbserial-2120-4.0 inside Wireshark.

This causes this line in nrf_sniffer_ble.py to fail:

Code: Select all

interface, extcap_version = interface.split('-')
Just edit that out to:

Code: Select all

interface, other, extcap_version = interface.split('-')
One other helpful hint is that logs seem to be going into

Code: Select all

/tmp/logs/log.txt
.

User avatar
mgtheone
 
Posts: 3
Joined: Mon Dec 12, 2022 9:56 am

Re: [Solved] bluetooth sniffing on OS-X.

Post by mgtheone »

mcbadger wrote: Sun Nov 27, 2022 9:40 pm Relieved to have solve my own issue.

The sniffer is created as /dev/cu.usbserial-2120, but appears as /dev/cu.usbserial-2120-4.0 inside Wireshark.

This causes this line in nrf_sniffer_ble.py to fail:

Code: Select all

interface, extcap_version = interface.split('-')
Just edit that out to:

Code: Select all

interface, other, extcap_version = interface.split('-')
One other helpful hint is that logs seem to be going into

Code: Select all

/tmp/logs/log.txt
.
Dude, thank you so much! found your post and it saved me so much trouble.

If there is anyone else having problem seeing any traffic when connecting to the interface. what I did is same as @mcbadger suggested with the addition of:

Code: Select all

interface+= f'-{other}'

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”