From 56c70d431eb448f1a9faaa0bdcf8deff6dc0f3ce Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 6 Oct 2021 14:34:41 -0700 Subject: [PATCH] test-hog: Update pdu sequence With recent changes to use bt_att_resend the procedures such as read long will group the reads to the same handler before proceeding to the next procedures. --- unit/test-hog.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/unit/test-hog.c b/unit/test-hog.c index e6d4affc4..bc23b58ff 100644 --- a/unit/test-hog.c +++ b/unit/test-hog.c @@ -243,13 +243,17 @@ int main(int argc, char *argv[]) 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16), - raw_pdu(0x0a, 0x08, 0x00), - raw_pdu(0x0b, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, + raw_pdu(0x0c, 0x04, 0x00, 0x16, 0x00), + raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16), - raw_pdu(0x0c, 0x04, 0x00, 0x16, 0x00), + raw_pdu(0x0c, 0x04, 0x00, 0x2c, 0x00), raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, + 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, + 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13), + raw_pdu(0x0a, 0x08, 0x00), + raw_pdu(0x0b, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16), @@ -258,10 +262,6 @@ int main(int argc, char *argv[]) 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16), - raw_pdu(0x0c, 0x04, 0x00, 0x2c, 0x00), - raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, - 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, - 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13), raw_pdu(0x0c, 0x08, 0x00, 0x2c, 0x00), raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, -- 2.47.3