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 26# The authentication_enable parameter controls if the device requires to 27# authenticate the remote device at connection setup. At connection setup, 28# only the devices with the authentication_enable parameter enabled will 29# try to authenticate the other device. 30# 31# Possible values: 32# 33# NO or 0 authentication disabled (default); 34# YES or 1 authentication enabled. 35 36# authentication_enable="NO" 37 38# The class parameter is used to indicate the capabilities of the device to 39# other devices. 40# 41# For more details see "Assigned Numbers - Bluetooth Baseband" document 42# 43# Possible value: 44# 45# xx:xx:xx where xx is a hex number 46 47# class="ff:01:0c" 48 49# The connectable parameter controls whether or not the device should 50# periodically scan for page attempts from other devices. 51# 52# Possible values: 53# 54# NO or 0 do not scan for page attempts; 55# YES or 1 scan for page attempts (default). 56 57# connectable="YES" 58 59# The discoverable parameter controls whether or not the device should 60# periodically scan for inquiry requests from other devices. 61# 62# Possible values: 63# 64# NO or 0 do not scan for inquiry requests; 65# YES or 1 scan for inquiry requests (default). 66 67# discoverable="NO" 68 69# The encryption_mode parameter controls if the device requires encryption 70# to the remote device at connection setup. At connection setup, only the 71# devices with the authentication_enable parameter enabled and encryption_mode 72# parameter enabled will try to encrypt the connection to the other device. 73# 74# Possible values: 75# 76# NONE or 0 encryption disabled (default); 77# P2P or 1 encryption only for point-to-point packets; 78# ALL or 2 encryption for both point-to-point and broadcast packets. 79 80# encryption_mode="NONE" 81 82# HCI node debug level. Higher values mean more verbose output. 83# 84# Possible values: 0 - 4 85 86# hci_debug_level="3" 87 88# L2CAP node debug level. Higher values mean more verbose output. 89# 90# Possible values: 0 - 4 91 92# l2cap_debug_level="3" 93 94# The local_name parameter provides the ability to modify the user friendly 95# name for the device. 96 97# local_name="My device" 98 99# The role_switch parameter controls whether the local device should perform 100# role switch. By default, if role switch is supported, the local device will 101# try to perform role switch and become Master on incoming connection. Some 102# devices do not support role switch and thus incoming connections from such 103# devices will fail. If role switch is disabled then accepting device will 104# remain Slave. 105# 106# NO or 0 do not perform role switch; 107# YES or 1 perform role switch (default). 108 109# role_switch="YES" 110 111