peripheralManagerIsReady(toUpdateSubscribers:)
Tells the delegate that a local peripheral device is ready to send characteristic value updates.
Declaration
optional func peripheralManagerIsReady(toUpdateSubscribers peripheral: CBPeripheralManager)Parameters
- peripheral:
The peripheral manager that sends characteristic value updates.
Discussion
When a call to the updateValue(_:for:onSubscribedCentrals:) method fails because the underlying queue used to transmit the updated characteristic value is full, Core Bluetooth calls the peripheralManagerIsReady(toUpdateSubscribers:) method when more space in the transmit queue becomes available. You can then implement this delegate method to resend the value.