Diff between f66abea5d817b8407f3d7b1a8ddb29dd5a0370f0 and 293bbb4a47950f9bf1ecacbbf3193047fc5e555a

Changed Files

File Additions Deletions Status
doc/adapter-api.txt +6 -65 modified
doc/device-api.txt +9 -0 modified

Full Patch

diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 23f0a2f..a72e9df 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -82,61 +82,10 @@ Methods		dict GetProperties()
 		object FindDevice(string address)
 
 			Returns the object path of device for given address.
-			The device object needs to be first created via
-			CreateDevice or CreatePairedDevice.
 
 			Possible Errors: org.bluez.Error.DoesNotExist
 					 org.bluez.Error.InvalidArguments
 
-		object CreateDevice(string address)
-
-			Creates a new object path for a remote device. This
-			method will connect to the remote device and retrieve
-			all SDP records (or GATT primary services).
-
-			If the object for the remote device already exists
-			this method will fail.
-
-			Possible errors: org.bluez.Error.InvalidArguments
-					 org.bluez.Error.Failed
-
-		object CreatePairedDevice(string address, object agent,
-							string capability)
-
-			Creates a new object path for a remote device. This
-			method will connect to the remote device and retrieve
-			all SDP records (or GATT primary services) and then
-			initiate the pairing.
-
-			If previously CreateDevice was used successfully,
-			this method will only initiate the pairing.
-
-			Compared to CreateDevice this method will fail if
-			the pairing already exists, but not if the object
-			path already has been created. This allows applications
-			to use CreateDevice first and the if needed use
-			CreatePairedDevice to initiate pairing.
-
-			The agent object path is assumed to reside within the
-			process (D-Bus connection instance) that calls this
-			method. No separate registration procedure is needed
-			for it and it gets automatically released once the
-			pairing operation is complete.
-
-			The capability parameter is the same as for the
-			RegisterAgent method.
-
-			Possible errors: org.bluez.Error.InvalidArguments
-					 org.bluez.Error.Failed
-
-		void CancelDeviceCreation(string address)
-
-			Aborts either a CreateDevice call or a
-			CreatePairedDevice call.
-
-			Possible errors: org.bluez.Error.InvalidArguments
-					 org.bluez.Error.NotInProgress
-
 		void RemoveDevice(object device)
 
 			This removes the remote device object at the given
@@ -178,22 +127,14 @@ Signals		PropertyChanged(string name, variant value)
 			This signal indicates a changed value of the given
 			property.
 
-		DeviceFound(string address, dict values)
-
-			This signal will be sent every time an inquiry result
-			has been found by the service daemon. In general they
-			only appear during a device discovery.
-
-			The dictionary can contain basically the same values
-			that are returned by the GetProperties method
-			from the org.bluez.Device interface. In addition there
-			can be values for the RSSI and the TX power level.
+		DevicesFound(array{object path, dict values})
 
-		DeviceDisappeared(string address)
+			This signal will be sent every time devices have
+			been found. In general they only appear during a
+			device discovery.
 
-			This signal will be sent when an inquiry session for
-			a periodic discovery finishes and previously found
-			devices are no longer in range or visible.
+			The dictionary contains the properties from the
+			org.bluez.Device interface.
 
 		DeviceCreated(object device)
 
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 104ec17..9623227 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -67,6 +67,10 @@ Methods		dict GetProperties()
 					 org.bluez.Error.Failed
 					 org.bluez.Error.InProgress
 					 org.bluez.Error.AlreadyConnected
+		void CancelConnect()
+
+			This method can be used to cancel a preceeding
+			Connect call before a reply to it has been received.
 
 		void Disconnect()
 
@@ -124,6 +128,11 @@ Methods		dict GetProperties()
 			Possible errors: org.bluez.Error.InvalidArguments
 					 org.bluez.Error.Failed
 
+		void CancelPairing()
+
+			This method can be used to cancel a pairing
+			operation initiated by the Pair method.
+
 Signals		PropertyChanged(string name, variant value)
 
 			This signal indicates a changed value of the given