xref: /freebsd/usr.sbin/bluetooth/hcsecd/hcsecd.conf (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# $Id: hcsecd.conf,v 1.1 2003/05/26 22:50:47 max Exp $
2#
3# HCI security daemon configuration file
4#
5# Format:
6#
7# device {
8#	option	value ;
9# }
10#
11# Possible options and values
12#
13# Options	Values
14# ----------------------------------
15# bdaddr	xx:xx:xx:xx:xx:xx ;  	- remote device BD_ADDR
16# name 		"any char" ;		- to set user friendly device name
17# key		0x11223344 | nokey ;	- to set link key for the device
18# pin		"secret" | nopin ;	- to PIN code for the device
19#
20# Notes:
21#
22#	Currently there is no way to select keys/PIN code based on which
23#	local device received the request. Everything is based on remote
24#	device BD_ADDR.
25#
26#	"nokey"	means that no link key has been defined and we should
27#		send Link_Key_Negative_Reply command to the device.
28#
29#	"nopin"	means that no PIN code has been defined and we should
30#		send PIN_Code_Negative_Reply command to the device
31#
32
33# Default entry is applied if no better match found
34# It MUST have 00:00:00:00:00:00 as bdaddr
35device {
36	bdaddr	00:00:00:00:00:00;
37	name	"Default entry";
38	key	nokey;
39	pin	nopin;
40}
41
42device {
43	bdaddr	00:01:02:03:04:05;
44	name	"Dummy";
45	key	nokey;
46	pin	"0000";
47}
48
49device {
50	bdaddr	00:11:22:33:44:55;
51	name	"Dummy";
52	key	0x00112233445566778899aabbccddeeff; # 16 bytes key (hex string)
53	pin	nopin;
54}
55
56