Re: Convert btsnoop-formatted btmon log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sedat,

> I have applied two patches from bluetooth-next...
> 
> Bluetooth: Send HCI Set Event Mask Page 2 command only when needed
> Bluetooth: btbcm: Read controller features during configuration
> 
> ...against the official Debian/stretch kernel v4.9.30.
> 
> And grabbed a trace-log via 'btmon -w trace.log'.
> 
> When doing a...
> 
> btmon --read btmom-w_bcm20702_bth-next-fixed.BTSnoop-v1
> 
> ...I cannot see the lines with "Broadcom Read Controller Features".
> 
> What am I doing wrong?

you need a btmon from git that is capable of decoding it.

< HCI Command: Vendor (0x3f|0x006e) plen 0
> HCI Event: Command Complete (0x0e) plen 12
      Vendor (0x3f|0x006e) ncmd 1
        Status: Success (0x00)
        07 00 00 00 00 00 00 00

Otherwise you are just seeing this.

> How can I convert that BTsnoop-v1 binary log-file?
> Let's say ASCII.

btmon -r trace.log > trace.txt

> More precisely I wanted to investigate if the list of local-supported
> HCI event commands matches/dismatches the list shown from the
> firmware.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux