summaryrefslogtreecommitdiff
path: root/unit/test-avdtp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-04 15:27:53 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commit0aec685e5e8366ac77f5770836f18f32ffc99ef4 (patch)
treeb28f32c63eb5c5ece4b33eff720bb5702940632e /unit/test-avdtp.c
parentb92827f804ecd7e5df77bb794ca36884a7c5505d (diff)
downloadbluez-0aec685e5e8366ac77f5770836f18f32ffc99ef4.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-35-C test
Verify that the IUT (INT) is able to ignore a reserved capability in the GetAllCapabilities response.
Diffstat (limited to 'unit/test-avdtp.c')
-rw-r--r--unit/test-avdtp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index abc40afb8..bdd3d2c0c 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -1067,6 +1067,16 @@ int main(int argc, char *argv[])
raw_pdu(0x02, 0x01, 0x04, 0x00),
raw_pdu(0x10, 0x0c),
raw_pdu(0x13, 0x0c, 0x11));
+ define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3,
+ raw_pdu(0x50, 0x01),
+ raw_pdu(0x52, 0x01, 0x04, 0x00),
+ raw_pdu(0x60, 0x0c, 0x04),
+ raw_pdu(0x62, 0x0c, 0x01, 0x00, 0x02, 0x00, 0x03, 0x00,
+ 0x04, 0x00, 0x05, 0x00, 0x06, 0x00, 0x07, 0x06,
+ 0x00, 0x00, 0xff, 0xff, 0x02, 0x40, 0x08, 0x00),
+ raw_pdu(0x70, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06,
+ 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08,
+ 0x00));
return g_test_run();
}