From: Marcin Kraglak <marcin.kraglak@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCHv3 1/4] android/hal-msg: Add defines of HAL_GATT_AUTHENTICATION values
Date: Wed, 18 Jun 2014 11:08:16 +0200 [thread overview]
Message-ID: <1403082499-2349-1-git-send-email-marcin.kraglak@tieto.com> (raw)
These values are are used in read characteristic/write characteristic
functions in gatt_client.
---
android/hal-msg.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/android/hal-msg.h b/android/hal-msg.h
index 2c21a85..57872c6 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -1610,3 +1610,7 @@ struct hal_ev_gatt_server_rsp_confirmation {
#define HAL_GATT_PERMISSION_WRITE_ENCRYPTED_MITM 0x0040
#define HAL_GATT_PERMISSION_WRITE_SIGNED 0x0080
#define HAL_GATT_PERMISSION_WRITE_SIGNED_MITM 0x0100
+
+#define HAL_GATT_AUTHENTICATION_NONE 0
+#define HAL_GATT_AUTHENTICATION_NO_MITM 1
+#define HAL_GATT_AUTHENTICATION_MITM 2
--
1.9.3
next reply other threads:[~2014-06-18 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 9:08 Marcin Kraglak [this message]
2014-06-18 9:08 ` [PATCHv3 2/4] android/gatt: Set security level if user requested Marcin Kraglak
2014-06-18 9:08 ` [PATCHv3 3/4] android/gatt:Add test command to increase security on link Marcin Kraglak
2014-06-18 9:08 ` [PATCHv3 4/4] android/pts: Update PTS GAP results Marcin Kraglak
2014-06-18 13:36 ` [PATCHv3 1/4] android/hal-msg: Add defines of HAL_GATT_AUTHENTICATION values 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=1403082499-2349-1-git-send-email-marcin.kraglak@tieto.com \
--to=marcin.kraglak@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