简体   繁体   English

蓝牙SPP吞吐量

[英]Bluetooth SPP throughput

I am trying to figure out what the maximum throughput of a Bluetooth 2.1 SPP connection is. 我试图弄清楚蓝牙2.1 SPP连接最大吞吐量是多少。

I found 2 publications concerned with the topic ( 1 , 2 ) and they both show diagrams, which show the throughput as a function of the Signal to noise ratio (that I can assume to be perfect for my concideration) and the kind of ACL package used. 我发现2个出版物关心的话题( 12 ),它们都显示图,显示了吞吐量的信号噪声比的函数(即我可以假设是适合我的concideration)和一种ACL包用过的。 My problem is, I have no Idea which ACL packets are used. 我的问题是,我不知道使用哪个ACL数据包。 How is this decision made? 如何做出决定? Is it made on the fly, like "what's needed to transfer the current data is used"? 它是即时生成的吗,例如“使用什么来传输当前数据”?

Furthermore, in the Serial Port Profile specification (chapter 2.3) I found this sentence: 此外,在串行端口配置文件规范 (第2.3章)中,我发现了这一句话:

This profile requires support for one-slot packets only. 此配置文件仅要求支持一槽数据包。 This means that this profile ensures that data rates up to 128 kbps can be used. 这意味着该配置文件确保可以使用高达128 kbps的数据速率。 Support for higher rates is optional. 支持更高的费率是可选的。

The last sentence realy confuses me. 最后一句话确实使我感到困惑。 How do I find out whether this "option" applies in my case? 我如何确定此“选项”是否适用于我的情况?

This means that in SPP mode, all bluetooth modules should work up to 128kbps, and some modules may work even faster. 这意味着在SPP模式下,所有蓝牙模块均应以128kbps的速度运行,而某些模块的运行速度甚至可能更快。

Under SPP is RFCOMM, which tries to deliver the packets as quickly as possible. 在SPP下是RFCOMM,RFCOMM试图尽快传递数据包。 If only one packet is sent in one timeslot, you get the 128kbps. 如果在一个时隙中仅发送一个数据包,则将获得128kbps。 The firmware of the bluetooth module, or the HCI driver however can do things differently. 蓝牙模块的固件或HCI驱动程序可以执行不同的操作。

There are SPP speeds up to 480kbps reported - however this requires that both SPP modules are from the same vendor (eg BlueGiga iWrap modules can do this speed). 报告的SPP速度高达480kbps-但这要求两个SPP模块都来自同一供应商(例如BlueGiga iWrap模块可以达到该速度)。

On the other end, if you're connecting to an unknown device, for example a BT112, or an RN41 module to an Android device, the actual usable SPP bandwidth can be much lower than 128 kbps (I have measurements as low as 10kbps). 另一方面,如果您要连接到未知设备(例如BT112或RN41模块)到Android设备,则实际可用的SPP带宽可能远低于128 kbps(我的测量值低至10 kbps) 。

In case of some old generation iPhones, the usable SPP bandwidth is around 8 kbps. 对于某些旧版iPhone,可用的SPP带宽约为8 kbps。

It is a wise idea to treat "standards" and "datasheets" very conservative, and do your own measurements if actual net data bandwidth is critical. 明智的做法是非常保守地对待“标准”和“数据表”,并在实际的净数据带宽至关重要的情况下进行自己的测量。

Even though BT, BT+EDR has theoretical on-the-air bitrates of 3Mbps, the actual usable net data bandwidth is a way smaller. 即使BT,BT + EDR具有理论上的3Mbps广播比特率,实际可用的净数据带宽也要小得多。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM