From: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
Subject: [PATCH_v2 01/13] android/hid: Add hid event proto mode structure to hal msg headers
Date: Tue, 5 Nov 2013 13:38:03 +0200 [thread overview]
Message-ID: <1383651495-12434-2-git-send-email-ravikumar.veeramally@linux.intel.com> (raw)
In-Reply-To: <1383651495-12434-1-git-send-email-ravikumar.veeramally@linux.intel.com>
---
android/hal-msg.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/android/hal-msg.h b/android/hal-msg.h
index f381862..5faf852 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -442,6 +442,8 @@ struct hal_ev_hid_conn_state {
uint8_t state;
} __attribute__((packed));
+#define HAL_HID_STATUS_OK 0x00
+
#define HAL_EV_HID_INFO 0x82
struct hal_ev_hid_info {
uint8_t bdaddr[6];
@@ -456,6 +458,13 @@ struct hal_ev_hid_info {
uint8_t descr[884];
} __attribute__((packed));
+#define HAL_EV_HID_PROTO_MODE 0x83
+struct hal_ev_hid_proto_mode {
+ uint8_t bdaddr[6];
+ uint8_t status;
+ uint8_t mode;
+} __attribute__((packed));
+
#define HAL_EV_AV_CONNECTION_STATE 0x81
struct hal_ev_av_connection_state {
uint8_t state;
--
1.8.1.2
next prev parent reply other threads:[~2013-11-05 11:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 11:38 [PATCH_v2 00/13] Implemented hid interfaces in daemon and hal Ravi kumar Veeramally
2013-11-05 11:38 ` Ravi kumar Veeramally [this message]
2013-11-05 11:38 ` [PATCH_v2 02/13] android/hid: Implement hid get protocol in daemon Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 03/13] android/hid: Implement hid set " Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 04/13] android/hid: Handle protocol mode notification in hal Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 05/13] android/hid: Add hid event get report structure to hal msg headers Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 06/13] android/hid: Implement hid get report in daemon Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 07/13] android/hid: Add missing set report parameters to ipc document Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 08/13] android/hid: Implement hid set report in daemon Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 09/13] android/hid: Handle get report notification in hal Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 10/13] android/hid: Replace header checking magic number with defines Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 11/13] android/hid: Handle invalid parameters in hal Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 12/13] android/hid: Handle uhid events Ravi kumar Veeramally
2013-11-05 11:38 ` [PATCH_v2 13/13] android/hid: Align hal hid struct variables properly Ravi kumar Veeramally
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=1383651495-12434-2-git-send-email-ravikumar.veeramally@linux.intel.com \
--to=ravikumar.veeramally@linux.intel.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