summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-10-06 14:34:41 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-10-06 14:36:51 -0700
commit56c70d431eb448f1a9faaa0bdcf8deff6dc0f3ce (patch)
tree2a03a6f5c175f9044bfa19d6c879c273b67c3636 /unit
parentac2c2e10b3adb432a572b618c6f53cabb6b3c80b (diff)
downloadbluez-56c70d431eb448f1a9faaa0bdcf8deff6dc0f3ce.tar.gz
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.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-hog.c14
1 files 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,14 +243,18 @@ 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),
raw_pdu(0x0c, 0x08, 0x00, 0x16, 0x00),
@@ -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,