summaryrefslogtreecommitdiffstats
path: root/network/network-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'network/network-api.txt')
-rw-r--r--network/network-api.txt50
1 files changed, 25 insertions, 25 deletions
diff --git a/network/network-api.txt b/network/network-api.txt
index d155370e..c50eb8d5 100644
--- a/network/network-api.txt
+++ b/network/network-api.txt
@@ -14,16 +14,16 @@ Methods string CreateServer(string uuid)
Creates a network server object(GN or NAP).
- Possible errors:org.bluez.network.AlreadyExists
- org.bluez.network.NotSupported
- org.bluez.network.ConnectionAttemptFailed
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.AlreadyExists
+ org.bluez.network.Error.NotSupported
+ org.bluez.network.Error.ConnectionAttemptFailed
+ org.bluez.network.Error.Failed
void RemoveServer(string path)
Removes the network server object for given path.
- Possible errors:org.bluez.network.DoesNotExist
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.DoesNotExist
+ org.bluez.network.Error.Failed
array{string} ListServers()
@@ -34,17 +34,17 @@ Methods string CreateServer(string uuid)
Creates a network connection object(NAP or GN).
- Possible errors:org.bluez.network.AlreadyExists
- org.bluez.network.NotSupported
- org.bluez.network.ConnectionAttemptFailed
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.AlreadyExists
+ org.bluez.network.Error.NotSupported
+ org.bluez.network.Error.ConnectionAttemptFailed
+ org.bluez.network.Error.Failed
string RemoveConnection(string path)
Removes a network connection object for a given path.
- Possible errors:org.bluez.network.DoesNotExist
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.DoesNotExist
+ org.bluez.network.Error.Failed
array{string} ListConnections()
@@ -54,8 +54,8 @@ Methods string CreateServer(string uuid)
Returns an array of available network connections paths.
- Possible errors:org.bluez.network.DoesNotExist
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.DoesNotExist
+ org.bluez.network.Error.Failed
Signals
@@ -81,14 +81,14 @@ Methods string GetUUID()
Enable server and updates service record.
- Possible errors:org.bluez.network.AlreadyExists
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.AlreadyExists
+ org.bluez.network.Error.Failed
void Disable()
Disable server and remove service record.
- Possible errors:org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.Failed
void SetName(string name)
@@ -144,32 +144,32 @@ Methods string GetAddress()
Returns the string representation of connected host.
- Possible errors:org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.Failed
string GetDescription()
Returns the string description of connected host.
- Possible errors:org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.Failed
string GetInterface()
Returns the string network interface.
- Possible errors:org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.Failed
- void Connect()
+ string Connect()
- Connects to host.
+ Connects to host and return the network interface created.
- Possible errors:org.bluez.network.ConnectionAttemptFailed
- org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.ConnectionAttemptFailed
+ org.bluez.network.Error.Failed
void Disconnect()
Disconnects to host.
- Possible errors:org.bluez.network.Failed
+ Possible errors:org.bluez.network.Error.Failed
bool IsConnected()