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:32:39 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-12-05 12:36:03 +0200
commiteea8535fd214912dc6abec5e76aa9acaaaeb49b2 (patch)
treefd370721b9e4fb27338efffae482b720e509f249 /unit/test-avdtp.c
parent0aec685e5e8366ac77f5770836f18f32ffc99ef4 (diff)
downloadbluez-eea8535fd214912dc6abec5e76aa9acaaaeb49b2.tar.gz
unit/AVDTP: Add /TP/SIG/SMG/BI-36-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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index bdd3d2c0c..fb555b806 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -1077,6 +1077,14 @@ int main(int argc, char *argv[])
raw_pdu(0x70, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06,
0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08,
0x00));
+ define_test("/TP/SIG/SMG/BI-36-C", test_client_1_3,
+ raw_pdu(0x80, 0x01),
+ raw_pdu(0x82, 0x01, 0x04, 0x00),
+ raw_pdu(0x90, 0x0c, 0x04),
+ raw_pdu(0x92, 0x0c, 0xee, 0x01, 0x00, 0x01, 0x00, 0x07,
+ 0x06, 0x00, 0x00, 0xff, 0xff, 0x02, 0x40),
+ raw_pdu(0xa0, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06,
+ 0x00, 0x00, 0x21, 0x02, 0x02, 0x20));
return g_test_run();
}