maximumWriteValueLength
The maximum amount of data, in bytes, that can be sent 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).
Connect with CentralManager.ConnectionOptions.automaticallyRequestHighestValueLength to request maximum supported value length on connection, or use requestHighestValueLength to request it during connection.
Throws
If the device is not connected.