summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/hcsecd/hcsecd.conf
blob: 127ce04b74d6558e13b346f630d6eea2f05942e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# $Id: hcsecd.conf,v 1.1 2002/11/24 20:22:39 max Exp $
# $FreeBSD$
#
# HCI security daemon configuration file
#
# Format:
#
# device {
#	option	value ;
# }
#
# Possible options and values
#
# Options	Values
# ----------------------------------
# bdaddr	xx:xx:xx:xx:xx:xx ;  	- remote device BD_ADDR
# name 		"any char" ;		- to set user friendly device name
# key		0x11223344 | nokey ;	- to set link key for the device
# pin		"secret" | nopin ;	- to PIN code for the device
#
# Notes:
#
#	Currently there is no way to select keys/PIN code based on which
#	local device received the request. Everything is based on remote
#	device BD_ADDR.
#
#	"nokey"	means that no link key has been defined and we should 
#		send Link_Key_Negative_Reply command to the device.
#
#	"nopin"	means that no PIN code has been defined and we should 
#		send PIN_Code_Negative_Reply command to the device
#

# Default entry applied if no better match found 
# It MUST have 00:00:00:00:00:00 as bdaddr
device {
	bdaddr	00:00:00:00:00:00;
	name	"Default entry";
	key	nokey;
	pin	nopin;
}

device {
	bdaddr	00:80:37:5e:4d:d4;
	name	"Ericsson T68 phone";
	key	nokey;
	pin	"0000"; # PIN code (string up to 16 character)
}

device {
	bdaddr	00:01:03:fc:6e:ec;
	name	"3COM PCCARD";
	key	nokey;
	pin	"0000";
}

device {
	bdaddr	00:11:22:33:44:55;
	name	"Dummy";
	key	0x00112233445566778899aabbccddeeff; # 16 bytes key (hex string)
	pin	nopin;
}

OpenPOWER on IntegriCloud