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. Node
  3. 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

9 months 2 weeks 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

9 months 2 weeks ago

Thanks, for detailed…

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

andale8592

9 months 2 weeks ago

Maybe there ? https://github…

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

Profile picture for user Kurumi

Kurumi

9 months 2 weeks 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

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin