连接间隔核心蓝牙 [英] Connection Interval Core Bluetooth
问题描述
有没有办法通过Core Bluetooth更改连接间隔?
我正在将大块数据传输到Peripheral,它正在谈论传输数据的时间。我希望减少这段时间。
Is there any way to change connection interval through Core Bluetooth? I am transferring chunks of data to Peripheral and it's talking much time to transfer the data. I want to reduce this time.
如果可以使用核心蓝牙从iOS写入或更新连接间隔,请告诉我。
Please let me know, if it is possible to write or update the connection interval from iOS using core bluetooth.
谢谢
推荐答案
只能通过从外围设备向iOS发送连接参数更新。最小值:20ms(参数= 16)最大值:40(参数= 32)是根据CoreBluetooth的最佳合法参数。
实际上你会得到更好的性能,Min = 10 Max = 20或30,CoreBluetooth将从中选择大约20ms而不是30ms
很烦人我们无法设置它。
Only by sending connection parameter update from your Peripheral to iOS. Min:20ms (parameter=16) Max:40 (parameter=32) is best legal parameters according to CoreBluetooth. Actually you will get better performance with Min=10 Max=20 or 30 from which CoreBluetooth will select approximate 20ms instead of 30ms Annoying we cannot set it.
这篇关于连接间隔核心蓝牙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!