xref: /freebsd/usr.sbin/bluetooth/hccontrol/bluetooth.device.conf (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1# Copyright (c) 2005 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions
6# are met:
7# 1. Redistributions of source code must retain the above copyright
8#    notice, this list of conditions and the following disclaimer.
9# 2. Redistributions in binary form must reproduce the above copyright
10#    notice, this list of conditions and the following disclaimer in the
11#    documentation and/or other materials provided with the distribution.
12#
13# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23# SUCH DAMAGE.
24#
25# $FreeBSD$
26
27# The authentication_enable parameter controls if the device requires to
28# authenticate the remote device at connection setup. At connection setup,
29# only the devices with the authentication_enable parameter enabled will
30# try to authenticate the other device.
31#
32# Possible values:
33#
34# NO  or 0	authentication disabled (default);
35# YES or 1	authentication enabled.
36
37# authentication_enable="NO"
38
39# The class parameter is used to indicate the capabilities of the device to
40# other devices.
41#
42# For more details see "Assigned Numbers - Bluetooth Baseband" document
43#
44# Possible value:
45#
46# xx:xx:xx	where xx is a hex number
47
48# class="ff:01:0c"
49
50# The connectable parameter controls whether or not the device should
51# periodically scan for page attempts from other devices.
52#
53# Possible values:
54#
55# NO  or 0	do not scan for page attempts;
56# YES or 1	scan for page attempts (default).
57
58# connectable="YES"
59
60# The discoverable parameter controls whether or not the device should
61# periodically scan for inquiry requests from other devices.
62#
63# Possible values:
64#
65# NO  or 0	do not scan for inquiry requests;
66# YES or 1	scan for inquiry requests (default).
67
68# discoverable="NO"
69
70# The encryption_mode parameter controls if the device requires encryption
71# to the remote device at connection setup. At connection setup, only the
72# devices with the authentication_enable parameter enabled and encryption_mode
73# parameter enabled will try to encrypt the connection to the other device.
74#
75# Possible values:
76#
77# NONE or 0	encryption disabled (default);
78# P2P  or 1	encryption only for point-to-point packets;
79# ALL  or 2	encryption for both point-to-point and broadcast packets.
80
81# encryption_mode="NONE"
82
83# HCI node debug level. Higher values mean more verbose output.
84#
85# Possible values: 0 - 4
86
87# hci_debug_level="3"
88
89# L2CAP node debug level. Higher values mean more verbose output.
90#
91# Possible values: 0 - 4
92
93# l2cap_debug_level="3"
94
95# The local_name parameter provides the ability to modify the user friendly
96# name for the device.
97
98# local_name="My device"
99
100# The role_switch parameter controls whether the local device should perform
101# role switch. By default, if role switch is supported, the local device will
102# try to perform role switch and become Master on incoming connection. Some
103# devices do not support role switch and thus incoming connections from such
104# devices will fail. If role switch is disabled then accepting device will
105# remain Slave.
106#
107# NO  or 0	do not perform role switch;
108# YES or 1	perform role switch (default).
109
110# role_switch="YES"
111
112