Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. POST Requests - TargetTypes

POST requests - TargetTypes

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Valeriy , 15 May, 2020
Forums
Gurux.DLMS.AMI

Hello all!
Is there any description about TargetTypes in requests?
What is used to get what?

None = 0,
Device = 2,
Object = 4,
Attribute = 8,
Value = 16,
Tasks = 32,
Error = 64,
SystemError = 128,
Schedule = 256,
Readers = 512,
DeviceTemplate = 1024,
ObjectTemplate = 2048,
AttributeTemplate = 4096

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

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

Valeriy

6 years 5 months ago

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?

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
More

Who's new

  • hezhangnihao@163.com
  • ZilvinasN
  • Yosr
  • albino.ramon
  • JosepM
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin