Transclusion: Debian: CL-SOM-iMX7: Bluetooth
CL-SOM-iMX7 features Bluetooth 4.1 BLE interface, implemented with a TI WiLink8 Combo module.
Host Controller Interface (HCI) Initialization
- HCI requires no user interaction for being configured. The driver gets loaded automatically unless this option has been disabled by putting a black list rule for this device.
Make sure that the Bluetooth driver is loaded:
root@cl-rootfs:~# lsmod | grep btwilink btwilink 3822 0
The Bluetooth driver can be loaded manually:
root@cl-rootfs:~# modprobe btwilink
- HCI device configuration utility can be run to retrieve detailed information about the Bluetooth interfaces:
root@cl-rootfs:~# hciconfig hci0 -a hci0: Type: BR/EDR Bus: UART BD Address: 74:DA:EA:F9:CE:E3 ACL MTU: 1021:6 SCO MTU: 180:4 UP RUNNING RX bytes:636 acl:0 sco:0 events:39 errors:0 TX bytes:1234 acl:0 sco:0 commands:39 errors:0 Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: 'BlueZ 5.36' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 4.1 (0x7) Revision: 0x0 LMP Version: 4.1 (0x7) Subversion: 0xac03 Manufacturer: Texas Instruments Inc. (13)
- If the HCI device is not running, use the below command to enable the HCI device:
root@cl-rootfs:~# hciconfig hci0 up
- HCI Inquire remote devices.
root@cl-rootfs:~# hcitool scan Scanning ...