Contents

writeWithoutResponse

A property that indicates a peripheral can write the characteristic’s value, without a response to indicate that the write succeeded.

Declaration

static var writeWithoutResponse: CBCharacteristicProperties { get }

Discussion

Use the writeValue(_:for:type:) method of the CBPeripheral class to write to a characteristic’s value, using the CBCharacteristicWriteType.withoutResponse constant as the parameter for type. If a characteristic has this property set, it doesn’t return an error to the central when it fails to write the characteristic’s value.

See Also

Characteristic Properties