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-debian:~# lsmod | grep hci_uart hci_uart 10445 1
The Bluetooth driver can be loaded manually:
root@cl-rootfs:~# modprobe hci_uart
- HCI device configuration utility can be run to retrieve detailed information about the Bluetooth interfaces:
 
root@cl-rootfs:~# hciconfig hci0 -a
hci0:   Type: Primary  Bus: UART
        BD Address: 3C:A3:08:A8:03:B9  ACL MTU: 1021:6  SCO MTU: 180:4
        UP RUNNING 
        RX bytes:746 acl:0 sco:0 events:49 errors:0
        TX bytes:3441 acl:0 sco:0 commands:49 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: 'cl-debian'
        Class: 0x0c0000
        Service Classes: Rendering, Capturing
        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 ...