2

How can I log the bluetooth informations, that my connected Android phone sends to another device, so I can see, what it sends and receives? (I'm using Linux btw)

CMinusMinus
  • 426
  • 1
  • 3
  • 11

1 Answers1

2

If your Android device is connected to your Linux machine and you want to see the packets being sent, your best bet is the "btmon" command. In a new terminal, simply type

sudo btmon

and then proceed with connecting/exchanging data normally. You'll see the HCI logs on the btmon terminal. More information can be found here:-

If on the other hand your Android phone is connected to another device and you want to read the packets through your Linux machine, then you'll need a packet sniffer for this such as Wireshark. More information can be found here:-

I hope this helps.

Youssif Saeed
  • 11,789
  • 4
  • 44
  • 72