All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH 08/13] android/hal-gatt-api: Add Server Service Stopped Notification
Date: Fri, 28 Feb 2014 12:19:59 +0100	[thread overview]
Message-ID: <1393586404-25190-8-git-send-email-grzegorz.kolodziejczyk@tieto.com> (raw)
In-Reply-To: <1393586404-25190-1-git-send-email-grzegorz.kolodziejczyk@tieto.com>

---
 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 8bf8af6..116dfba 100644
--- a/android/hal-ipc-api.txt
+++ b/android/hal-ipc-api.txt
@@ -2005,6 +2005,11 @@ Android HAL name: "gatt" (BT_PROFILE_GATT_ID)
 		                         Service Handle (4 octets)
 
 	Opcode 0x9a - Service Stopped notification
+
+		Notification parameters: Status (4 octets)
+		                         Server (4 octets)
+		                         Service Handle (4 octets)
+
 	Opcode 0x9b - Service Deleted notification
 	Opcode 0x9c - Request Read notification
 	Opcode 0x9d - Request Write notification
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 7bba250..4219312 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1454,3 +1454,10 @@ struct hal_ev_gatt_server_service_started {
 	int32_t server_if;
 	int32_t srvc_handle;
 } __attribute__((packed));
+
+#define HAL_EV_GATT_SERVER_SERVICE_STOPPED	0x9a
+struct hal_ev_gatt_server_service_stopped {
+	int32_t status;
+	int32_t server_if;
+	int32_t srvc_handle;
+} __attribute__((packed));
-- 
1.8.5.2


  parent reply	other threads:[~2014-02-28 11:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Grzegorz Kolodziejczyk [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393586404-25190-8-git-send-email-grzegorz.kolodziejczyk@tieto.com \
    --to=grzegorz.kolodziejczyk@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.