Instance Method

maximumWriteValueLength(for:)

The maximum amount of data, in bytes, you can send to a characteristic in a single write type.

Declaration

func maximumWriteValueLength(for type: CBCharacteristicWriteType) -> Int

Parameters

type

The characteristic write type to inspect.

See Also

Writing Characteristic and Descriptor Values

func writeValue(Data, for: CBDescriptor)

Writes the value of a characteristic descriptor.

enum CBCharacteristicWriteType

Values representing the possible write types to a characteristic’s value.