unit/test-gatt: Fix test /TP/GAR/CL/BI-16-C/auto
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 2 Jul 2020 17:20:35 +0000 (10:20 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
Test has been using Read Blob Response (0x0d) opcode instead of the
expected Read Response (0x0b) to Read Resquest (0x0a).

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
unit/test-gatt.c

index da5acc9..7456868 100755 (executable)
@@ -3416,7 +3416,7 @@ int main(int argc, char *argv[])
                        raw_pdu(0x0a, 0x03, 0x00),
                        raw_pdu(0x01, 0x0a, 0x03, 0x00, 0x05),
                        raw_pdu(0x0a, 0x03, 0x00),
-                       raw_pdu(0x0d, 0x01, 0x02, 0x03));
+                       raw_pdu(0x0b, 0x01, 0x02, 0x03));
 
        define_test_client("/TP/GAR/CL/BI-17-C", test_client, service_db_1,
                        &test_long_read_8,