hcsecd.conf.5 (0986ab12e44caea472245845f9a89ced4f137d73) | hcsecd.conf.5 (9cdb6ee1641e84242a1640055e0072ad693e1a7d) |
---|---|
1.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 28 unchanged lines hidden (view full) --- 37The 38.Nm 39file is the configuration file for the 40.Xr hcsecd 8 41Bluetooth link keys/PIN codes management daemon. 42.Pp 43The 44.Nm | 1.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 28 unchanged lines hidden (view full) --- 37The 38.Nm 39file is the configuration file for the 40.Xr hcsecd 8 41Bluetooth link keys/PIN codes management daemon. 42.Pp 43The 44.Nm |
45file is a free-form ASCII text file. | 45file is a free-form 46.Tn ASCII 47text file. |
46It is parsed by the recursive-descent parser built into 47.Xr hcsecd 8 . 48The file may contain extra tabs and newlines for formatting purposes. 49Keywords in the file are case-sensitive. 50Comments may be placed anywhere within the file (except within quotes). 51Comments begin with the | 48It is parsed by the recursive-descent parser built into 49.Xr hcsecd 8 . 50The file may contain extra tabs and newlines for formatting purposes. 51Keywords in the file are case-sensitive. 52Comments may be placed anywhere within the file (except within quotes). 53Comments begin with the |
52.Dq # | 54.Ql # |
53character and end at the end of the line. 54.Sh FILE FORMAT 55The 56.Nm 57file consists of a list of 58.Cm device 59entries. 60Each --- 8 unchanged lines hidden (view full) --- 69.Cm device 70{ 71.Cm option Ar argument ; 72.Oo 73.Cm option Ar argument ; 74.Oc 75} 76.Pp | 55character and end at the end of the line. 56.Sh FILE FORMAT 57The 58.Nm 59file consists of a list of 60.Cm device 61entries. 62Each --- 8 unchanged lines hidden (view full) --- 71.Cm device 72{ 73.Cm option Ar argument ; 74.Oo 75.Cm option Ar argument ; 76.Oc 77} 78.Pp |
77The following section describes all supported options and arguments | 79The following section describes all supported options and arguments. |
78.Bl -tag -width indent 79.It Cm bdaddr Ar BD_ADDR 80Specify remote device BD_ADDR for the entry. 81.It Cm name Ar device_name 82Specify user friendly name for the entry. | 80.Bl -tag -width indent 81.It Cm bdaddr Ar BD_ADDR 82Specify remote device BD_ADDR for the entry. 83.It Cm name Ar device_name 84Specify user friendly name for the entry. |
83Name is a string in a straight double quotes. | 85Name is a string in straight double quotes. |
84.It Cm key Ar link_key 85Specify link key for the entry. | 86.It Cm key Ar link_key 87Specify link key for the entry. |
86Link key is hexadecimal string upto 32 characters in length starting with 87.Dq 0x . | 88Link key is hexadecimal string up to 32 characters in length starting with 89.Ql 0x . |
88.It Cm key nokey 89Specify no link key for the entry. 90.It Cm pin Ar PIN_code 91Specify PIN code for the entry. | 90.It Cm key nokey 91Specify no link key for the entry. 92.It Cm pin Ar PIN_code 93Specify PIN code for the entry. |
92PIN code is a string upto 16 characters in length in a straight double quotes. | 94PIN code is a string up to 16 characters in length in straight double quotes. |
93.It Cm pin nopin 94Specify no PIN code for the entry. 95.El 96.Sh EXAMPLES 97A sample 98.Nm | 95.It Cm pin nopin 96Specify no PIN code for the entry. 97.El 98.Sh EXAMPLES 99A sample 100.Nm |
99file | 101file: |
100.Bd -literal 101# Default entry is applied if no better match found 102# It MUST have 00:00:00:00:00:00 as bdaddr 103device { 104 bdaddr 00:00:00:00:00:00; 105 name "Default entry"; 106 key nokey; 107 pin nopin; --- 22 unchanged lines hidden --- | 102.Bd -literal 103# Default entry is applied if no better match found 104# It MUST have 00:00:00:00:00:00 as bdaddr 105device { 106 bdaddr 00:00:00:00:00:00; 107 name "Default entry"; 108 key nokey; 109 pin nopin; --- 22 unchanged lines hidden --- |