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. InvkeID and Priority

InvkeID and Priority

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 Nico , 12 June, 2017
Forums
Gurux DLMS for Java

Hello,

I have a question regarding the Invoke_ID and Priority usage in latest Gurux version.

In the GXDLMS.java / getLNPdu(), the following code suggests that a zero (InvokeId+Priority) must be initialized:

if (p.getInvokeId() != 0) {
reply.setUInt8((byte) p.getInvokeId());
} else {
reply.setUInt8(getInvokeIDPriority(p.getSettings()));
}

It is initialized in my case t 0xC1(Priority.HIGH+ServiceClass.CONFIRMED), which is fine.

However, I find that the behaviour may not be correct since:
- a Zero (InvokeId+Priority) is, I think, legitimate -> but it will be forced to another value
- Priority calculation behaviour depends on the InvokeID value - although their not related

What do you think ?
- Should the Priority be calculated if it is Zero in the request ?
- If so, should this initialization be done independently of the invokeID value (look only at the Priority part of the uint8) ?

Thanks

Nico

Profile picture for user Kurumi

Kurumi

8 years 12 months ago

InvokeID and Priority

Hi,

Idea of this is that you can change invoke ID or priority for each message if needed.
This can be used for Priority management.
If value is zero Invoke ID and Priority is get from server settings. This is normal case.

I change comment so that it's describes that invoke ID and priority are both added.

BR,

Mikko

velane23

7 years 2 months ago

setting InvokeIdAndPriority, ClassId, InstanceId and AttributeId

Sir,
When I try to read Wisdom meter configured for Indian standard, the meter responds for the following request.

<InvokeIdAndPriority Value="129" />
<AttributeDescriptor>
<!--PROFILE_GENERIC-->
<ClassId Value="7" />
<!--1.0.99.1.0.255-->
<InstanceId Value="0100630100FF" />
<AttributeId Value="3" />
But, when I use Gurux, the request sent is as follows:
<InvokeIdAndPriority Value="193" />
<AttributeDescriptor>
<!--ASSOCIATION_LOGICAL_NAME-->
<ClassId Value="15" />
<!--0.0.40.0.0.255-->
<InstanceId Value="0000280000FF" />
<AttributeId Value="2" />

Hence meter could not be associated and reporting as undefined object.
Pl. help me to set InvokeIdAndPriority, ClassId, InstanceId and AttributeId

Thank you

velane23

7 years 2 months ago

Invoke id and priority id

It is understood that the device does not provide object table and we have to enter manually. Hence the above

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

Dear Sir,

Dear Sir,

Please, if you have a new question, create a new topic.

Change CONFIRMED ServiceClass to UN_CONFIRMED.

cl.setServiceClass(ServiceClass.UN_CONFIRMED);

BR,

Mikko

velane23

7 years 1 month ago

Thank you, Sir

Thank you, Sir

  • 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