summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-11-28 11:29:37 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commit5b4e49b42eb415a0aaa3a39af1135e70e3520d69 (patch)
tree67b12e8f26a3ea5d872ef3c9e50bde2da3b4d8b0 /unit
parent11bb99ed102b2c986833b8ad6079c637f86fa4e7 (diff)
downloadbluez-5b4e49b42eb415a0aaa3a39af1135e70e3520d69.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BV-27-C test
Verify that the IUT (ACP) provides only basic capabilities in the Get Capabilities response.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-avdtp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 8a2a8a9e8..db56276b7 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -651,6 +651,12 @@ int main(int argc, char *argv[])
raw_pdu(0x10, 0x0c, 0x04),
raw_pdu(0x12, 0x0c, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00,
0xff, 0xff, 0x02, 0x40));
+ define_test("/TP/SIG/SMG/BV-27-C", test_server_1_3,
+ 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));
return g_test_run();
}