maximumWriteValueLength
The maximum amount of data, in bytes, that can be send to a characteristic in a single write operation.
Maximum value length depends on WriteType and is calculated as:
512 bytes for WriteType.WITH_RESPONSE,
ATT MTU - 3 bytes for WriteType.WITHOUT_RESPONSE,
ATT MTU - 15 bytes for WriteType.SIGNED (additional 12 bytes for the signature).
Higher value of ATT MTU for WriteType.WITHOUT_RESPONSE can be requested using requestHighestValueLength.
Throws
If the device is not connected.