summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-api-future.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-06-15 12:06:19 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-06-15 12:06:19 +0000
commit056164940832601cef0bb547f885eada7c911806 (patch)
tree168514d4ee239033bb22ef7a900a43e65a5bd9d5 /hcid/dbus-api-future.txt
parent950da2453656f7e4da59d30a3c7cbb6e65a00027 (diff)
Add future API proposal document
Diffstat (limited to 'hcid/dbus-api-future.txt')
-rw-r--r--hcid/dbus-api-future.txt65
1 files changed, 65 insertions, 0 deletions
diff --git a/hcid/dbus-api-future.txt b/hcid/dbus-api-future.txt
new file mode 100644
index 00000000..715f2466
--- /dev/null
+++ b/hcid/dbus-api-future.txt
@@ -0,0 +1,65 @@
+D-Bus API description for BlueZ
+*******************************
+
+Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org>
+
+
+Manager hierarchy
+=================
+
+Service org.bluez
+Interface org.bluez.Manager
+Object path /org/bluez
+
+Methods array{string} ListServers()
+
+ string CreateServer(string service)
+
+
+Server hierarchy
+================
+
+Service org.bluez
+Interface org.bluez.Server
+Object path /org/bluez/{server0,server1,...}
+
+
+Adapter hierarchy
+=================
+
+Service org.bluez
+Interface org.bluez.Adapter
+Object path /org/bluez/{hci0,hci1,...}
+
+Methods array{sring} ListDevices()
+
+ string FindDevice(string pattern)
+
+ string CreateDevice(string address)
+
+ string CreatePairedDevice(string device)
+
+Signals void DeviceCreated(string path)
+
+ void DeviceRemoved(string path)
+
+
+Device hierarchy
+================
+
+Service org.bluez
+Interface org.bluez.Device
+Object path /org/bluez/{hci0,hci1,...}/{device0,device1,...}
+
+Methods string GetAddress()
+
+ string GetName()
+
+ array{string} ListInterfaces()
+
+ void CreateInterface(string service)
+
+Signals void InterfaceCreated(string interface)
+
+ void InterfaceRemoved(string interface)
+