0

在 Android 中,有没有办法列出蓝牙配置文件,甚至可以通过编码或至少在终端模拟器中查询它们?

我想要这样,因为大多数制造商不知道或不指定支持哪些配置文件,并且我想知道(未经测试)许多不同的设备,如果它们可以与 HID 配置文件连接。即使制造商声称支持,用户也可以安装不支持的自定义 ROM,反之亦然。

4

2 回答 2

1

如果它是一部手机并支持 bluez,您可以使用“sdptool 浏览本地”进行检查

于 2013-02-07T04:21:32.460 回答
1

Not aware of anything in code that can get the list of supported profile, But if it is a Bluetooth device then it needs to have be Qualified and the Qualification information in https://www.bluetooth.org/tpg/listings.cfm should show the device and list the profiles it supports. if a user modifies the ROM or anything like that then it cannot be called Bluetooth (since it voilates the Qualification sanctity)

于 2013-02-07T18:43:15.573 回答