public float getSpeed(final float wheelCircumference,
						  final CyclingSpeedAndCadenceMeasurementResponse previous) {
		float timeDifference;
		if (lastWheelEventTime < previous.lastWheelEventTime)
			timeDifference = (65535 + lastWheelEventTime - previous.lastWheelEventTime) / 1024.0f; // [s]
		else
			timeDifference = (lastWheelEventTime - previous.lastWheelEventTime) / 1024.0f; // [s]

		return getDistance(wheelCircumference, previous) / timeDifference; // [m/s]
	}
Returns the average speed since the previous response was received.

@param wheelCircumference the wheel circumference in millimeters.
@param previous a previous response.
@return speed in meters per second.
ble-common/src/main/java/no/nordicsemi/android/ble/common/callback/csc/CyclingSpeedAndCadenceMeasurementResponse.java