1 .\" $NetBSD: btpin.1,v 1.8 2009/03/10 19:34:18 joerg Exp $
3 .\" Copyright (c) 2006 Itronix Inc.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. The name of Itronix Inc. may not be used to endorse
15 .\" or promote products derived from this software without specific
16 .\" prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
22 .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 .\" ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .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]
72 Pair with remote device.
74 will attempt to open an authenticated L2CAP connection to the Service
75 Discovery Service on the remote device, to force immediate pairing.
78 The PIN may be up to 16 bytes in length.
80 Generate a random PIN, the default length is 4 bytes.
82 Specify path to the control socket.