In a protocol we currently have a parameter with a fixed range defined. The problem is that the device comes in different variants resulting in this range to be incorrect in some cases.
For example for one device the range should be 40 - 170, for the other variant 70 - 220.
What is the best way to handle these dynamic ranges (without the need of a major change if possible)?
Hi, In this case it will be best to put the complete range on your parameter definition. (Ranging from 40 towards 220)
This way the protocol will be able to handle sets and enable monitoring with thresholds for both device variants.
In order to make it user-friendly, you can dynamically update the ranges on this parameter depending on the device type.
To do this, you will need to use the NT_Update_Description_XML Notify.