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