Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/4] Add the Attribute interface to the API
@ 2010-09-28 17:49 Claudio Takahasi
  2010-09-28 17:49 ` [PATCH 2/4] Add GetProperties method in the Device service hierarchy Claudio Takahasi
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Claudio Takahasi @ 2010-09-28 17:49 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

From: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>

For now the Attribute API will allow users to list all the GATT
services that a device has.
---
 doc/attribute-api.txt |   19 +++++++++++++++++++
 doc/device-api.txt    |    4 ----
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/doc/attribute-api.txt b/doc/attribute-api.txt
index 011691e..0989099 100644
--- a/doc/attribute-api.txt
+++ b/doc/attribute-api.txt
@@ -37,6 +37,25 @@ Methods
 Properties
 
 
+Attribute Protocol hierarchy
+============================
+
+Service		org.bluez
+Interface	org.bluez.Attribute
+Object path	[prefix]/{hci0}/{device0}
+
+
+Methods		dict GetProperties()
+
+			Returns all properties for the interface. See the
+			properties section for available properties.
+
+Properties	array{object} Services
+
+			List of all the Primary Services that this device
+			implements.
+
+
 Device Service hierarchy
 ========================
 
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 95b5b22..b818299 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -139,10 +139,6 @@ Properties	string Address [readonly]
 			List of 128-bit UUIDs that represents the available
 			remote services.
 
-		array{object} Services [readonly]
-
-			List of characteristics based services.
-
 		boolean Paired [readonly]
 
 			Indicates if the remote device is paired.
-- 
1.7.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-09-30 18:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 17:49 [PATCH 1/4] Add the Attribute interface to the API Claudio Takahasi
2010-09-28 17:49 ` [PATCH 2/4] Add GetProperties method in the Device service hierarchy Claudio Takahasi
2010-09-28 17:49 ` [PATCH 3/4] Add SetProperty in the Device characteristic hierarchy Claudio Takahasi
2010-09-28 17:49 ` [PATCH 4/4] Fix object path in the register watcher method Claudio Takahasi
2010-09-29 13:49 ` [PATCH 1/4] Add the Attribute interface to the API Johan Hedberg
2010-09-29 14:52   ` Claudio Takahasi
2010-09-29 20:00     ` Luiz Augusto von Dentz
2010-09-30 18:48       ` Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox