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. Read All The Rows For Billing Profile

Read All the Rows for Billing Profile

By SmartMeterAndroid, 27 August, 2024
Forums
Gurux DLMS for Android

Hi

Currently we are using readrowbyrange() is getting single row value.

We need to read all the row values. What api can i use for this?

Kindly help here.

Your response is much appreciated.

Profile picture for user Kurumi

Kurumi

9 months 3 weeks ago

Hi, You can use normal read…

Hi,

You can use normal read to that.
GXDLMSProfileGeneric pg = new GXDLMSProfileGeneric();

Read(pg, 2);

Check also this:
https://gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

BR,
Mikko

SmartMeterAndroid

9 months 3 weeks ago

We are getting still single…

We are getting still single row object only.

var cells: Array<Any?>? = arrayOf(read(obj, 2)); //Object[1]
for (rows: Any? in cells!!) {
}

Profile picture for user Kurumi

Kurumi

9 months 3 weeks ago

Hi, Access rows using Buffer…

Hi,

Access rows using Buffer:
obj.getBuffer();

The meter returns all rows when you are calling the read.

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/17/2025 - 13:03
    Gurux.DLMS.Python 1.0.182
  • Wed, 06/04/2025 - 13:35
    gurux.dlms.c 9.0.2506.0401
  • Fri, 05/30/2025 - 08:30
    gurux.dlms.c 9.0.2505.3001
  • Tue, 05/27/2025 - 08:10
    Gurux.Serial.Android 2.0.12
  • Mon, 05/26/2025 - 08:39
    gurux.dlms.c 9.0.2505.2601

New forum topics

  • Day profile action item add error (String is not recognized as valid DateTime value)
  • Create gateway protocol in c
  • Error while reading event log object
  • GXDLMS Simulator – AssociationLogicalName Not Listed
  • Failed to read meter through raspberry pi 5 and probe
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin