aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libbluetooth/Makefile3
-rw-r--r--lib/libbluetooth/hosts10
-rw-r--r--lib/libbluetooth/protocols22
3 files changed, 35 insertions, 0 deletions
diff --git a/lib/libbluetooth/Makefile b/lib/libbluetooth/Makefile
index f6273ab5ce8f..96bf0cb704ec 100644
--- a/lib/libbluetooth/Makefile
+++ b/lib/libbluetooth/Makefile
@@ -2,6 +2,9 @@
# $FreeBSD$
PACKAGE= lib${LIB}
+CONFS= hosts protocols
+CONFSDIR= /etc/bluetooth
+CONFSMODE_protocols= 444
LIB= bluetooth
MAN= bluetooth.3
diff --git a/lib/libbluetooth/hosts b/lib/libbluetooth/hosts
new file mode 100644
index 000000000000..b704248c65f0
--- /dev/null
+++ b/lib/libbluetooth/hosts
@@ -0,0 +1,10 @@
+# $Id: hosts,v 1.1 2003/05/21 17:48:40 max Exp $
+# $FreeBSD$
+#
+# Bluetooth Host Database
+#
+# This file should contain the Bluetooth addresses and aliases for hosts.
+#
+# BD_ADDR Name [ alias0 alias1 ... ]
+
+# 00:11:22:33:44:55 phone
diff --git a/lib/libbluetooth/protocols b/lib/libbluetooth/protocols
new file mode 100644
index 000000000000..6715094ce148
--- /dev/null
+++ b/lib/libbluetooth/protocols
@@ -0,0 +1,22 @@
+# $Id: protocols,v 1.2 2003/05/21 22:17:14 max Exp $
+# $FreeBSD$
+#
+# Bluetooth Protocol/Service Multiplexor (PSM) names and numbers
+#
+# See also
+# https://www.bluetooth.org/foundry/assignnumb/document/assigned_numbers
+#
+# Protocol PSM Alias Reference
+
+sdp 1 SDP # Service Discovery Protocol
+rfcomm 3 RFCOMM # RFCOMM with TS 07.10
+tcs-bin 5 TCS-BIN # Telephony Control Specification
+tcs-bin-cordless 7 TCS-BIN-CORDLESS # Telephony Control Specification
+bnep 15 BNEP # Bluetooth Network Encapsulation Protocol
+hid-control 17 HID-Control # Human Interface Device (control)
+hid-interrupt 19 HID-Interrupt # Human Interface Device (interrupt)
+upnp 21 UPnP # See ESDP, Bluetooth SIG
+avctp 23 AVCTP # Audio/Video Control Transport Protocol
+avdtp 25 AVDTP # Audio/Video Distribution Transport Protocol
+udi-c-plane 29 UDI-C-Plane # Unrestricted Digital Information Profile
+