summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-01 17:33:22 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commit712c20d27572e8e5024279b6bc4a979c6769beee (patch)
tree14b4f2fe5e85c399e0a9365890afc7e3415147a3 /unit
parent1ce1db5002f3b7714d1788a68ca06fd1849b68a0 (diff)
downloadbluez-712c20d27572e8e5024279b6bc4a979c6769beee.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-11-C test
Verify that the IUT (ACP) is able to issue a get configuration reject response to the INT.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-avdtp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 8aee50c31..2f0232638 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -802,6 +802,17 @@ int main(int argc, char *argv[])
raw_pdu(0x32, 0x03),
raw_pdu(0x40, 0x04, 0x04),
raw_pdu(0x43, 0x04, 0x12));
+ define_test("/TP/SIG/SMG/BI-11-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, 0x04, 0x00),
+ raw_pdu(0x33, 0x04, 0x12));
return g_test_run();
}