summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-06-22 15:51:56 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-06-24 14:35:42 +0300
commit68474c8e6ce80a56039c711d28a6b668f3919bdb (patch)
tree5707a8279eb134d65a968c9bd4b7e04fed1500a5 /unit
parentec0e3b1784e039ecb5b81638569c17cdb8e92501 (diff)
downloadbluez-68474c8e6ce80a56039c711d28a6b668f3919bdb.tar.gz
unit/test-gatt: Add /TP/GAR/CL/BI-04-C/auto test
/TP/GAR/CL/BI-04-C/auto is similar to TP/GAR/CL/BI-04-C but automatically elevates the security level and retry.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-gatt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 9a9fa6092..2d9128eb9 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -2691,6 +2691,14 @@ int main(int argc, char *argv[])
raw_pdu(0x0a, 0x03, 0x00),
raw_pdu(0x01, 0x0a, 0x03, 0x00, 0x05));
+ define_test_client("/TP/GAR/CL/BI-04-C/auto", test_client, service_db_1,
+ &test_read_1,
+ SERVICE_DATA_1_PDUS,
+ raw_pdu(0x0a, 0x03, 0x00),
+ raw_pdu(0x01, 0x0a, 0x03, 0x00, 0x05),
+ raw_pdu(0x0a, 0x03, 0x00),
+ raw_pdu(0x0b, 0x01, 0x02, 0x03));
+
define_test_client("/TP/GAR/CL/BI-05-C", test_client, service_db_1,
&test_read_6,
SERVICE_DATA_1_PDUS,