TargetType defines the changed items. GXDLMSDirector UI doesn't use it, but it's used to notify when ex. device state changes.
It's handy when you have a small number of meters to notify when the value or state is changed, but if you have lots of meters it might cause extra traffic.
And the way to understand what TargetType responses is just to look into sources?
No any description?
As an example:
For devices request we should use
None = 0, - just devices
Device = 2,
Object = 4, - devices with object information
Attribute = 8, - objects + attributes
Value = 16, - objects+attributes+values
Tasks = 32, - is only for tasks request or for devices too?
Error = 64, - is used in any controller?
SystemError = 128,
Schedule = 256, - just for schedule requests?
Readers = 512,
DeviceTemplate = 1024, - for templates requests?
ObjectTemplate = 2048, - to request a certain object?
AttributeTemplate = 4096 - to requests a certain attribute?
Hi,
Hi,
TargetType defines the changed items. GXDLMSDirector UI doesn't use it, but it's used to notify when ex. device state changes.
It's handy when you have a small number of meters to notify when the value or state is changed, but if you have lots of meters it might cause extra traffic.
BR,
Mikko
And the way to understand
And the way to understand what TargetType responses is just to look into sources?
No any description?
As an example:
For devices request we should use
None = 0, - just devices
Device = 2,
Object = 4, - devices with object information
Attribute = 8, - objects + attributes
Value = 16, - objects+attributes+values
Tasks = 32, - is only for tasks request or for devices too?
Error = 64, - is used in any controller?
SystemError = 128,
Schedule = 256, - just for schedule requests?
Readers = 512,
DeviceTemplate = 1024, - for templates requests?
ObjectTemplate = 2048, - to request a certain object?
AttributeTemplate = 4096 - to requests a certain attribute?
Hi,
Hi,
https://github.com/Gurux/Gurux.DLMS.AMI/blob/master/Gurux.DLMS.AMI.Mess…
Note! This is a flag, so several bits might be set.
If a new device is changed or added Device flag is set. If new schedule is added Schedule is set.
BR,
Mikko