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 ✨

  • -B device, --brder device β€” attach a BR/EDR controller πŸ”₯
  • -A device, --amp device β€” attach an AMP controller ⚑
  • -P protocol, --protocol protocol β€” tells it which protocol type to use when it's talking to the device πŸ—£οΈ
  • -S baudrate, --speed baudrate β€” 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 😭


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