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 6 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 6 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 6 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 6 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

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin