我是CoreBluetooth.framework
的新用户,如何更改连接的连接延迟参数?我在CBPeripheralmanager.h文件中找到了这个:
typedef NS_ENUM(NSInteger, CBPeripheralManagerConnectionLatency) {
CBPeripheralManagerConnectionLatencyLow = 0,
CBPeripheralManagerConnectionLatencyMedium,
CBPeripheralManagerConnectionLatencyHigh } NS_ENUM_AVAILABLE(NA, 6_0);
如何在代码中添加正确的设置?我想设置CBPeripheralManagerConnectionLatencyHigh
非常感谢。