OSDN Git Service

unit/test-gatt: Fix /TP/GAR/CL/BV-07-C test
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 18 Jun 2015 11:19:42 +0000 (14:19 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 23 Jun 2015 09:55:57 +0000 (12:55 +0300)
The response should be Read Blob Reponse 0x0d not 0x0b which is Read
Response.

unit/test-gatt.c

index f6448d5..bb6a270 100644 (file)
@@ -3264,7 +3264,7 @@ int main(int argc, char *argv[])
                        &test_long_read_9,
                        SERVICE_DATA_1_PDUS,
                        raw_pdu(0x0c, 0x04, 0x00, 0x00, 0x00),
-                       raw_pdu(0x0b, 0x01, 0x02, 0x03));
+                       raw_pdu(0x0d, 0x01, 0x02, 0x03));
 
        define_test_client("/TP/GAR/CL/BV-07-C/512B", test_client, service_db_1,
                        &test_long_read_10,