diff options
Diffstat (limited to 'network/network-api.txt')
-rw-r--r-- | network/network-api.txt | 21 |
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) ======================================= |