bluetooth.device.conf revision 152286
1152286Semax# Copyright (c) 2005 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2152286Semax# All rights reserved.
3152286Semax#
4152286Semax# Redistribution and use in source and binary forms, with or without
5152286Semax# modification, are permitted provided that the following conditions
6152286Semax# are met:
7152286Semax# 1. Redistributions of source code must retain the above copyright
8152286Semax#    notice, this list of conditions and the following disclaimer.
9152286Semax# 2. Redistributions in binary form must reproduce the above copyright
10152286Semax#    notice, this list of conditions and the following disclaimer in the
11152286Semax#    documentation and/or other materials provided with the distribution.
12152286Semax#
13152286Semax# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14152286Semax# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15152286Semax# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16152286Semax# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17152286Semax# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18152286Semax# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19152286Semax# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20152286Semax# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21152286Semax# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22152286Semax# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23152286Semax# SUCH DAMAGE.
24152286Semax#
25152286Semax# $FreeBSD: head/etc/defaults/bluetooth.device.conf 152286 2005-11-10 19:09:22Z emax $
26152286Semax
27152286Semax# The authentication_enable parameter controls if the device requires to
28152286Semax# authenticate the remote device at connection setup. At connection setup,
29152286Semax# only the devices with the authentication_enable parameter enabled will
30152286Semax# try to authenticate the other device.
31152286Semax#
32152286Semax# Possible values:
33152286Semax#
34152286Semax# NO  or 0	authentication disabled (default);
35152286Semax# YES or 1	authentication enabled.
36152286Semax
37152286Semax# authentication_enable="NO"
38152286Semax
39152286Semax# The class parameter is used to indicate the capabilities of the device to
40152286Semax# other devices.
41152286Semax#
42152286Semax# For more details see
43152286Semax# https://www.bluetooth.org/foundry/assignnumb/document/baseband
44152286Semax#
45152286Semax# Possible value:
46152286Semax#
47152286Semax# xx:xx:xx	where xx is a hex number
48152286Semax
49152286Semax# class="ff:01:0c"
50152286Semax
51152286Semax# The connectable parameter controls whether or not the device should
52152286Semax# periodically scan for page attempts from other devices.
53152286Semax#
54152286Semax# Possible values:
55152286Semax#
56152286Semax# NO  or 0	do not scan for page attempts;
57152286Semax# YES or 1	scan for page attempts (default).
58152286Semax
59152286Semax# connectable="YES"
60152286Semax
61152286Semax# The discoverable parameter controls whether or not the device should
62152286Semax# periodically scan for inquiry requests from other devices.
63152286Semax#
64152286Semax# Possible values:
65152286Semax#
66152286Semax# NO  or 0	do not scan for inquiry requests;
67152286Semax# YES or 1	scan for inquiry requests (default).
68152286Semax
69152286Semax# discoverable="YES"
70152286Semax
71152286Semax# The encryption_mode parameter controls if the device requires encryption
72152286Semax# to the remote device at connection setup. At connection setup, only the
73152286Semax# devices with the authentication_enable parameter enabled and encryption_mode
74152286Semax# parameter enabled will try to encrypt the connection to the other device.
75152286Semax#
76152286Semax# Possible values:
77152286Semax#
78152286Semax# NONE or 0	encryption disabled (default);
79152286Semax# P2P  or 1	encryption only for point-to-point packets;
80152286Semax# ALL  or 2	encryption for both point-to-point and broadcast packets.
81152286Semax
82152286Semax# encryption_mode="NONE"
83152286Semax
84152286Semax# HCI node debug level. Higher values mean more verbose output.
85152286Semax#
86152286Semax# Possible values: 0 - 4
87152286Semax
88152286Semax# hci_debug_level="3"
89152286Semax
90152286Semax# L2CAP node debug level. Higher values mean more verbose output.
91152286Semax#
92152286Semax# Possible values: 0 - 4
93152286Semax
94152286Semax# l2cap_debug_level="3"
95152286Semax
96152286Semax# The local_name parameter provides the ability to modify the user friendly
97152286Semax# name for the device.
98152286Semax
99152286Semax# local_name="My device"
100152286Semax
101152286Semax# The role_switch parameter controls whether the local device should perform
102152286Semax# role switch. By default, if role switch is supported, the local device will
103152286Semax# try to perform role switch and become Master on incoming connection. Some
104152286Semax# devices do not support role switch and thus incomming connections from such
105152286Semax# devices will fail. If role switch is disabled then accepting device will
106152286Semax# remain Slave.
107152286Semax#
108152286Semax# NO  or 0	do not perform role switch;
109152286Semax# YES or 1	perform role switch (default).
110152286Semax
111152286Semax# role_switch="YES"
112152286Semax
113