Home | History | Annotate | Download | only in src
      1 #
      2 # HCI daemon configuration file.
      3 #
      4 
      5 # HCId options
      6 options {
      7 	# Automatically initialize new devices
      8 	autoinit yes;
      9 
     10 	# Security Manager mode
     11 	#   none - Security manager disabled
     12 	#   auto - Use local PIN for incoming connections
     13 	#   user - Always ask user for a PIN
     14 	#
     15 	security user;
     16 
     17 	# Pairing mode
     18 	#   none  - Pairing disabled
     19 	#   multi - Allow pairing with already paired devices
     20 	#   once  - Pair once and deny successive attempts
     21 	pairing multi;
     22 
     23 	# Default PIN code for incoming connections
     24 	passkey "Bluez";
     25 }
     26 
     27 # Default settings for HCI devices
     28 device {
     29 	# Local device name
     30 	#   %d - device id
     31 	#   %h - host name
     32 	name "BlueZ (%d)";
     33 
     34 	# Local device class
     35 	class 0x000100;
     36 
     37 	# Default packet type
     38 	#pkt_type DH1,DM1,HV1;
     39 
     40 	# Inquiry and Page scan
     41 	iscan enable; pscan enable;
     42 
     43 	# Default link mode
     44 	#   none   - no specific policy 
     45 	#   accept - always accept incoming connections
     46 	#   master - become master on incoming connections,
     47 	#            deny role switch on outgoing connections
     48 	lm accept;
     49 
     50 	# Default link policy
     51 	#   none    - no specific policy
     52 	#   rswitch - allow role switch
     53 	#   hold    - allow hold mode
     54 	#   sniff   - allow sniff mode
     55 	#   park    - allow park mode
     56 	lp rswitch,hold,sniff,park;
     57 }
     58