Hciattach
lastmod 2026-11-10created 2022-09-233 edits
hciattach is a command-line tool included in Linux's BlueZ Bluetooth stack that registers a Bluetooth controller connected to a UART (serial port) as an HCI device. It takes the serial device path, chipset type, and baud rate as arguments, initializes the controller, and creates an interface such as hci0 in the kernel; it is needed when using Bluetooth modules on embedded boards that are not detected automatically like USB dongles. Registered devices are configured and queried with hciconfig and hcitool.