seemoo-lab / internalblue

Bluetooth experimentation framework for Broadcom and Cypress chips.
693 stars 86 forks source link

The question about how to get LMP packets #36

Closed Ame-an closed 3 years ago

Ame-an commented 3 years ago

Hi there,
I try to using the CYW20735 evaluation board connect to android system, but only watch the hci_h4 & L2CAP data on wireshark, and can't watch the LMP data. So I can't watch LMP is because I didn't install the patch on the evaluation board, or other problem ?

Thanks in advance !

jiska2342 commented 3 years ago

Diagnostic messages, which include LMP, are not fully supported by the Linux BlueZ stack. You can use a modified kernel, see this issue: https://github.com/seemoo-lab/internalblue/issues/27#issuecomment-636014328

Note that I don't recommend this solution, instead, BlueZ should be patched properly. Anyway, I also don't recommend using Bluetooth on Linux in general ;)

jiska2342 commented 3 years ago

I further detailed kernel modification here: https://github.com/seemoo-lab/internalblue/blob/master/linux/bias_linux-4.14.111.diff