Path: blob/main/usr.sbin/bluetooth/hccontrol/bluetooth.device.conf
105216 views
# Copyright (c) 2005 Maksim Yevmenkin <[email protected]>1# All rights reserved.2#3# Redistribution and use in source and binary forms, with or without4# modification, are permitted provided that the following conditions5# are met:6# 1. Redistributions of source code must retain the above copyright7# notice, this list of conditions and the following disclaimer.8# 2. Redistributions in binary form must reproduce the above copyright9# notice, this list of conditions and the following disclaimer in the10# documentation and/or other materials provided with the distribution.11#12# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND13# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE14# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE15# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE16# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL17# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS18# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)19# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT20# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY21# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF22# SUCH DAMAGE.23#2425# The authentication_enable parameter controls if the device requires to26# authenticate the remote device at connection setup. At connection setup,27# only the devices with the authentication_enable parameter enabled will28# try to authenticate the other device.29#30# Possible values:31#32# NO or 0 authentication disabled (default);33# YES or 1 authentication enabled.3435# authentication_enable="NO"3637# The class parameter is used to indicate the capabilities of the device to38# other devices.39#40# For more details see "Assigned Numbers - Bluetooth Baseband" document41#42# Possible value:43#44# xx:xx:xx where xx is a hex number4546# class="ff:01:0c"4748# The connectable parameter controls whether or not the device should49# periodically scan for page attempts from other devices.50#51# Possible values:52#53# NO or 0 do not scan for page attempts;54# YES or 1 scan for page attempts (default).5556# connectable="YES"5758# The discoverable parameter controls whether or not the device should59# periodically scan for inquiry requests from other devices.60#61# Possible values:62#63# NO or 0 do not scan for inquiry requests (default);64# YES or 1 scan for inquiry requests.6566# discoverable="NO"6768# The encryption_mode parameter controls if the device requires encryption69# to the remote device at connection setup. At connection setup, only the70# devices with the authentication_enable parameter enabled and encryption_mode71# parameter enabled will try to encrypt the connection to the other device.72#73# Possible values:74#75# NONE or 0 encryption disabled (default);76# P2P or 1 encryption only for point-to-point packets;77# ALL or 2 encryption for both point-to-point and broadcast packets.7879# encryption_mode="NONE"8081# HCI node debug level. Higher values mean more verbose output.82#83# Possible values: 0 - 48485# hci_debug_level="3"8687# L2CAP node debug level. Higher values mean more verbose output.88#89# Possible values: 0 - 49091# l2cap_debug_level="3"9293# The local_name parameter provides the ability to modify the user friendly94# name for the device.9596# local_name="My device"9798# The role_switch parameter controls whether the local device should perform99# role switch. By default, if role switch is supported, the local device will100# try to perform role switch and become Master on incoming connection. Some101# devices do not support role switch and thus incoming connections from such102# devices will fail. If role switch is disabled then accepting device will103# remain Slave.104#105# NO or 0 do not perform role switch;106# YES or 1 perform role switch (default).107108# role_switch="YES"109110111112