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 1 month 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 1 month 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 1 month 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, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin