man.bsd.lv manual page server

Manual Page Search Parameters

BTCONFIG(8) System Manager's Manual BTCONFIG(8)

btconfigconfigure bluetooth devices

btconfig [-svz] [device [parameters]]

btconfig [-l]

btconfig is used to configure Bluetooth devices. If the device is given, but no parameters, then btconfig will print information about the device. If no device is given, a basic list of devices will be printed.

When the -l flag is used, just the device names will be printed.

The following parameters may be specified with btconfig:

Enable Bluetooth Device.
Disable Bluetooth Device.
Enable Page Scan. This enables incoming connections to the device.
Disable Page Scan.
Enable Inquiry Scan. This puts the device in Discoverable mode.
Disable Inquiry Scan.
Enable encryption. This will cause the device to request encryption on all baseband connections, and will only work if authentication is also enabled.
Disable encryption.
Enable authentication. This will cause the device to request authentication for all baseband connections.
Disable authentication.
Enable Role Switching.
Disable Role Switching.
Enable Hold Mode.
Disable Hold Mode.
Enable Sniff Mode.
Disable Sniff Mode.
Enable Park Mode.
Disable Park Mode.
name
Set human readable name of device.
type
Set packet types. type is a 16 bit hex value specifying packet types that will be requested by outgoing ACL connections. By default, all packet types that the device supports are enabled, see bluetooth specifications for more information if you want to change this.
class
Set class of device. class is a 3 byte hex value the value of which declares the device capabilities. See Bluetooth Assigned Numbers documents at https://www.bluetooth.org/ for details of constructing a "Class of Device" value. As a starter, 0x020104 means Desktop Computer, with Networking available.
Set fixed pin type.
Set variable pin type.
Perform device Discovery from the specified device and print details.
Enable Remote Signal Strength Indicator (RSSI) in inquiry results. This will only work if the device features indicate ⟨RSSI with inquiry result⟩.
Disable Remote Signal Strength Indicator (RSSI) in inquiry results.
Perform a hard reset on the device and re-initialise system state.
Set Voice Setting. [This should be 0x0060 for now]
Set Page Timeout value. This is a decimal value in milliseconds.
Change SCO mtu value. This is a decimal value, see ubt(4) for reasons why you may need to do this.

All parameters are parsed before any device operations take place. Each time the -v flag is given, verbosity levels will be increased.

Super-user privileges are required to change device configurations.

Messages indicating the specified device does not exist, the requested address is unknown, or the user is not privileged and tried to alter an device's configuration.

bluetooth(4), ubt(4)

The btconfig command was written for NetBSD 4.0 by Iain Hibbert under the sponsorship of Itronix, Inc and was imported into DragonFly 1.11.

The output is very messy.

September 7, 2007 DragonFly-5.6.1