OSDN Git Service

tools/l2cap-tester: Fix expected LE CoC conn rsp parameters
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 12 Nov 2015 09:15:54 +0000 (11:15 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 12 Nov 2015 09:15:54 +0000 (11:15 +0200)
tools/l2cap-tester.c

index c46527c..f02cb24 100644 (file)
@@ -492,10 +492,10 @@ static const uint8_t le_connect_req[] = { 0x80, 0x00, /* PSM */
                                                0x05, 0x00, /* Credits */
 };
 
-static const uint8_t le_connect_rsp[] = {      0x41, 0x00, /* DCID */
-                                               0x20, 0x00, /* MTU */
-                                               0x20, 0x00, /* MPS */
-                                               0x05, 0x00, /* Credits */
+static const uint8_t le_connect_rsp[] = {      0x40, 0x00, /* DCID */
+                                               0xa0, 0x02, /* MTU */
+                                               0xe6, 0x00, /* MPS */
+                                               0x0a, 0x00, /* Credits */
                                                0x00, 0x00, /* Result */
 };