BTATTACH(1)
π btattach β the manual page, but make it make sense
okay bestie, so this page is from the BlueZ crew and it's all about btattach(1) β a lil Linux system administration tool. Let's go β¨
πΈ NAME πΈ
btattach β attach serial devices to the BlueZ stack. yes, that's the whole vibe π«Ά
π SYNOPSIS π
btattach [-B device] [-A device] [-P protocol] [-R]
β οΈ quick heads up: -R shows up in the synopsis but there's literally no entry for it down in OPTIONS. so we're just gonna leave it right here where we found it, no cap π
π¦ DESCRIPTION π¦
So btattach(1) is what you use to attach a serial UART to the Bluetooth stack, and it acts as a transport interface. That's it, that's the whole job β it's giving very "connector friend who introduces two people at a party" energy π
β¨ OPTIONS β¨
-Bdevice,--brderdevice β attach a BR/EDR controller π₯-Adevice,--ampdevice β attach an AMP controller β‘-Pprotocol,--protocolprotocol β tells it which protocol type to use when it's talking to the device π£οΈ-Sbaudrate,--speedbaudrate β pick which baudrate to use π-N,--noflowctl* β disable flow control. bye flow control π-v,--version* β show the version π·οΈ-h,--help* β show help options π
π§ the supported protocol values, in all their glory
The protocol you pass to -P / --protocol has to be one of these, bestie β no improvising:
h4
bcsp
3wire
h4ds
ll
ath3k
intel
bcm
qca
(originally this was a whole little box-drawing table with a protocol header, but the list is the actual information and it's so much easier to read like this, iykyk π)
π RESOURCES π
that's the one and only link. go touch grass on it π±
π REPORTING BUGS π
Found something cursed? Tell the humans at:
linux-bluetooth@vger.kernel.org
they want to hear about it fr fr π
π COPYRIGHT π
Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL). slay, free software π
and that's the page!! written by the BlueZ girlies, dated November 2015, and yes she's still iconic βπ see you in the next man page bestie π¦
π¦ where this page comes from
- centos-stream 9: bluez 5.87+2.git8750129efca8-1.el9 Β· GPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms