summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-03 15:02:20 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commitc7641eea84bf8bd2879514031f7f40c992431273 (patch)
tree2f1aaa29ad4f5635bb7a1b6ca42df1fcb5aaa4e6
parent4850b4308301fdbb0e022474e9c4cfd45d829fa6 (diff)
downloadbluez-c7641eea84bf8bd2879514031f7f40c992431273.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-26-C test
Verify that the IUTi (ACP) is able to issue a suspend stream reject response to the Lower Tester (INT).
-rw-r--r--unit/test-avdtp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 11be3bb23..0ff023b74 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -997,6 +997,19 @@ int main(int argc, char *argv[])
raw_pdu(0x42, 0x07),
raw_pdu(0xf0, 0x09, 0x04),
raw_pdu(0xf3, 0x09, 0x04, 0x31));
+ define_test("/TP/SIG/SMG/BI-26-C", test_server,
+ raw_pdu(0x00, 0x01),
+ raw_pdu(0x02, 0x01, 0x04, 0x00),
+ raw_pdu(0x10, 0x02, 0x04),
+ raw_pdu(0x12, 0x02, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00,
+ 0xff, 0xff, 0x02, 0x40),
+ raw_pdu(0x20, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06,
+ 0x00, 0x00, 0x21, 0x02, 0x02, 0x20),
+ raw_pdu(0x22, 0x03),
+ raw_pdu(0x30, 0x06, 0x04),
+ raw_pdu(0x32, 0x06),
+ raw_pdu(0x40, 0x09, 0x04),
+ raw_pdu(0x43, 0x09, 0x04, 0x31));
return g_test_run();
}