diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-12-18 16:09:47 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-12-23 10:59:44 +0200 |
commit | 70ab680d2f4f5ae447c171ee459b2467c7d794ef (patch) | |
tree | 7535802f3f4cd39bbb78a17831e318eb6debc87c /unit | |
parent | 79ab981fa7b8b43d8a23e214044814c71dc712dc (diff) | |
download | bluez-70ab680d2f4f5ae447c171ee459b2467c7d794ef.tar.gz |
unit/AVDTP: Add /TP/SIG/SYN/BV-02-C test
Verify that the delay reporting capability is configured by a SNK device
when it is offered by the SRC device. This allows a SRC device to detect
and use the delay reporting capability of a SNK device when the SNK
device is the INT of the start streaming procedure.
Diffstat (limited to 'unit')
-rw-r--r-- | unit/test-avdtp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index e3374b3db..0751a049b 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -1261,6 +1261,15 @@ 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, 0x08, 0x00)); + define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, + raw_pdu(0xd0, 0x01), + raw_pdu(0xd2, 0x01, 0x04, 0x00), + raw_pdu(0xe0, 0x0c, 0x04), + raw_pdu(0xe2, 0x0c, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, + 0xff, 0xff, 0x02, 0x40, 0x0f, 0x00, 0x08, 0x00), + raw_pdu(0xf0, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08, + 0x00)); return g_test_run(); } |