Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Generic Profile- GxGet With Selector=2: Different Behaviour On Cpp and Cimplementation

Generic Profile- gxGet with selector=2: different behaviour on cpp and cimplementation

By andale8592, 20 January, 2026
Forums
Gurux DLMS for ANSI C

Hi,
i see that the getting Generic Profile value using ReadRoiwbyEntry has different encoding parameters on cpp and c implementation, i am addressing to:
In cpp: https://github.com/Gurux/Gurux.DLMS.cpp/blob/master/development/src/GXD… it encodes the start index and count as UINT32.
Instead on the c implementation it expect thsoe values as UINT16: https://github.com/Gurux/GuruxDLMS.c/blob/8c4b2731ccad26af9b8cd6b5f486e…
I am missing something? Why that different behaviour?
Thanks,
Alessandro

Profile picture for user Kurumi

Kurumi

3 weeks 5 days ago

Hi Alessandro, In Ansi C…

Hi Alessandro,

In Ansi C code you shared, the column start and count indexes are read, not the row index and count. The row index and count are read earlier and saved to transactionStartIndex and transactionEndIndex.

BR,
Mikko

andale8592

3 weeks 5 days ago

Thanks, for detailed…

Thanks, for detailed response. Can you point where (in ansi-c) transactionStartIndex and transactionEndIndex are read?

andale8592

3 weeks 5 days ago

Maybe there ? https://github…

Maybe there ? https://github.com/Gurux/GuruxDLMS.c/blob/8c4b2731ccad26af9b8cd6b5f486e…

Profile picture for user Kurumi

Kurumi

3 weeks 4 days ago

Hi, Yes, that is the…

Hi,

Yes, that is the location where transactionStartIndex and transactionEndIndex are read.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Sun, 02/01/2026 - 19:47
    gurux.dlms.cpp 9.0.2602.0101
  • Tue, 01/20/2026 - 10:38
    gurux.dlms.java 4.0.89
  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87

New forum topics

  • Landisgyr meter
  • GxDateTime always return DayOfWeek as FF
  • Asynchronous support in Gurux DLMS stack (.NET)?
  • Multiple meter loop On OFF Problem
  • Python GXDLMSTranslator
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin