setPulsesConversionRatio

abstract suspend fun setPulsesConversionRatio(conversionRatio: Int, updateProgress: suspend (progress: Progress) -> Unit = {})

Set sensor conversion ratio for pulses channel. Command is supported only on sensors 5.0 and older. If run on newer sensors then UnsupportedCommandException will be thrown.

Parameters

conversionRatio

Conversion ratio to be set

updateProgress

Progress of the operation