bt-agent(1)
π bt-agent β the whole entire manual β¨
okay bestie, quick vibe check before we dive in: this page is bt-agent, and it lives in the bluez-tools family. yes the manual name is bt-agent even though the NAME section is gonna say something else, we'll get to that, i promise, it's giving typo energy and we're gonna be normal about it π«Ά
π NAME
bt-adapter β a bluetooth agent
not me clocking that the NAME line saysbt-adapterwhen literally everything else on this page is aboutbt-agentπ i am simply reporting what the page says, i do not make the rules, i just read them out loud with my whole chest π
π¦ SYNOPSIS
bt-agent [OPTION...]
Help Options:
-h, --help
Application Options:
-c, --capability=<capability>
-p, --pin
-d, --daemon
πΈ DESCRIPTION
this one is an interactive utility, and its whole job is managing incoming Bluetooth requests. we're talking stuff like a request for a pincode, a request to authorize a connection, a request to authorize a service request, etc. etc. π¦
like... it's the little agent standing at the door being like "mm, do we let this one in?" and honestly? main character energy, no notes β¨
β¨ OPTIONS β¨
-h,--helpβ shows you the help. that's it, that's the whole thing, iconic behavior π-c,--capability <capability>β you're telling it what the agent's input and output capabilities are.capabilityhas to be one of these four, and there is no fifth one, don't try it:DisplayOnlyDisplayYesNo(this one is the default)KeyboardOnlyNoInputNoOutput
and fr fr, if you don't define this option at all, DisplayYesNo is what you get. so if you wanted a different vibe you GOTTA say so out loud, bestie π
-p,--pin <file path>β point it at a file holding a list of authorization codes, one per device, matched up by name or by mac address π
the contents of that file should be in this format:
AA:BB:CC:DD:EE:FF 123456
RemoteDeviceName * (accept any pin code)
so here's the tea: if a pin file is in the mix, it checks the passkey of the pairing device against the key sitting in that file. if the key matches β it authorizes the device automatically, zero drama, slay. if it doesn't match β it comes back to you and asks for manual authorization. you're the final boss, congrats π
-d,--daemonβ runs the agent as a background process (as a daemon) π
in this mode the agent relies on a pin file and requests no manual user authorization at all. so any device that tries to pair without a valid passkey defined in the pin file? automatically rejected. no consultation, no asking, just a firm no thank you π
heads up bestie: --daemon means the human is officially out of the loop. the pin file is doing ALL the deciding. make sure it's right π
π AUTHOR
Alexander Orlenko <zxteam@gmail.com>.
π SEE ALSO
okay that's the whole page, you ate that π«Ά this was bluez-tools bt-agent, dated 2014-08-03, and it remains lowkey iconic to this day. go forth and pair responsibly, bestie πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: bluez-tools-doc 0_git20201025-r0 Β· GPL-2.0-only
- arch rolling: bluez-tools 0.2.0-6 Β· GPL
- debian bookworm: bluez-tools 2.0~20170911.0.7cb788c-4 Β· GPL-2.0-or-later
- debian trixie: bluez-tools 2.0~20170911.0.7cb788c-4+b1 Β· GPL-2.0-or-later
- fedora 43: bluez-tools 0.2.0-0.28.git20170912.7cb788c.fc43 Β· GPL-2.0-or-later
- fedora 44: bluez-tools 0.2.0-0.30.git20170912.7cb788c.fc44 Β· GPL-2.0-or-later
- nixos 26.05: bluez-tools 0-unstable-2020-10-24
- nixpkgs unstable: bluez-tools 0-unstable-2020-10-24
- ubuntu jammy: bluez-tools 2.0~20170911.0.7cb788c-4 Β· GPL-2.0-or-later
- ubuntu noble: bluez-tools 2.0~20170911.0.7cb788c-4build2 Β· GPL-2.0-or-later
- ubuntu resolute: bluez-tools 2.0~20170911.0.7cb788c-4build3 Β· GPL-2.0-or-later
- ubuntu stonking: bluez-tools 2.0~20170911.0.7cb788c-4build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms