mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-04 09:34:20 +08:00
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
#
|
|
# HCI daemon configuration file.
|
|
#
|
|
|
|
# HCId options
|
|
options {
|
|
# Automatically initialize new devices
|
|
autoinit yes;
|
|
|
|
# Security Manager mode
|
|
# none - Security manager disabled
|
|
# auto - Use local PIN for incoming connections
|
|
# user - Always ask user for a PIN
|
|
#
|
|
security auto;
|
|
|
|
# Pairing mode
|
|
# none - Pairing disabled
|
|
# multi - Allow pairing with already paired devices
|
|
# once - Pair once and deny successive attempts
|
|
pairing multi;
|
|
|
|
# Default PIN code for incoming connections
|
|
pin_code "BlueZ";
|
|
|
|
# PIN helper
|
|
pin_helper /usr/bin/bluepin;
|
|
|
|
# D-Bus PIN helper
|
|
#dbus_pin_helper;
|
|
}
|
|
|
|
# Default settings for HCI devices
|
|
device {
|
|
# Local device name
|
|
# %d - device id
|
|
# %h - host name
|
|
name "BlueZ (%d)";
|
|
|
|
# Local device class
|
|
class 0x3e0100;
|
|
|
|
# Default packet type
|
|
#pkt_type DH1,DM1,HV1;
|
|
|
|
# Inquiry and Page scan
|
|
iscan enable; pscan enable;
|
|
|
|
# Default link mode
|
|
# none - no specific policy
|
|
# accept - always accept incoming connections
|
|
# master - become master on incoming connections,
|
|
# deny role switch on outgoing connections
|
|
lm accept;
|
|
|
|
# Default link policy
|
|
# none - no specific policy
|
|
# rswitch - allow role switch
|
|
# hold - allow hold mode
|
|
# sniff - allow sniff mode
|
|
# park - allow park mode
|
|
lp rswitch,hold,sniff,park;
|
|
|
|
# Authentication and Encryption (Security Mode 3)
|
|
#auth enable;
|
|
#encrypt enable;
|
|
}
|