From: Szymon Janc <szymon.janc@tieto.com>
To: <linux-bluetooth@vger.kernel.org>
Cc: Szymon Janc <szymon.janc@tieto.com>
Subject: [PATCH 02/15] android: Add properties defines to hal-msg.h
Date: Fri, 25 Oct 2013 10:56:05 +0200 [thread overview]
Message-ID: <1382691378-31940-2-git-send-email-szymon.janc@tieto.com> (raw)
In-Reply-To: <1382691378-31940-1-git-send-email-szymon.janc@tieto.com>
HAL_BT_PROP_ADP_* are specific to adapter. HAL_BT_PROP_REM_* are
specific to remote device. Rest is common.
---
android/hal-msg.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 854e9b8..7689f38 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -91,6 +91,20 @@ struct hal_cmd_get_adapter_prop {
uint8_t type;
} __attribute__((packed));
+#define HAL_BT_PROP_BDNAME 0x01
+#define HAL_BT_PROP_BDADDR 0x02
+#define HAL_BT_PROP_UUIDS 0x03
+#define HAL_BT_PROP_CLASS_OF_DEVICE 0x04
+#define HAL_BT_PROP_TYPE_OF_DEVICE 0x05
+#define HAL_BT_PROP_SERVICE_RECORD 0x06
+#define HAL_BT_PROP_ADP_SCAN_MODE 0x07
+#define HAL_BT_PROP_ADP_BONDED_DEVICES 0x08
+#define HAL_BT_PROP_ADP_DISC_TIMEOUT 0x09
+#define HAL_BT_PROP_REM_FRIENDLY_NAME 0x0a
+#define HAL_BT_PROP_REM_RSSI 0x0b
+#define HAL_BT_PROP_REM_VERSION_INFO 0x0c
+#define HAL_BT_PROP_REM_DEV_TIMESTAMP 0xFF
+
#define HAL_OP_SET_ADAPTER_PROP 0x05
struct hal_cmd_set_adapter_prop {
uint8_t type;
--
1.8.4.1
next prev parent reply other threads:[~2013-10-25 8:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 8:56 [PATCH 01/15] android: Remove not needed local variable in connect_hal Szymon Janc
2013-10-25 8:56 ` Szymon Janc [this message]
2013-10-25 8:56 ` [PATCH 03/15] android/hal: Add support for sending adapter set property command Szymon Janc
2013-10-25 8:56 ` [PATCH 04/15] android/hal: Add support for sending adapter get " Szymon Janc
2013-10-25 8:56 ` [PATCH 05/15] android/hal: Add support for sending adapter get properties command Szymon Janc
2013-10-25 8:56 ` [PATCH 06/15] android/hal: Add support for sending create bond command Szymon Janc
2013-10-25 9:36 ` Andrei Emeltchenko
2013-10-25 10:15 ` Luiz Augusto von Dentz
2013-10-25 8:56 ` [PATCH 07/15] android/hal: Add support for sending cancel " Szymon Janc
2013-10-25 8:56 ` [PATCH 08/15] android/hal: Add support for sending adapter remove " Szymon Janc
2013-10-25 8:56 ` [PATCH 09/15] android/hal: Add support for sending adapter PIN reply command Szymon Janc
2013-10-25 8:56 ` [PATCH 10/15] android: Add missing SSP Variant definitions to IPC document Szymon Janc
2013-10-25 8:56 ` [PATCH 11/15] android: Add missing SSP variant definitions to IPC header Szymon Janc
2013-10-25 8:56 ` [PATCH 12/15] android/hal: Add support for sending adapter SSP reply command Szymon Janc
2013-10-25 8:56 ` [PATCH 13/15] android/hal: Add support for handling adapter properties change event Szymon Janc
2013-10-25 8:56 ` [PATCH 14/15] android: Add missing success status definition to IPC header Szymon Janc
2013-10-25 8:56 ` [PATCH 15/15] android: Add initial support for handling adapter get property command 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=1382691378-31940-2-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