set Period
abstract suspend fun setPeriod(period: MeasurementPeriod, resetMemory: Boolean, updateProgress: suspend (progress: Progress) -> Unit = {})
Command for setting the measurement period of sensor. When executed on sensors 4.x and 5.x all readings are erased from memory.
Parameters
period
Measurement period
reset Memory
If true then all measurements will be deleted from sensor (supported only by v6 sensors and newer)
update Progress
Progress of the operation