diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-06-23 11:16:09 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-06-24 14:35:42 +0300 |
commit | 27a7b26798d08b858c21d9ebc067835c1a97507c (patch) | |
tree | d7ef906a2472cb62b1ea969b85551257910fad42 | |
parent | f379e991d5c86a30c25adb42c1306a6d7f421457 (diff) | |
download | bluez-27a7b26798d08b858c21d9ebc067835c1a97507c.tar.gz |
unit/test-gatt: Add /TP/GAR/CL/BI-26-C/auto test
/TP/GAR/CL/BI-26-C/auto is similar to /TP/GAR/CL/BI-26-C but
automatically elevates the security level and retry.
-rw-r--r-- | unit/test-gatt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/unit/test-gatt.c b/unit/test-gatt.c index a13150169..69dcbf90a 100644 --- a/unit/test-gatt.c +++ b/unit/test-gatt.c @@ -3282,6 +3282,14 @@ int main(int argc, char *argv[]) raw_pdu(0x0a, 0x04, 0x00), raw_pdu(0x01, 0x0a, 0x04, 0x00, 0x05)); + define_test_client("/TP/GAR/CL/BI-26-C/auto", test_client, service_db_1, + &test_read_7, + SERVICE_DATA_1_PDUS, + raw_pdu(0x0a, 0x04, 0x00), + raw_pdu(0x01, 0x0a, 0x04, 0x00, 0x05), + raw_pdu(0x0a, 0x04, 0x00), + raw_pdu(0x0b, 0x01, 0x02, 0x03)); + define_test_client("/TP/GAR/CL/BI-27-C", test_client, service_db_1, &test_read_11, SERVICE_DATA_1_PDUS, |