Open MrQQQQQQQQQQ opened 3 years ago
Hello, Are you sure that it is not a system restriction?
Hello, Are you sure that it is not a system restriction?
I am not sure if it is a system restriction. but if yes, why the property canSendWriteWithoutResponse won't change to true when i back to foreground. in my app, i used a BLE background mode ,so my app won't be suspend by system.the app can still invoke the write method.but because of this property, it will never really invoke "writeOperationPerformingAndListeningObservable"
peripheral.canSendWriteWithoutResponse change to false after enter background,then the in the function : "writeValue(_ data: Data, for characteristic: Characteristic, type: CBCharacteristicWriteType, canSendWriteWithoutResponseCheckEnabled: Bool = true) -> Single". will not send the data.
To Reproduce Steps to reproduce the behavior:
Expected behavior canSendWriteWithoutResponse will never change to false
Environment: