From f379e991d5c86a30c25adb42c1306a6d7f421457 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 23 Jun 2015 11:11:51 +0300 Subject: unit/test-gatt: Add /TP/GAR/CL/BI-21-C/auto test /TP/GAR/CL/BI-21-C/auto is similar to /TP/GAR/CL/BI-21-C but automatically elevates the security level and retry. --- unit/test-gatt.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'unit/test-gatt.c') diff --git a/unit/test-gatt.c b/unit/test-gatt.c index 5d1650fc3..a13150169 100644 --- a/unit/test-gatt.c +++ b/unit/test-gatt.c @@ -3079,6 +3079,14 @@ int main(int argc, char *argv[]) raw_pdu(0x0e, 0x03, 0x00, 0x07, 0x00), raw_pdu(0x01, 0x0e, 0x03, 0x00, 0x05)); + define_test_client("/TP/GAR/CL/BI-21-C/auto", test_client, service_db_1, + &test_multiple_read_1, + SERVICE_DATA_1_PDUS, + raw_pdu(0x0e, 0x03, 0x00, 0x07, 0x00), + raw_pdu(0x01, 0x0e, 0x03, 0x00, 0x05), + raw_pdu(0x0e, 0x03, 0x00, 0x07, 0x00), + raw_pdu(0x0f, 0x01, 0x02, 0x03)); + define_test_client("/TP/GAR/CL/BI-22-C", test_client, service_db_1, &test_multiple_read_6, SERVICE_DATA_1_PDUS, -- cgit v1.2.1