NG_BLUETOOTH(4)
β¨ NG_BLUETOOTH(4) β¨
okay bestie, sit down, hydrate, because we're talking about ng_bluetooth β the manual page, the myth, the legend π
πΈ NAME πΈ
ng_bluetooth β it's literally just a placeholder for global Bluetooth variables, no cap π«Ά
π SYNOPSIS π
#include <sys/types.h>
#include <netgraph/bluetooth/include/ng_bluetooth.h>
π¦ DESCRIPTION π¦
so the ng_bluetooth module is a placeholder for global Bluetooth variables. that's it. that's the whole job. it's giving holder of things energy π
and the way that you can look at and change ALL of these Bluetooth variables is through sysctl(8). slay.
π Bluetooth Variables π
here's the tea on the default variables, mwah. lowkey important: each Bluetooth module might add its own variables to the tree, so don't be surprised if there's more where these came from π
net.bluetooth.versionβ a read-only integer variable showing the current version of the Bluetooth stack. read-only bestie, you can look but you cannot touch πnet.bluetooth.hci.command_timeoutβ a read-write integer variable that controls the Host Controller Interface (HCI) command timeout (in seconds), aka how long the HCI layer will wait for theCommand_CompleteorCommand_Statusevent from a Bluetooth device. patience is a virtue, but it's also a number you can edit β¨net.bluetooth.hci.connection_timeoutβ a read-write integer variable controlling the HCI connection timeout, i.e. how long the HCI layer will wait for theConnection_Completeevent. normally this shouldn't even be needed, because Bluetooth devices have connection timeout of their own and will send the event back anyway. but it IS needed to make sure no connection stalls when the HCI transport layer is broken.
β οΈ be careful when changing this variable. make sure you understand what you are doing. fr fr, this is not a vibe-check-it-later situation π
net.bluetooth.hci.max_neighbor_ageβ a read-write integer variable controlling time-to-live (in seconds) for entries in the HCI neighbor cache. every time a Bluetooth device performs an Inquiry operation, the results get put in the cache. later, when a Bluetooth device establishes a baseband connection, it'll try to find the matching entry in the cache and use it. this might speed up establishment of the baseband connection. it's giving cached and thriving π§net.bluetooth.l2cap.rtx_timeoutβ a read-write integer variable controlling the Link Layer Control and Adaptation Protocol (L2CAP) Retransmission Timeout (RTX) (in seconds). every time the L2CAP layer submits a control command, the RTX timeout gets set. the value of the RTX timeout should be greater or equal to the value of the HCI connection timeout.
β οΈ be careful when changing this variable. make sure you understand what you are doing. periodt π
net.bluetooth.l2cap.ertx_timeoutβ a read-write integer variable controlling the L2CAP Extended Retransmission Timeout (ERTX) (in seconds). in some cases a remote peer may respond withPENDINGstatus to the L2CAP control command. when that happens, the L2CAP command timeout is reset to the ERTX timeout value. the value of the ERTX timeout should be greater or equal to the value of the RTX timeout.
β οΈ be careful when changing this variable. make sure you understand what you are doing. no cap, these numbers have main character energy and they will absolutely affect things π
π SEE ALSO π
ng_btsocket(4), ng_hci(4), ng_l2cap(4), sysctl(8)
go read those too, they're iconic in their own right π
β HISTORY β
the ng_bluetooth module was implemented in FreeBSD 5.0. a legend since day one, honestly π
π AUTHORS π
Maksim Yevmenkin <m_evmenkin@yahoo.com> β thank you for your service, king π
and that's the whole page bestie!! this one came from the Debian manual set, dated November 9, 2002, and it's still here being useful. obsessed. bye pookie, go read your sysctl tree π©·β¨π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms