Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/4] android/hal-gatt-api: Rename Service ID to GATT Service ID
@ 2014-03-05 14:43 Jakub Tyszkowski
  2014-03-05 14:43 ` [PATCH 2/4] android/hal-ipc-api: Fix documentation structure and notation Jakub Tyszkowski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jakub Tyszkowski @ 2014-03-05 14:43 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Tyszkowski

Use "GATT Service ID" instead "Service ID" inside ipc documentation
which is used to describe Core services like HAL_SERVICE_ID_GATT
himself.
---
 android/hal-ipc-api.txt | 46 ++++++++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 43b79ec..4f1b74d 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1496,15 +1496,13 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x09 - Get Included Service command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Number of Service ID Elements (1 octet)
-		                    Service ID Elements (variable)
+		                    Number of GATT Service ID Elements (1 octet)
+		                    GATT Service ID Elements (variable)
 		Valid Number of Service ID Elements: 0x01
 		                                     0x02
-		Valid Service ID Element: UUID (16 octets)
-		                          Instance ID (1 octet)
-		                          Is Primary (1 octet)
-		Valid GATT ID: UUID (16 octets)
-		               Instance ID (1 octet)
+		Valid GATT Service ID Element: UUID (16 octets)
+		                               Instance ID (1 octet)
+		                               Is Primary (1 octet)
 		Response parameters: <none>
 
 		In case of an error, the error response will be returned.
@@ -1512,10 +1510,10 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x0a - Get Characteristic command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    Number of GATT ID Elements (1 octet)
 		                    GATT ID Elements (variable)
-		Valid Service ID: as described in Get Included Service
+		Valid GATT Service ID: as described in Get Included Service
 		Valid Number of GATT ID Elements: 0x00
 		                                  0x01
 		Valid GATT ID Element: as described in Get Included Service
@@ -1526,10 +1524,10 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x0b - Get Descriptor command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    Number of GATT ID Elements (1 octet)
 		                    GATT ID Elements (variable)
-		Valid Service ID: as described in Get Included Service
+		Valid GATT Service ID: as described in Get Included Service
 		Valid Number of GATT ID Elements: 0x01
 		                                  0x02
 		Valid GATT ID Element: as described in Get Included Service
@@ -1540,10 +1538,10 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x0c - Read Characteristic command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    GATT ID (17 octets)
 		                    Authorization (4 octets)
-		Valid Service ID: as described in Get Included Service
+		Valid GATT Service ID: as described in Get Included Service
 		Valid GATT ID: as described in Get Included Service
 		Response parameters: <none>
 
@@ -1552,13 +1550,13 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x0d - Write Characteristic command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    GATT ID (17 octets)
 		                    Write Type (4 octets)
 		                    Length (4 octets)
 		                    Authorization Req. (4 octets)
 		                    Value (variable)
-		Valid Service ID: as described in Get Included Service
+		Valid GATT Service ID: as described in Get Included Service
 		Valid GATT ID: as described in Get Included Service
 		Response parameters: <none>
 
@@ -1567,11 +1565,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x0e - Read Descriptor command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    GATT ID (17 octets)
 		                    Descr. GATT ID (17 octets)
 		                    Authorization Req. (4 octets)
-		Valid Service ID: as described in Get Included Service
+		Valid GATT Service ID: as described in Get Included Service
 		Valid GATT ID: as described in Get Included Service
 		Response parameters: <none>
 
@@ -1580,14 +1578,14 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 	Opcode 0x0f - Write Descriptor command/response
 
 		Command parameters: Connection ID (4 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    GATT ID (17 octets)
 		                    Descr. GATT ID (17 octets)
 		                    Write Type (4 octets)
 		                    Length (4 octets)
 		                    Authorization Req. (4 octets)
 		                    Value (variable)
-		Valid Service ID: as described in Get Included Service
+		Valid GATT Service ID: as described in Get Included Service
 		Valid GATT ID: as described in Get Included Service
 		Response parameters: <none>
 
@@ -1605,7 +1603,7 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 
 		Command parameters: Client Interface (4 octets)
 		                    Remote address (6 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    GATT ID (17 octets)
 		Response parameters: <none>
 
@@ -1615,7 +1613,7 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 
 		Command parameters: Client Interface (4 octets)
 		                    Remote address (6 octets)
-		                    Service ID (18 octets)
+		                    GATT Service ID (18 octets)
 		                    GATT ID (17 octets)
 		Response parameters: <none>
 
@@ -1973,9 +1971,9 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		                         GATT Service ID (18 octets)
 		                         Service Handle (4 octets)
 
-		Valid Service ID: UUID (16 octets)
-		                  Instance ID (1 octet)
-		                  Is Primary (1 octet)
+		Valid GATT Service ID: UUID (16 octets)
+		                       Instance ID (1 octet)
+		                       Is Primary (1 octet)
 
 	Opcode 0x96 - Included Service Added notification
 
-- 
1.9.0


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

end of thread, other threads:[~2014-03-05 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 14:43 [PATCH 1/4] android/hal-gatt-api: Rename Service ID to GATT Service ID Jakub Tyszkowski
2014-03-05 14:43 ` [PATCH 2/4] android/hal-ipc-api: Fix documentation structure and notation Jakub Tyszkowski
2014-03-05 14:43 ` [PATCH 3/4] android/hal-ipc-api: Add missing sections in doc Jakub Tyszkowski
2014-03-05 14:43 ` [PATCH 4/4] android/hal-ipc-api: Trivial typo fix " Jakub Tyszkowski
2014-03-05 19:53 ` [PATCH 1/4] android/hal-gatt-api: Rename Service ID to GATT Service ID Szymon Janc

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