Thread (2 messages) flat view 2 messages, 2 authors, 2021-12-12

Reconciling hcidump output with btmon

From: Dave Close <hidden>
Date: 2021-12-12 05:41:02

When I run "hcidump -R", I see (among other output) lines like these,

  > 04 3E 26 02 01 03 01 69 57 93 F1 99 F8 1A 02 01 04 09 09 39
    36 37 35 39 39 38 46 07 16 09 18 EB 03 00 FE 04 16 0F 18 3E
    A5

But trying every available option for "btmon", I can't find anything
remotely similar. How can I get this information using "btmon"? Or can
I -- does "btmon" show this type of information? Is there some other
command that would be more appropriate?

I understand that "hcidump" has been deprecated for several years. Yet
the output of "btmon" seems to imply that it is calling "hcidump". That
doesn't make sense to me. For example,

  @ RAW Open: hcidump (privileged) version 2.22 {0x0002} [hci0] 1.894682
  @ RAW Open: hcidump (privileged) version 2.22 {0x0003} 1.894702
  @ RAW Close: hcidump                          {0x0003} 1.894708
  @ RAW Close: hcidump                          {0x0002} [hci0] 1.894718

My system is running Fedora 34 with these packages:

  bluez-5.62-2.fc34.x86_64 (includes /usr/bin/btmon)
  bluez-deprecated-5.62-2.fc34.x86_64 (includes /usr/bin/hcidump)
  bluez-hcidump-2.5-18.fc34.x86_64 (includes /usr/sbin/hcidump)
-- 
Dave Close, Compata, Irvine CA      "Curiosity is insubordination
dave@compata.com, +1 714 434 7359    in its purest form."
dhclose@alumni.caltech.edu             -- Vladimir Nabokov

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help