summaryrefslogtreecommitdiffstats
path: root/serial
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-19 02:19:14 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-19 02:19:14 +0000
commitbb4707cb8caef490cb3ceb329269f8491d01cc6b (patch)
treed66941d22f4bc20df0be5eebfd0a5afcda367f9c /serial
parent723fde49c5c473d01a739b116cb674623ed5a40e (diff)
serial API: updated port path and possible errors
Diffstat (limited to 'serial')
-rw-r--r--serial/serial-api.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/serial/serial-api.txt b/serial/serial-api.txt
index fef95d6a..8f319d20 100644
--- a/serial/serial-api.txt
+++ b/serial/serial-api.txt
@@ -14,9 +14,10 @@ Methods string CreatePort(string address, string pattern) [experimental]
Creates a serial port object.
- Possible errors:org.bluez.serial.Error.AlreadyExists
- org.bluez.serial.Error.NotSupported
+ Possible errors:org.bluez.serial.Error.InvalidArguments
+ org.bluez.serial.Error.ConnectionInProgress
org.bluez.serial.Error.ConnectionAttemptFailed
+ org.bluez.serial.Error.NotSupported
org.bluez.serial.Error.Failed
void RemovePort(string path) [experimental]
@@ -24,7 +25,6 @@ Methods string CreatePort(string address, string pattern) [experimental]
Removes the serial port object for given path.
Possible errors:org.bluez.serial.Error.DoesNotExist
- org.bluez.serial.Error.Failed
array{string} ListPorts() [experimental]
@@ -38,8 +38,9 @@ Methods string CreatePort(string address, string pattern) [experimental]
Possible errors:org.bluez.serial.Error.InvalidArguments
org.bluez.serial.Error.ConnectionInProgress
- org.bluez.serial.Error.NotSupported
org.bluez.serial.Error.ConnectionAttemptFailed
+ org.bluez.serial.Error.NotSupported
+ org.bluez.serial.Error.Failed
void CancelConnectService(string address, string pattern)
@@ -54,7 +55,7 @@ Methods string CreatePort(string address, string pattern) [experimental]
created via the ConnectService method.
Possible errors:org.bluez.serial.Error.InvalidArguments
- org.bluez.serial.Error.NotAuthorized
+ org.bluez.serial.Error.DoesNotExist
org.bluez.serial.Error.Failed
Signals void PortCreated(string path) [experimental]
@@ -70,7 +71,7 @@ Port hierarchy (experimental)
=============================
Interface org.bluez.serial.Port
-Object path /org/bluez/serial/port*
+Object path /org/bluez/serial/rfcomm*
Methods string GetAddress() [experimental]