Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@tieto.com>
Subject: [PATCH v3 4/6] android: Define minimum legal notification event ID
Date: Tue, 22 Oct 2013 14:46:11 +0200	[thread overview]
Message-ID: <1382445973-8285-4-git-send-email-szymon.janc@tieto.com> (raw)
In-Reply-To: <1382445973-8285-1-git-send-email-szymon.janc@tieto.com>

All legal events IDs should be above this value.
---
 android/hal-msg.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/android/hal-msg.h b/android/hal-msg.h
index 33acd41..9ff0510 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -32,6 +32,8 @@ struct hal_msg_hdr {
 	uint8_t payload[0];
 } __attribute__((packed));
 
+#define HAL_MSG_MINIMUM_EVENT		0x81
+
 #define HAL_SERVICE_ID_CORE		0
 #define HAL_SERVICE_ID_BLUETOOTH	1
 #define HAL_SERVICE_ID_SOCK		2
-- 
1.8.4


  parent reply	other threads:[~2013-10-22 12:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-22 12:46 [PATCH v3 1/6] android/hal: Make hal.h self contained Szymon Janc
2013-10-22 12:46 ` [PATCH v3 2/6] android: Define helper payload field in hal_msg_hdr Szymon Janc
2013-10-22 12:46 ` [PATCH v3 3/6] android: Fix non-existing event definition Szymon Janc
2013-10-22 12:46 ` Szymon Janc [this message]
2013-10-22 12:46 ` [PATCH v3 5/6] android/hal: Add initial code for notification handling Szymon Janc
2013-10-22 12:46 ` [PATCH v3 6/6] android/hal: Add initial support for handling adapter notifications Szymon Janc
2013-10-22 13:17 ` [PATCH v3 1/6] android/hal: Make hal.h self contained Johan Hedberg

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=1382445973-8285-4-git-send-email-szymon.janc@tieto.com \
    --to=szymon.janc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox