From bb4707cb8caef490cb3ceb329269f8491d01cc6b Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Sat, 19 May 2007 02:19:14 +0000 Subject: serial API: updated port path and possible errors --- serial/serial-api.txt | 13 +++++++------ 1 file 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] -- cgit