1 .\" $NetBSD: btpin.1,v 1.6 2007/09/24 19:29:01 plunky Exp $
2 .\" $DragonFly: src/usr.bin/btpin/btpin.1,v 1.2 2008/05/01 23:29:10 swildner Exp $
4 .\" Copyright (c) 2006 Itronix Inc.
5 .\" All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. The name of Itronix Inc. may not be used to endorse
16 .\" or promote products derived from this software without specific
17 .\" prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
23 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 .\" ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 .\" POSSIBILITY OF SUCH DAMAGE.
31 .Dd September 24, 2007
36 .Nd Bluetooth PIN utility
41 .Brq Fl p Ar pin | Fl r Op Fl l Ar len
46 utility is used to register a temporary PIN with the
48 daemon for the purposes of pairing Bluetooth devices.
49 The PIN will be valid for 5 minutes or until used, whichever comes first.
51 The options are as follows:
52 .Bl -tag -width indent
54 Specify the remote device address.
55 The address can be specified as BD_ADDR or a name.
56 If a name was specified, the
58 utility attempts to resolve the name via
59 .Xr bt_gethostbyname 3 .
61 Specify the local device address.
62 The device can be specified by BD_ADDR or device name.
65 for a list of devices available.
66 If no device is specified, the PIN will be valid for any local device.
68 Specify length of PIN to generate, where 1 \*[Le]
73 The PIN may be up to 16 bytes in length.
75 Generate a random PIN, the default length is 4 bytes.
77 Specify path to the control socket.
85 .It Pa /var/run/bthcid