Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 01/13] android/hal-gatt-api: Add Server Register Notification
@ 2014-02-28 11:19 Grzegorz Kolodziejczyk
  2014-02-28 11:19 ` [PATCH 02/13] android/hal-gatt-api: Add Server Connection Notification Grzegorz Kolodziejczyk
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Grzegorz Kolodziejczyk @ 2014-02-28 11:19 UTC (permalink / raw)
  To: linux-bluetooth

---
 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 04c0b7c..bed8caf 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -1950,6 +1950,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		                         Server Interface (4 octets)
 
 	Opcode 0x93 - Register Server notification
+
+		Notification parameters: Status (4 octets)
+		                         Server (4 octets)
+		                         UUID (16 octets)
+
 	Opcode 0x94 - Connection notification
 	Opcode 0x95 - Service Added notification
 	Opcode 0x96 - Included Service Added notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 95ce551..340f7ee 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1398,3 +1398,10 @@ struct hal_ev_gatt_client_listen {
 	int32_t status;
 	int32_t server_if;
 } __attribute__((packed));
+
+#define HAL_EV_GATT_SERVER_REGISTER		0x93
+struct hal_ev_gatt_server_register {
+	int32_t status;
+	int32_t server_if;
+	uint8_t uuid[16];
+} __attribute__((packed));
-- 
1.8.5.2


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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 11:19 [PATCH 01/13] android/hal-gatt-api: Add Server Register Notification Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 02/13] android/hal-gatt-api: Add Server Connection Notification Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 03/13] android/hal-gatt-api: Add Server Service Added Notification Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 04/13] android/hal-gatt-api: Add Server Included " Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 05/13] android/hal-gatt-api: Add Server Characteristic " Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 06/13] android/hal-gatt-api: Add Server Descriptor " Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 07/13] android/hal-gatt-api: Add Server Service Started Notification Grzegorz Kolodziejczyk
2014-02-28 11:19 ` [PATCH 08/13] android/hal-gatt-api: Add Server Service Stopped Notification Grzegorz Kolodziejczyk
2014-02-28 11:20 ` [PATCH 09/13] android/hal-gatt-api: Add Server Service Deleted Notification Grzegorz Kolodziejczyk
2014-02-28 11:20 ` [PATCH 10/13] android/hal-gatt-api: Add Server Request Read Notification Grzegorz Kolodziejczyk
2014-02-28 11:20 ` [PATCH 11/13] android/hal-gatt-api: Add Server Request Write Notification Grzegorz Kolodziejczyk
2014-02-28 11:20 ` [PATCH 12/13] android/hal-gatt-api: Add Server Request Execute " Grzegorz Kolodziejczyk
2014-02-28 11:20 ` [PATCH 13/13] android/hal-gatt-api: Add Server Response Confirmation Notification Grzegorz Kolodziejczyk
2014-03-02 22:02 ` [PATCH 01/13] android/hal-gatt-api: Add Server Register Notification Szymon Janc

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