How to log bluetooth messages / packets?

I’m currently developing an integration for a BLE device. I’ve already set all bluetooth-related loggers to debug, and i receive a couple of logs. Unfortunatelly, i dont receive any messages from a subscribed characteristic, despite the device’s logs tell, that it did send something.
How can i enable a low level bluetooth logger via terminal?

I tried tcpdump -D via terminal, but it does not list my bluetooth interface (most probably as it runs on a different container then HA does).

image

1 Like