Hello,
1. Before connecting to BLE peripheral, I check peripheral's maximumWriteValueLength by followings and get values for
512 : withResponse
-3 : withoutResponse
print("maximumWriteValueLength")
print(self.peripheral.maximumWriteValueLength(for: CBCharacteristicWriteType.withResponse)) // 512
print(self.peripheral.maximumWriteValueLength(for: CBCharacteristicWriteType.withoutResponse)) // -3
// Need to override peripheral.maximumWriteValueLength value here...
self.centralManager.connect(sender.light!.peripheral!, options: [CBConnectPeripheralOptionNotifyOnDisconnectionKey : true])
Is there's way to replace(override) this value before connect to peripheral?
2. Is it possible to disable DLE(Data Length Extension) feature by modifying CoreBluetooth?