Diff between 8e2ad586a1bbf893135a4c2c1b1c327134f0080b and a91db77030887199d04101ce3971bc43ea0dcab6

Changed Files

File Additions Deletions Status
unit/test-gatt.c +12 -0 modified

Full Patch

diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index c9eb5c3..8c08c4b 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -1484,6 +1484,12 @@ static const struct test_step test_long_read_6 = {
 	.expected_att_ecode = 0x08
 };
 
+static const struct test_step test_long_read_7 = {
+	.handle = 0x0003,
+	.func = test_long_read,
+	.expected_att_ecode = 0x05
+};
+
 int main(int argc, char *argv[])
 {
 	struct gatt_db *service_db_1, *ts_small_db, *ts_large_db_1;
@@ -2166,6 +2172,12 @@ int main(int argc, char *argv[])
 			raw_pdu(0x0c, 0x03, 0x00, 0x00, 0x00),
 			raw_pdu(0x01, 0x0c, 0x03, 0x00, 0x08));
 
+	define_test_client("/TP/GAR/CL/BI-16-C", test_client, service_db_1,
+			&test_long_read_7,
+			SERVICE_DATA_1_PDUS,
+			raw_pdu(0x0c, 0x03, 0x00, 0x00, 0x00),
+			raw_pdu(0x01, 0x0c, 0x03, 0x00, 0x05));
+
 	define_test_client("/TP/GAR/CL/BI-18-C", test_client, service_db_1,
 			&test_multiple_read_2,
 			SERVICE_DATA_1_PDUS,