Instance Method

peripheralIsReady(toSendWriteWithoutResponse:)

Tells the delegate that a peripheral is again ready to send characteristic updates.

Declaration

optional func peripheralIsReady(toSendWriteWithoutResponse peripheral: CBPeripheral)

Parameters

peripheral

The peripheral providing this update.

Discussion

The peripheral calls this delegate method after a failed call to writeValue(_:for:type:), once peripheral is ready to send characteristic value updates.

See Also

Writing Characteristic and Descriptor Values

func peripheral(CBPeripheral, didWriteValueFor: CBCharacteristic, error: Error?)

Tells the delegate that the peripheral successfully set a value for the characteristic.

func peripheral(CBPeripheral, didWriteValueFor: CBDescriptor, error: Error?)

Tells the delegate that the peripheral successfully set a value for the descriptor.