简体   繁体   English

如何找到我的蓝牙耳机设备使用的a2dp版本?

[英]How can I find which version of a2dp is used by my Bluetooth headset device?

I know that one way to find this out is to have a look at the device specification. 我知道找出这种情况的一种方法是查看设备规格。 Most device specifications are reporting just that A2DP is supported. 大多数设备规范仅报告支持A2DP。 Is there another way to find which version of A2DP is used from a headset device? 是否有另一种方法可以找到耳机设备使用的A2DP版本?

I recommend using linux with either built in bluetooth or with a bluetooth dongle. 我建议将Linux与内置的蓝牙或蓝牙软件狗一起使用。 Then you can use the bluez tool sdptool from the command line to get this information. 然后,您可以从命令行使用bluez工具sdptool来获取此信息。

A protocol sniffer is not necessary as all a protocol sniffer does is decode the packets over the air (which is exactly what sdptool does already), and it is more difficult as you will need to find out the link key as well which, depending on the devices you are using, can be quite difficult. 协议嗅探器不是必需的,因为所有协议嗅探器所做的就是通过无线方式解码数据包(这正是sdptool已经完成的工作),而且难度更大,因为您还需要找出链接密钥,具体取决于您正在使用的设备可能会非常困难。

Currently there are only 2 versions of A2DP - 1.0 and 1.2 The differences are only minor optimizations / adaptations. 当前只有2个版本的A2DP-1.0和1.2。不同之处仅在于较小的优化/改编。 So from a user's point of view it really does not matter. 因此,从用户的角度来看,这确实没有关系。 Both versions are compatible and will talk to each other. 两种版本都兼容,并且可以互相通信。

Since the differences are minor technical documentation changes in the spec it is not marketed as different versions to the end user. 由于差异仅是规范中技术文件的细微变化,因此最终用户不能将其作为不同版本进行销售。 (Its just A2DP) To really know the versions you will have to hook up with a Protocol sniffer and look at the SDP (Service Discovery) Query which typically happens after pairing / initial connection. (仅A2DP)要真正了解版本,您必须使用协议嗅探器,然后查看通常在配对/初始连接之后发生的SDP(服务发现)查询。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何连接到蓝牙a2dp设备? - How to connect to a bluetooth a2dp device? 在 Android 中,如何在有线耳机和 A2DP BT 耳机之间切换? - In Android, how can I switch between a wired headset and an A2DP BT one? (3.0之前的)Android程序可以连接到蓝牙A2DP设备吗? - Can an (pre 3.0) Android program connect to a bluetooth A2DP device? 如何以编程方式扫描并连接到iOS上的Bluetooth A2DP设备 - How to scan and connect to Bluetooth A2DP device on iOS programmatically 如何通过活动或服务强制连接到a2dp蓝牙设备 - How to force a connection to a a2dp bluetooth device by an activity or service 如果Android手机是唯一的A2DP源设备,那么蓝牙耳机如何将声音发送到Android手机? - How bluetooth headset send voice to android phone, if android phones are uniquely A2DP source devices? 如何以编程方式创建A2DP连接或如何将Android手机模拟为A2DP接收器? - How to create programmatically an A2DP connection or how can I emulate an Android phone to be an A2DP sink? 如何实现蓝牙A2DP接收器? - How to implement a Bluetooth A2DP sink? 连接蓝牙设备时如何防止android选择Bluetooth A2DP路由 - How to prevent android to select Bluetooth A2DP route when bluetooth device is connected 除了6个配置文件(HFP,PBAP,A2DP,AVRCP,PAN,HID)之外,iOS中是否有支持的蓝牙配置文件? - Is there any supported Bluetooth profile which is used in iOS except 6 profiles(HFP, PBAP, A2DP, AVRCP, PAN, HID)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM