iPhone 4S - BLE数据传输速度 [英] iPhone 4S - BLE data transfer speed

查看:103
本文介绍了iPhone 4S - BLE数据传输速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在修改BLE(蓝牙低功耗)连接类,并且无法以1KB / 5秒的速度传输数据。我相信,在文档中,它说最大速度是每20毫秒60个字节。通过数据传输和计数每组数据包之后的Ack传输,我相信我们应该能够以每秒1.5KB的速度运行。所以我的代码比它应该慢了大约7-8倍。

I've been tinkering around with the BLE (Bluetooth Low Energy) connectivity classes quiet a bit lately and haven't been able to make it transfer data any faster than 1KB / 5 seconds. I believe, in the documentation, it says the max speed is 60 bytes per 20 milliseconds. With data transfer and counting the Ack transfer after each set of packets, I believe we should be able to go as fast as 1.5KB per second. So my code is around 7-8 times slower than it should be.

我只是想知道是否有人能够像BLE一样快速地在BLE中进行数据传输文档说它应该能够做到。如果比我快,你会得到什么样的速度?

I'm just wondering if anyone has been able to do data transfer in BLE as fast as the documentation says it should be able to do. What sort of speed are you getting if faster than mine?

非常感谢

推荐答案

请参阅Apple的guidlines,您将看到需要连接更新请求才能加快连接速度。

see at the guidlines of apple and you will see that a connection update request is required to speed up your connection.

https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf

我有min = 20ms max 40 ms

I have min=20ms max 40 ms

我希望我能帮忙

Roman

这篇关于iPhone 4S - BLE数据传输速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆