read

suspend fun <T> Peripheral.read(characteristic: Characteristic, decoder: BleDecoder<T>): T

Read a characteristic and decode the result.