Capture The Hci Logs Using Btmon - NXP Semiconductors 88W8987 User Manual

Wireless feature configuration guide for i.mx 8m nano evk with based wireless module
Hide thumbs Also See for 88W8987:
Table of Contents

Advertisement

NXP Semiconductors
Wireless Feature Configuration Guide for i.MX 8M Nano EVK with 88W8987-based Wireless Module

5.1.2 Capture the HCI Logs using btmon

UM11512
User manual
Follow these steps to capture the HCI logs between the i.MX 8M Nano and 88W8987-
based module using btmon utility.
Use the following command to start the HCI logs and store these in the file. You can use
Wireshark
tool and
Wireshark Software
root@imx8mnevk:~# btmon -w sample_hci.log &
Command output example
[1] 780
Bluetooth monitor ver 5.50
= Note: Linux version 5.4.24-2.2.0+gd60d1df535b1 (aarch64)
0.926150
= Note: Bluetooth subsystem version 2.22
0.926156
= New Index: 00:50:43:24:34:F7 (Primary,UART,hci0)
[hci0] 0.926159
= Open Index: 00:50:43:24:34:F7
[hci0] 0.926161
= Index Info: 00:50:43:24:34:F7 (Marvell Technology Group Ltd.)
[hci0] 0.926162
@ MGMT Open: bluetoothd (privileged) version 1.14
{0x0001} 0.926164
@ MGMT Open: btmon (privileged) version 1.14
{0x0002} 0.926262
root@imx8mnevk:~#
Start capturing HCI logs and store in text format
root@imx8mnevk:~# btmon | tee sample_hci.txt &
Command output example
[1] 780
Bluetooth monitor ver 5.50
= Note: Linux version 5.4.24-2.2.0+gd60d1df535b1 (aarch64)
0.926150
= Note: Bluetooth subsystem version 2.22
0.926156
= New Index: 00:50:43:24:34:F7 (Primary,UART,hci0)
[hci0] 0.926159
= Open Index: 00:50:43:24:34:F7
[hci0] 0.926161
= Index Info: 00:50:43:24:34:F7 (Marvell Technology Group Ltd.)
[hci0] 0.926162
@ MGMT Open: bluetoothd (privileged) version 1.14
{0x0001} 0.926164
@ MGMT Open: btmon (privileged) version 1.14
{0x0002} 0.926262
root@imx8mnevk:~#
All information provided in this document is subject to legal disclaimers.
to open the log file:
Rev. 1 — 3 December 2020
UM11512
© NXP B.V. 2020. All rights reserved.
71 / 78

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 88W8987 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents