diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-06-23 11:02:45 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-06-24 14:35:42 +0300 |
commit | 06d78ce061d4602928c9fdd2ef9354a693270f3d (patch) | |
tree | c18e020a5d6604db89bc5312a512fb0b544dbada /unit | |
parent | 68474c8e6ce80a56039c711d28a6b668f3919bdb (diff) | |
download | bluez-06d78ce061d4602928c9fdd2ef9354a693270f3d.tar.gz |
unit/test-gatt: Add /TP/GAR/CL/BI-16-C/auto test
/TP/GAR/CL/BI-16-C/auto is similar to /TP/GAR/CL/BI-16-C but
automatically elevates the security level and retry.
Diffstat (limited to 'unit')
-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 2d9128eb9..5d1650fc3 100644 --- a/unit/test-gatt.c +++ b/unit/test-gatt.c @@ -3041,6 +3041,14 @@ int main(int argc, char *argv[]) raw_pdu(0x0c, 0x03, 0x00, 0x00, 0x00), raw_pdu(0x01, 0x0c, 0x03, 0x00, 0x05)); + define_test_client("/TP/GAR/CL/BI-16-C/auto", test_client, service_db_1, + &test_long_read_1, + SERVICE_DATA_1_PDUS, + raw_pdu(0x0c, 0x03, 0x00, 0x00, 0x00), + raw_pdu(0x01, 0x0c, 0x03, 0x00, 0x05), + raw_pdu(0x0c, 0x03, 0x00, 0x00, 0x00), + raw_pdu(0x0d, 0x01, 0x02, 0x03)); + define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1, &test_long_read_8, SERVICE_DATA_1_PDUS, |