1 .\" $NetBSD: btconfig.8,v 1.7 2007/09/07 18:40:01 plunky Exp $
2 .\" $DragonFly: src/usr.sbin/btconfig/btconfig.8,v 1.2 2008/01/09 09:03:34 swildner Exp $
4 .\" Copyright (c) 2006 Itronix Inc.
5 .\" All rights reserved.
7 .\" Written by Iain Hibbert for Itronix Inc.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
17 .\" 3. The name of Itronix Inc. may not be used to endorse
18 .\" or promote products derived from this software without specific
19 .\" prior written permission.
21 .\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
22 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
25 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 .\" ON ANY THEORY OF LIABILITY, WHETHER IN
29 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 .\" POSSIBILITY OF SUCH DAMAGE.
38 .Nd configure bluetooth devices
50 is used to configure Bluetooth devices.
53 is given, but no parameters, then
55 will print information about the device.
58 is given, a basic list of devices will be printed.
62 flag is used, just the device names will be printed.
64 The following parameters may be specified with
66 .Bl -tag -width xxxxxxxxxxx
68 Enable Bluetooth Device.
70 Disable Bluetooth Device.
73 This enables incoming connections to the device.
78 This puts the device in Discoverable mode.
83 This will cause the device to request encryption on all baseband
84 connections, and will only work if authentication is also enabled.
88 Enable authentication.
89 This will cause the device to request authentication
90 for all baseband connections.
92 Disable authentication.
94 Enable Role Switching.
96 Disable Role Switching.
110 Set human readable name of device.
114 is a 16 bit hex value specifying packet types that will be requested
115 by outgoing ACL connections.
116 By default, all packet types that the device supports are enabled,
117 see bluetooth specifications for more information if you want to change this.
118 .It Cm class Ar class
121 is a 3 byte hex value the value of which declares the device capabilities.
122 See Bluetooth Assigned Numbers documents at
123 .Pa https://www.bluetooth.org/
125 of constructing a "Class of Device" value.
126 As a starter, 0x020104 means Desktop Computer, with Networking
131 Set variable pin type.
133 Perform device Discovery from the specified device and print details.
135 Enable Remote Signal Strength Indicator (RSSI) in inquiry results.
136 This will only work if the device features indicate
137 .Aq RSSI with inquiry result .
139 Disable Remote Signal Strength Indicator (RSSI) in inquiry results.
141 Perform a hard reset on the device and re-initialise system state.
144 [This should be 0x0060 for now]
146 Set Page Timeout value.
147 This is a decimal value in milliseconds.
149 Change SCO mtu value.
150 This is a decimal value, see
152 for reasons why you may need to do this.
155 All parameters are parsed before any device operations take place.
158 flag is given, verbosity levels will be increased.
160 Super-user privileges are required to change device configurations.
162 Messages indicating the specified device does not exist, the
163 requested address is unknown, or the user is not privileged and
164 tried to alter an device's configuration.
171 command was written for
175 under the sponsorship of Itronix, Inc and was imported into
178 The output is very messy.