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. Regarding The Dlms Android Project

Regarding the dlms android project

By atuldd , 7 May, 2025
Forums
Gurux DLMS for Android

Subject: Unable to Parse Billing Profile Data (1.0.98.1.0.255) – Show Trace vs. Normal Output

Hi Team,

I'm currently able to read data from the meter using the billing profile object 1.0.98.1.0.255. However, I’m having difficulty parsing the actual values from the response.

With "Show Trace" enabled, I receive raw frame data like:
mathematica
<- 18:34:31.573 7E A0 19 03 41 32 3A BD E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 01 00 17 A7 7E
-> 18:34:31.700 7E A0 18 41 03 52 9F 04 E6 E7 00 C4 01 C1 00 09 06 01 00 62 01 00 FF 58 FA 7E
<- 18:34:31.705 7E A0 19 03 41 54 0A BB E6 E6 00 C0 01 C1 00 07 01 00 62 01 00 FF 03 00 A7 94 7E
-> 18:34:32.004 7E A8 89 41 03 74 FF E8 E6 E7 00 C4 02 C1 00 00 00 00 01 00 82 03 F2 01 64 02 04 12 00 03 09 06 00 00 00 01 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 02 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 09 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 0A 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 00 FF 0F 02 12 00 00 02 04 12 6C 00 7E
<- 18:34:32.011 7E A0 07 03 41 71 46 A0 7E
<- 18:34:37.019 7E A0 07 03 41 71 46 A0 7E
-> 18:34:37.275 7E A8 89 41 03 76 ED CB 00 03 09 06 01 00 06 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 07 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 08 08 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 00 00 5E 5B 0D FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 0D 00 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 54 00 00 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 09 08 01 FF 0F 02 12 00 00 02 04 12 00 03 1B F8 7E
<- 18:34:37.284 7E A0 07 03 41 91 48 47 7E
-> 18:34:37.498 7E A8 89 41 03 78 93 22 09 06 01 00 09 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 09 08 03 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 09 08 04 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 09 08 05 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 03 FF 0F 02 12 00 00 02 04 12 00 03 09 06 6C 2B 7E
<- 18:34:37.508 7E A0 07 03 41 B1 4A 66 7E
-> 18:34:37.737 7E A8 89 41 03 7A 81 01 01 00 01 08 04 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 01 08 05 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 01 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 02 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 03 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 04 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 05 08 05 FF 0F 02 12 00 00 02 04 12 00 03 09 06 01 00 16 BF 7E

This confirms that data is being received, but it’s in raw frame format, which is hard to interpret directly.

Without "Show Trace", I get the following output:

1.0.98.1.0.255
Ch. 0 Data of billing period Scheme 1 #1 Unspecified number of most recent billing periods
------------------------------------------------------------------
1.0.98.1.0.255
------------------------------------------------------------------
[Ljava.lang.Object;@1f38510
------------------------------------------------------------------
[gurux.dlms.GXSimpleEntry@19ab809, gurux.dlms.GXSimpleEntry@2e94a0e, ...]
Instead of the actual billing values like B1, B2, timestamps, or readings, I’m only getting references to GXSimpleEntry objects.

My Questions:
How can I extract or decode the actual values from these GXSimpleEntry objects?

Is there a method or utility in the Gurux library to convert them into readable format (e.g., timestamps, kWh values)?

What’s the best way to loop through and access individual fields like bi, timestamp, etc.?

Profile picture for user Kurumi

Kurumi

1 year 1 month ago

Hi, Get the latest version…

Hi,

Get the latest version from the Android example. Profile generic UI is improved.

BR,
Mikko

atuldd

1 year 1 month ago

hai sir i have downloaded…

hai sir i have downloaded the latest version
can i know the steps and procedure for billing profile to get the data from the meter

i tried to read with 1.0.98.1.0.255
i am getting Ch. 0 Data of billing period scheme #1 Unspecified number of most recent billing periods Toast

Profile picture for user Kurumi

Kurumi

1 year 1 month ago

Hi, Check this: https:/…

Hi,

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

Select Read from the top menu. It will read all other attributes except buffer.

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