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. Question In Function ReadRowsByEntry In GXDLMSClient.cpp

Question in function ReadRowsByEntry in GXDLMSClient.cpp

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 gunmox , 25 March, 2018
Forums
Gurux.DLMS

Hello everyone

According to the DLMS/COSEM Blue Book Ed 12th, section 4.3.6 Profile generic, for the selective access parameters the numbering of entries and selected values starts from 1. But in the ReadRowsByEntry function, of the GXDLMSClient.cpp file, it is shown that the column starts at 0 and not at 1 for the SN context:

if (GetUseLogicalNameReferencing())
{
tmp = 1;
GXHelpers::SetData(buff, DLMS_DATA_TYPE_UINT16, tmp);
}
else
{
tmp = 0;
GXHelpers::SetData(buff, DLMS_DATA_TYPE_UINT16, tmp);
}

For both the SN and the LN context, the value of the variable tmp should not always be 1?

Regards Cristian

Profile picture for user Kurumi

Kurumi

8 years 2 months ago

Question in function ReadRowsByEntry in GXDLMSClient.cpp

Hi Cristian,

Standard says that value should be 1. We are reading one meter that was expecting that value was 0. I check this yesterday and that is now fixed for the firmware of the meter.

We'll change this to 1 also when short name referencing is used.

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin