Dear all,
I use the demo (https://github.com/NordicSemiconductor/IOS-nRF-Toolbox)
when I send large file, after some times, the canSendWriteWithoutResponse maybe always false, and auto disconnected
this is my code, any help thx

Dear all,
I use the demo (https://github.com/NordicSemiconductor/IOS-nRF-Toolbox)
when I send large file, after some times, the canSendWriteWithoutResponse maybe always false, and auto disconnected
this is my code, any help thx

Hello,
From our experience you may safely send ~16-20 packets without checking `canSendWriteWithoutResponse`. If you want to send more you need to check this flag before each write. When you'll get false, you need to wait for the `periphearIsReady(toSendWriteWithoutRequest:)` method: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/2874034-peripheralisready.
Also, from our experience, for some reason the initial call to `canSendWriteWithoutResponse` always returns false, but we send anyway.
Now i have write data in periphearIsReady, also canSendWriteWithoutResponse change to false not in initial, but in after send some times
Now i have write data in periphearIsReady, also canSendWriteWithoutResponse change to false not in initial, but in after send some times