核心蓝牙框架连接延迟xcode

时间:2014-02-13 14:48:59

标签: ios objective-c core-bluetooth

我是CoreBluetooth.framework的新用户,如何更改连接的连接延迟参数?我在CBPeripheralmanager.h文件中找到了这个:

typedef NS_ENUM(NSInteger, CBPeripheralManagerConnectionLatency) {
CBPeripheralManagerConnectionLatencyLow = 0,
CBPeripheralManagerConnectionLatencyMedium,
CBPeripheralManagerConnectionLatencyHigh } NS_ENUM_AVAILABLE(NA, 6_0);

如何在代码中添加正确的设置?我想设置CBPeripheralManagerConnectionLatencyHigh

非常感谢。

0 个答案:

没有答案