if (service != null && characteristic != null && device != null) {
                val readValue = onBluetoothCharacteristicReadRequest(characteristic, device, offset)
                if (readValue != null) {
                    sendResponseWithSuccess(readValue.byteArray, requestId, device, readValue.offset)
                } else {