BTDEVCTL(8) | System Manager's Manual | BTDEVCTL(8) |
btdevctl
—
btdevctl |
[-A | -D ]
[-qv ] [-m
mode] -a
address -d
device -s
service |
btdevctl
utility is used to configure bluetooth
devices in the system. Normally, btdevctl
will perform
an SDP query to the remote device as needed, and cache the results in the
/var/db/btdevctl.plist file for later use. If neither
Attach nor Detach is specified, btdevctl
will display
the configuration.
The options are:
-A
-a
addressbtdevctl
attempts to resolve the name via
bt_gethostbyname(3).-D
-d
device-m
modeWhen configuring the HID service,
btdevctl
will set ‘auth’ by
default, or ‘encrypt’ for keyboard devices. If the device
cannot handle authentication, then the mode will need to be cleared
manually.
-q
-s
service-v
For device configurations to persist across boots, add entries to the /etc/bluetooth/btdevctl.conf file and ensure the rc.conf(5) variable bluetooth is set to YES.
btdevctl
utility exits 0 on success,
and >0 if an error occurs.
See the Bluetooth chapter of “The NetBSD Guide” for detailed examples of configuring keyboards, mice, and audio headsets.
btdevctl
program originated in the
FreeBSD bthidcontrol
program.
December 26, 2012 | NetBSD 9.4 |