[PATCH BlueZ v1 8/8] doc/gatt-api.txt: Update error names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Updated possible error names that can be returned from
ReadValue/WriteValue methods to match those currently returned from the
experimental implementation.
---
 doc/gatt-api.txt | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index f7125a2..bfeaf6d 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -75,9 +75,8 @@ Methods		array{byte} ReadValue()
 
 			Possible Errors: org.bluez.Error.Failed
 					 org.bluez.Error.InProgress
-					 org.bluez.Error.ReadNotPermitted
+					 org.bluez.Error.NotPermitted
 					 org.bluez.Error.NotAuthorized
-					 org.bluez.Error.NotPaired
 					 org.bluez.Error.NotSupported
 
 		void WriteValue(array{byte} value)
@@ -87,10 +86,9 @@ Methods		array{byte} ReadValue()
 
 			Possible Errors: org.bluez.Error.Failed
 					 org.bluez.Error.InProgress
-					 org.bluez.Error.WriteNotPermitted
+					 org.bluez.Error.NotPermitted
 					 org.bluez.Error.InvalidValueLength
 					 org.bluez.Error.NotAuthorized
-					 org.bluez.Error.NotPaired
 					 org.bluez.Error.NotSupported
 
 		void StartNotify()
@@ -175,9 +173,8 @@ Methods		array{byte} ReadValue()
 
 			Possible Errors: org.bluez.Error.Failed
 					 org.bluez.Error.InProgress
-					 org.bluez.Error.ReadNotPermitted
+					 org.bluez.Error.NotPermitted
 					 org.bluez.Error.NotAuthorized
-					 org.bluez.Error.NotPaired
 					 org.bluez.Error.NotSupported
 
 		void WriteValue(array{byte} value)
@@ -187,10 +184,9 @@ Methods		array{byte} ReadValue()
 
 			Possible Errors: org.bluez.Error.Failed
 					 org.bluez.Error.InProgress
-					 org.bluez.Error.WriteNotPermitted
+					 org.bluez.Error.NotPermitted
 					 org.bluez.Error.InvalidValueLength
 					 org.bluez.Error.NotAuthorized
-					 org.bluez.Error.NotPaired
 					 org.bluez.Error.NotSupported
 
 Properties	string UUID [read-only]
-- 
2.2.0.rc0.207.ga3a616c

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux