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. Invocation Counter Problem In Arduino Code

Invocation Counter problem in Arduino code

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 fakehi , 1 January, 2023
Forums
Gurux.DLMS

Hello
I have successfully made a dlms server using your GuruxDLMS.c arduino code on mega2560. Fortunately, HighGMAC is presented in your recent arduino release but unfortunately, the Invocation Counter object presented in this code returns no data so I cannot connect to the MDM or GuruxDLMSDirector with automatic read option of this counter. Would you please help me fix this problem?

Sincerely Yours
Amir Hossein Fakehi

Profile picture for user Kurumi

Kurumi

3 years 5 months ago

Hi,

Hi,

HighGMAC doesn't require invocation counter reading. Change authentication for HighGMAC and set client address to 1 and you can connect for the meter.

I tested this with settings:
-S COM3 -c 1 -a HighGMAC -P Gurux -t Verbose

BR,
Mikko

fakehi

3 years 5 months ago

Thanks dear Mikko. Yes, that

Thanks dear Mikko. Yes, that works, but unfortunately I am currently working on a project which has a mdm sever which reads invocation counter and when I make general examples on PC, the invocation counter is present and working, but in arduion code example, the Invocation counter is presented but does not work and returns no data, How can I make such improvement in the arduino code to make it functioning as well as PC code examples? Is there anything missing in the arduino code in comparison with the examples?

Sincerely yours

  • 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