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

  • 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

Who's new

  • Peraturaidetetug
  • NnmIomcqcTDVWiDuCD
  • iRnseovnShdVWR…
  • HgGuaAJJjTLjzz…
  • HYpmSpMsbgNghuph
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin