summaryrefslogtreecommitdiffstats
path: root/include/hardware/bt_sock.h
diff options
context:
space:
mode:
authorCasper Bonde <c.bonde@samsung.com>2015-05-08 14:33:58 +0200
committerPavlin Radoslavov <pavlin@google.com>2015-06-09 13:57:53 -0700
commit5ccdc518ab33153625536ad31e7c9466511072ab (patch)
treef3b9f28a43cac43a2c1be89d15903c07a0e95927 /include/hardware/bt_sock.h
parenta70ab95eeaf61594594a57e4de957dac47889c96 (diff)
downloadhardware_libhardware-5ccdc518ab33153625536ad31e7c9466511072ab.zip
hardware_libhardware-5ccdc518ab33153625536ad31e7c9466511072ab.tar.gz
hardware_libhardware-5ccdc518ab33153625536ad31e7c9466511072ab.tar.bz2
SAP: Make it possible to enforce a 16-digit pin code (2/5)
This change enable the posibility to enforce using a 16-digit pin or MITM for a RFCOMM or L2CAP connection. This is needed for the SIM access profile. Change-Id: I4d43eefa76e8abc1bcfad6dfd9004d8e82168bf4 Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Diffstat (limited to 'include/hardware/bt_sock.h')
-rw-r--r--include/hardware/bt_sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/bt_sock.h b/include/hardware/bt_sock.h
index 69775e0..5d206d7 100644
--- a/include/hardware/bt_sock.h
+++ b/include/hardware/bt_sock.h
@@ -22,6 +22,7 @@ __BEGIN_DECLS
#define BTSOCK_FLAG_AUTH (1 << 1)
#define BTSOCK_FLAG_NO_SDP (1 << 2)
#define BTSOCK_FLAG_AUTH_MITM (1 << 3)
+#define BTSOCK_FLAG_AUTH_16_DIGIT (1 << 4)
typedef enum {
BTSOCK_RFCOMM = 1,