From 791b5210ccde5cde58988177e093507feeff1ce4 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 23 Jun 2015 11:21:55 +0300 Subject: [PATCH] unit/test-gatt: Add /TP/GAR/CL/BI-32-C/auto test /TP/GAR/CL/BI-32-C/auto is similar to /TP/GAR/CL/BI-32-C but automatically elevates the security level and retry. --- unit/test-gatt.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unit/test-gatt.c b/unit/test-gatt.c index 69dcbf90a..2737bd4ba 100644 --- a/unit/test-gatt.c +++ b/unit/test-gatt.c @@ -3442,6 +3442,14 @@ int main(int argc, char *argv[]) raw_pdu(0x0c, 0x04, 0x00, 0x00, 0x00), raw_pdu(0x01, 0x0c, 0x04, 0x00, 0x05)); + define_test_client("/TP/GAR/CL/BI-32-C/auto", test_client, service_db_1, + &test_long_read_9, + SERVICE_DATA_1_PDUS, + raw_pdu(0x0c, 0x04, 0x00, 0x00, 0x00), + raw_pdu(0x01, 0x0c, 0x04, 0x00, 0x05), + raw_pdu(0x0c, 0x04, 0x00, 0x00, 0x00), + raw_pdu(0x0d, 0x01, 0x02, 0x03)); + define_test_client("/TP/GAR/CL/BI-33-C", test_client, service_db_1, &test_long_read_15, SERVICE_DATA_1_PDUS, -- 2.47.3