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. Invocation Counter Issue In Gurux DLMS Android App.

Invocation Counter Issue in Gurux DLMS android app.

By saraf_kshitiz , 14 November, 2024
Forums
Gurux DLMS for Android

Hello Kurumi Sir,

I need to connect/disconnect the meter multiple times, but getting issues with invocation counter as its value is incremented on every read value. Where should I use this function: updateFrameCounter() ?

Can you provide an alternate for this, where user can enter "Invocation Counter Data Object Logical Name" (for e.g. "0.0.43.1.1.255") ?

saraf_kshitiz

1 year 8 months ago

Hi @Mikko Kurumi Sir, I am…

Hi @Mikko Kurumi Sir,
I am expecting a response please.

Also, I have to show the data which is read from the meter, in a custom UI, so, how do I get the data which is being shown in fragment_read?

Please provide these solutions, sir.

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, You need to call…

Hi,

You need to call updateFrameCounter before you establish the connection to the meter. You need to modify this fragment for your needs to show the read value.

BR,
Mikko

saraf_kshitiz

1 year 8 months ago

Hi, okay, sir. I'll modify…

Hi, okay, sir. I'll modify the fragments according to our needs.

But, I'm not able to find the function - updateFrameCounter() in the Gurux Android Library. The link you provided - https://github.com/Gurux/gurux.dlms.java/blob/c6cdf87ba570ecb5c73b16901…
- is of the gurux.dlms.java library, not Gurux.DLMS.Android.

Please help.

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, Get the latest version…

Hi,

Get the latest version. updateFrameCounter is added to Android. You need just set the logical name of invocation counter.

mDevice.setInvocationCounter(LOGICAL_NAME);

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin