summaryrefslogtreecommitdiff
path: root/usr.sbin/btd/btd.8
blob: f04e8e3fd4d4e7ad7522e73d1e9ad3dc1fd6c19e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.\"	$OpenBSD: btd.8,v 1.2 2008/12/05 22:04:00 jmc Exp $
.\"
.\" Copyright (c) 2008 Todd T. Fries <todd@OpenBSD.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: December 5 2008 $
.Dt BTD 8
.Os
.Sh NAME
.Nm btd
.Nd bluetooth daemon
.Sh SYNOPSIS
.Nm btd
.Op Fl d
.Sh DESCRIPTION
.Nm
attaches and configures
.Xr bluetooth 4
devices.
It manages the pin codes between pairs of bluetooth devices
and sets up communication between the two.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl d
Do not daemonize.
If this option is specified,
.Nm
will run in the foreground and log to
.Em stderr .
.El
.Pp
.Nm
is usually started at boot time, and can be enabled by
setting
.Va bt
in
.Pa /etc/rc.conf.local .
See
.Xr rc 8
and
.Xr rc.conf 8
for more information on the boot process
and enabling daemons.
.Pp
When
.Nm
starts up, it reads settings from its configuration file,
typically
.Xr bt.conf 5 .
.Sh FILES
.Bl -tag -width "/var/run/btd.sockXXX" -compact
.It Pa /var/run/btd.sock
Socket
.Nm
listens on.
.It Pa /var/db/btd.db
Where SDP responses and link keys are cached.
.El
.Sh SEE ALSO
.Xr bluetooth 4 ,
.Xr bt.conf 5 ,
.Xr btctl 8 ,
.Xr rc 8 ,
.Xr rc.conf 8
.Sh HISTORY
The
.Nm
program first appeared in
.Ox 4.5 .