summaryrefslogtreecommitdiff
path: root/unit/test-avdtp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-11-28 17:26:41 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commit7ffd39ef1b2d0589aea15ed6f2b008d854b43f47 (patch)
tree84754a7263d1a4547631867490cca2111141950d /unit/test-avdtp.c
parent2e2ff234bb7b34e4f318c85c1e4b9f54cb819570 (diff)
downloadbluez-7ffd39ef1b2d0589aea15ed6f2b008d854b43f47.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-08-C test
Verify that the IUT (ACP) is able to issue a set configuration reject response to the INT if the SEP is already configured.
Diffstat (limited to 'unit/test-avdtp.c')
-rw-r--r--unit/test-avdtp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 69a66c006..1c9a4ec6a 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -735,6 +735,18 @@ int main(int argc, char *argv[])
raw_pdu(0x00, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06,
0x00, 0x00, 0x21, 0x02, 0x02, 0x20),
raw_pdu(0x03, 0x03, 0x00, 0x13));
+ define_test("/TP/SIG/SMG/BI-08-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, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06,
+ 0x00, 0x00, 0x21, 0x02, 0x02, 0x20),
+ raw_pdu(0x33, 0x03, 0x00, 0x13));
return g_test_run();
}