Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 01/18] android/hal-gatt-api: Add Client Register event
@ 2014-02-28 10:23 Jakub Tyszkowski
  2014-02-28 10:23 ` [PATCH 02/18] android/hal-gatt-api: Add Client Scan Result event Jakub Tyszkowski
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Jakub Tyszkowski @ 2014-02-28 10:23 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Tyszkowski

---
 android/hal-ipc-api.txt | 5 +++++
 android/hal-msg.h       | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt
index 1a19c80..58c05a9 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1797,6 +1797,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		In case of an error, the error response will be returned.
 
 	Opcode 0x81 - Register Client notification
+
+		Notification parameters: Status (4 octets)
+		                         Client Interface (4 octets)
+		                         UUID (16 octets)
+
 	Opcode 0x82 - Scan Result notification
 	Opcode 0x83 - Connect Device notification
 	Opcode 0x84 - Disconnect Device notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index bde9717..9f7f9e9 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1236,3 +1236,10 @@ struct hal_ev_avrcp_passthrough_cmd {
 	uint8_t id;
 	uint8_t state;
 } __attribute__((packed));
+
+#define HAL_EV_GATT_CLIENT_REGISTER_CLIENT	0x81
+struct hal_ev_gatt_client_register_client {
+	int32_t status;
+	int32_t client_if;
+	uint8_t app_uuid[16];
+} __attribute__((packed));
-- 
1.9.0


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

end of thread, other threads:[~2014-03-02 22:02 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 10:23 [PATCH 01/18] android/hal-gatt-api: Add Client Register event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 02/18] android/hal-gatt-api: Add Client Scan Result event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 03/18] android/hal-gatt-api: Add Client Connect event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 04/18] android/hal-gatt-api: Add Client Disconnect event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 05/18] android/hal-gatt-api: Add Client Search Complete event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 06/18] android/hal-gatt-api: Add Client Search Result event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 07/18] android/hal-gatt-api: Add Client Get Characteristic event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 08/18] android/hal-gatt-api: Add Client Get Descriptor event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 09/18] android/hal-gatt-api: Add Client Get Included Service event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 10/18] android/hal-gatt-api: Add Client Register for Notification event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 11/18] android/hal-gatt-api: Add Client Notify event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 12/18] android/hal-gatt-api: Add Client Read Characteristic event Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 13/18] android/hal-gatt-api: Add Client Write " Jakub Tyszkowski
2014-02-28 10:23 ` [PATCH 14/18] android/hal-gatt-api: Add Client Read Descriptor event Jakub Tyszkowski
2014-02-28 10:24 ` [PATCH 15/18] android/hal-gatt-api: Add Client Write " Jakub Tyszkowski
2014-02-28 10:24 ` [PATCH 16/18] android/hal-gatt-api: Add Client Exec Write event Jakub Tyszkowski
2014-02-28 10:24 ` [PATCH 17/18] android/hal-gatt-api: Add Client Read Remote RSSI event Jakub Tyszkowski
2014-02-28 10:24 ` [PATCH 18/18] android/hal-gatt-api: Add Client Listen event Jakub Tyszkowski
2014-03-02 22:02 ` [PATCH 01/18] android/hal-gatt-api: Add Client Register event Szymon Janc

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