1114879Sjulian#
2114879Sjulian# $Id: hcsecd.conf,v 1.1 2002/11/24 20:22:39 max Exp $
3114879Sjulian# $FreeBSD$
4114879Sjulian#
5114879Sjulian# HCI security daemon configuration file
6114879Sjulian#
7114879Sjulian# Format:
8114879Sjulian#
9114879Sjulian# device {
10114879Sjulian#	option	value ;
11114879Sjulian# }
12114879Sjulian#
13114879Sjulian# Possible options and values
14114879Sjulian#
15114879Sjulian# Options	Values
16114879Sjulian# ----------------------------------
17114879Sjulian# bdaddr	xx:xx:xx:xx:xx:xx ;  	- remote device BD_ADDR
18114879Sjulian# name 		"any char" ;		- to set user friendly device name
19114879Sjulian# key		0x11223344 | nokey ;	- to set link key for the device
20114879Sjulian# pin		"secret" | nopin ;	- to PIN code for the device
21114879Sjulian#
22114879Sjulian# Notes:
23114879Sjulian#
24114879Sjulian#	Currently there is no way to select keys/PIN code based on which
25114879Sjulian#	local device received the request. Everything is based on remote
26114879Sjulian#	device BD_ADDR.
27114879Sjulian#
28114879Sjulian#	"nokey"	means that no link key has been defined and we should 
29114879Sjulian#		send Link_Key_Negative_Reply command to the device.
30114879Sjulian#
31114879Sjulian#	"nopin"	means that no PIN code has been defined and we should 
32114879Sjulian#		send PIN_Code_Negative_Reply command to the device
33114879Sjulian#
34114879Sjulian
35114879Sjulian# Default entry applied if no better match found 
36114879Sjulian# It MUST have 00:00:00:00:00:00 as bdaddr
37114879Sjuliandevice {
38114879Sjulian	bdaddr	00:00:00:00:00:00;
39114879Sjulian	name	"Default entry";
40114879Sjulian	key	nokey;
41114879Sjulian	pin	nopin;
42114879Sjulian}
43114879Sjulian
44114879Sjuliandevice {
45114879Sjulian	bdaddr	00:80:37:5e:4d:d4;
46114879Sjulian	name	"Ericsson T68 phone";
47114879Sjulian	key	nokey;
48114879Sjulian	pin	"0000"; # PIN code (string up to 16 character)
49114879Sjulian}
50114879Sjulian
51114879Sjuliandevice {
52114879Sjulian	bdaddr	00:01:03:fc:6e:ec;
53114879Sjulian	name	"3COM PCCARD";
54114879Sjulian	key	nokey;
55114879Sjulian	pin	"0000";
56114879Sjulian}
57114879Sjulian
58114879Sjuliandevice {
59114879Sjulian	bdaddr	00:11:22:33:44:55;
60114879Sjulian	name	"Dummy";
61114879Sjulian	key	0x00112233445566778899aabbccddeeff; # 16 bytes key (hex string)
62114879Sjulian	pin	nopin;
63114879Sjulian}
64114879Sjulian
65