问题描述
简介:我来不与蓝牙协议栈和协议充分了解这个问题,所以这可能需要多轮编辑在我的假设错误显露
Intro: I'm coming to this problem without full familiarity with the Bluetooth stack and protocols, so this may require several rounds of editing as errors in my assumptions are revealed.
我试图连接到蓝牙设备,
推荐答案
是的,蓝牙在空中对数据进行加密。是的,这适用于ACL的数据。但是你看到过HCI接口的数据已经被解密。你的问题是,你不知道如何跨preT ACL的数据流。有协议的ACL的数据之上的几个级别。除非你的设备记录了他们的协议,你可能是出于运气。这是最有可能的,他们正在运行的SPP(串行端口配置文件)或RFCOMM交谈的Android应用程序。所以,你有以下的嵌套协议层脱code SPP - > RFCOMM - > L2CAP - > ACL的数据。
Yes, bluetooth encrypts data over the air. And yes, this applies to ACL data. But the data you are seeing over the HCI interface is already decrypted. Your problem is that you don't know how to interpret the ACL data stream. There are a couple levels of protocol on top of ACL data. Unless your device documents their protocol, you may be out of luck. It's most likely that they are running SPP (serial port profile) or RFCOMM to talk to the android app. So you have the following nested protocol layers to decode SPP -> RFCOMM -> L2CAP -> ACL data.
这也可能是您的设备/应用做额外的应用级加密对SPP的顶部。在这种情况下,你的运气了。
It is also possible that your device/app do additional application level encryption on top of SPP. In that case, you're out of luck.
这篇关于蓝牙是否加密数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!