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

4 months 3 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

4 months 3 weeks ago

Thanks, for detailed…

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

andale8592

4 months 3 weeks ago

Maybe there ? https://github…

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

Profile picture for user Kurumi

Kurumi

4 months 3 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, 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