When I wanted to upgrade to v4 of this library I realized that some information is not exposed anymore, namely a descriptor of the feature and the step count.
I needed those to give the features a proper label in the UI and to make the slider jump the right amount (min: 0, max: 100, stepCount: 25 = 5 slider positions: 0, 25, 50, 75, 100).
In v3 I access them like this:
device.messageAttributes.ScalarCmd[0].FeatureDescriptor
device.messageAttributes.ScalarCmd[0].StepCount
Is this information not accessible on purpose? If not, then I'm happy to make a PR to expose it again.
When I wanted to upgrade to v4 of this library I realized that some information is not exposed anymore, namely a descriptor of the feature and the step count.
I needed those to give the features a proper label in the UI and to make the slider jump the right amount (min: 0, max: 100, stepCount: 25 = 5 slider positions: 0, 25, 50, 75, 100).
In v3 I access them like this:
Is this information not accessible on purpose? If not, then I'm happy to make a PR to expose it again.