summaryrefslogtreecommitdiffstats
path: root/network/network-api.txt
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-05-17 17:05:47 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-05-17 17:05:47 +0000
commitdf7260b7a01d10f92849ca9a862a2a2d6ffac865 (patch)
treecf8e317702e4e76c55b40fe1f9ff3b2ce627d617 /network/network-api.txt
parent8bd6348b59d94d40ad4e85e3561cbbf2b7a02cdd (diff)
Add LastConnection, DefaultConnection and ChangeDefaultConnection API methods and some minor fixes.
Diffstat (limited to 'network/network-api.txt')
-rw-r--r--network/network-api.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/network/network-api.txt b/network/network-api.txt
index 9bdf5ca8..9a18085e 100644
--- a/network/network-api.txt
+++ b/network/network-api.txt
@@ -64,6 +64,25 @@ Methods string CreateServer(string uuid)
Possible errors:org.bluez.network.Error.DoesNotExist
org.bluez.network.Error.Failed
+ string LastConnection()
+
+ Returns last connected connection path, if none is connected
+ fallback to last created connection.
+
+ Possible errors:org.bluez.network.Error.DoesNotExist
+
+ string DefaultConnection()
+
+ Returns default connection path.
+
+ Possible errors:org.bluez.network.Error.DoesNotExist
+
+ string ChangeDefaultConnection(string pattern)
+
+ Changes default connection path.
+
+ Possible errors:org.bluez.network.Error.DoesNotExist
+
Signals
void ServerCreated(string path)
@@ -74,6 +93,8 @@ Signals
void ConnectionRemoved(string path)
+ void DefaultConnectionChanged(string path)
+
Network Server hierarchy (experimental)
=======================================