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

8 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

8 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

8 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

  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401
  • Tue, 05/13/2025 - 10:00
    Gurux.DLMS.Android 2.0.15
  • Fri, 05/09/2025 - 13:03
    Gurux.DLMS.Python 1.0.181
  • Wed, 05/07/2025 - 16:09
    Gurux.DLMS.Android 2.0.14

New forum topics

  • Long reading ends with "Invalid frame ..." error.
  • Push listener example how it works + tcp stream issue
  • Problem with reading energymeter Star DTS27 via GXDLMSDirector
  • Receiver Ready Test Failed
  • Combining several meters' profile generic data into one
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin