Change event criteria for Attribute of type DevString or DevStringArray

Hi,

I want to quantize the criteria for raising the change event for Attribute of type DevString or DevStringArray.

My objective is to raise a change event when the value of the attribute of type DevString changes. I'm not able to understand what should I specify the value of the attribute property "changeEventAbsolute".

e.g if the attribute is of type double, short, long, then I can specify the change event criteria as changeEventAbsolute = "1", indicating that the event should be raised if the value of the attribute changes by 1 or more than that.

Similarly what should I set the value of "changeEventAbsolute" property for attribute of type DevString in order to achieve my objective.

I'm writing the device server in java.

Regards,
Ganesh Jangir
Hi Ganesh

For types DevBoolean, DevState and DevString there is no criteria to set.
For DevString, if at least one char has changed, a change event is sent.
Regards

Hi Pascal,

Thanks for your prompt response.

Regards,
Ganesh Jangir
Edited 8 years ago
 
Register or login to create to post a reply.