abortReliableWrite

suspend fun abortReliableWrite()

Aborts the reliable write transaction started using beginReliableWrite.

All queued write operations will be discarded on the peripheral.

See also

Throws

If the device is not connected.

If reliable write could not be aborted.

If BLUETOOTH_CONNECT permission is denied.