summaryrefslogtreecommitdiff
path: root/unit/test-avdtp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-01 17:50:08 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commite02a835a942363908f384744137b7f024d9806ba (patch)
tree13902045277df489dc31218104ba7e7b9e344596 /unit/test-avdtp.c
parent712c20d27572e8e5024279b6bc4a979c6769beee (diff)
downloadbluez-e02a835a942363908f384744137b7f024d9806ba.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-17-C test
Verify that the IUT (ACP) is able to issue an Open stream reject response to the INT.
Diffstat (limited to 'unit/test-avdtp.c')
-rw-r--r--unit/test-avdtp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 2f0232638..73a5d4511 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -813,6 +813,14 @@ int main(int argc, char *argv[])
raw_pdu(0x22, 0x03),
raw_pdu(0x30, 0x04, 0x00),
raw_pdu(0x33, 0x04, 0x12));
+ define_test("/TP/SIG/SMG/BI-17-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(0x30, 0x06, 0x04),
+ raw_pdu(0x33, 0x06, 0x31));
return g_test_run();
}