1 .\" $NetBSD: btconfig.8,v 1.14 2009/09/01 18:19:08 plunky Exp $
3 .\" Copyright (c) 2006 Itronix Inc.
4 .\" All rights reserved.
6 .\" Written by Iain Hibbert for Itronix Inc.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. The name of Itronix Inc. may not be used to endorse
17 .\" or promote products derived from this software without specific
18 .\" prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
24 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
27 .\" ON ANY THEORY OF LIABILITY, WHETHER IN
28 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 .\" POSSIBILITY OF SUCH DAMAGE.
37 .Nd configure bluetooth devices
49 is used to configure Bluetooth devices.
52 is given, but no parameters, then
54 will print information about the device.
57 is given, a basic list of devices will be printed.
61 flag is used, just the device names will be printed.
63 The following parameters may be specified with
65 .Bl -tag -width xxxxxxxxxxx
67 Enable Bluetooth Device.
69 Disable Bluetooth Device.
72 This enables incoming connections to the device.
77 This puts the device in Discoverable mode.
82 This will cause the device to request encryption on all baseband
83 connections, and will only work if authentication is also enabled.
87 Enable authentication.
88 This will cause the device to request authentication
89 for all baseband connections.
91 Disable authentication.
93 Enable Role Switching.
94 In a Bluetooth piconet there is one Master and up to seven Slaves, and
95 normally the device that initiates a connection will take the Master role.
96 Enabling this option allows remote devices to switch connection roles.
98 Disable Role Switching.
100 Request the Master role when accepting connections.
102 Do not request Master role.
116 Set human readable name of device.
120 is a 16 bit hex value specifying packet types that will be requested
121 by outgoing ACL connections.
122 By default, all packet types that the device supports are enabled,
123 see bluetooth specifications for more information if you want to change this.
124 .It Cm class Ar class
127 is a 6 digit hex value the value of which declares the device capabilities.
129 .Qq Assigned Numbers - Baseband
131 .Dv http://www.bluetooth.com/
132 for details of constructing a Class of Device value.
133 As a starter, 0x020104 means Desktop Computer, with Networking
138 Set variable pin type.
140 Perform device Discovery from the specified device and print details.
142 Set inquiry mode type to control which event formats are generated during
147 .Bl -tag -width xxxxxx
149 Standard Inquiry Result Event format.
151 Enable Remote Signal Strength Indicator (RSSI) in inquiry results.
152 This will only work if the device features indicate
153 .Aq RSSI with inquiry result .
155 Inquiry Result with RSSI format or Extended Inquiry Result fomat.
156 This will only work where the device features indicate
157 .Aq extended inquiry ,
158 and the Extended Inquiry Result will only occur when the remote device
159 provides the extended information.
162 Perform a hard reset on the device and re-initialise system state.
165 [This should be 0x0060 for now]
167 Set Page Timeout value.
168 This is a decimal value in milliseconds.
170 Change SCO mtu value.
171 This is a decimal value, see
173 for reasons why you may need to do this.
176 All parameters are parsed before any device operations take place.
179 flag is given, verbosity levels will be increased.
181 Super-user privileges are required to change device configurations.
183 Messages indicating the specified device does not exist, the
184 requested address is unknown, or the user is not privileged and
185 tried to alter an device's configuration.
197 command was written for
201 under the sponsorship of Itronix, Inc.
203 The output is very messy.