最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

bluetooth - AVDTPSRCACPTRABTRBI-01-C test fails on Bluez 5.64 - Stack Overflow

programmeradmin0浏览0评论

In the Bluetooth® Profile Tuning Suite (PTS), I'm trying to run the AVDTP/SRC/ACP/TRA/BTR/BI-01-C test. The test scenario is described in this PDF on page 140.

In short: Test Purpose Verify that the IUT (ACP) is able to issue a Set Configuration Reject response to the INT if the format of the media transport is incorrect. The test sends a malformed AVDTP SetConfiguration command where the issue is in the Capabilities list—it sets the length to 0x01 instead of 0x00. The IUT (the device being tested) should recognize this and reject the command. However, instead of rejecting it, the IUT accepts the command and responds with a Response Accept message, causing the test to fail.

I'm running Ubuntu 22.04.2 LTS with BlueZ 5.64.

In the BlueZ source code, the profiles/audio/avdtp.c file's avdtp_setconf_cmd function appears to handle this. At line 1558, there is an explicit check for this exact issue, yet the test still fails.

Is there any known issue with this version of BlueZ failing this test, or do you have any suggestions on how to fix it?

发布评论

评论列表(0)

  1. 暂无评论