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. Invalid Data Type In Object Account

Invalid data type in object Account

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 Xanders08 , 30 April, 2020
Forums
Gurux.DLMS

I reading from meter 15 attribute Account and use for it function from GXDLMSReader is ReadDLMSPacket, but in result i have exception Invalid data type.
When i read info from object Account in GXDLMSDirector, then i have exception too.
In GXDLMSDirector on tab Access rights 15 attribute is AccountClosureTime, but 15 attribute in DLMS Blue Book 12th edition for object Account is Structure Currency. This error or not? And if this error, then it's will be repaired?

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

The description is wrong. Can you read attribute 15 and add bytes to here? I'll check the bytes.

BR,

Mikko

Xanders08

6 years 1 month ago

TX: 7E A0 19 03 0F 54 7C 67

TX: 7E A0 19 03 0F 54 7C 67 E6 E6 00 C0 01 C1 00 6F 00 00 13 00 00 FF 0F 00 46 18 7E

In ReplyData (second param in ReadDLMSPacket) property Data have "{02 03 0C 03 6B 57 68 0F FE 16 01}" value have null and exception on this function ReadDLMSPacket is "Invalid data type"

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

In the future return all frames, but meter returns invalid data. This is not correct.
02 03 0C 03 6B 57 68 0F FE 16 01

Ask your meter manufacturer to fix it.

BR,

Mikko

Xanders08

6 years 1 month ago

Hi,

Hi,

Why it's not correct? In DLMS BlueBook 12th edition 15 attribute Currency, and attribute have this structure by BlueBook:
currency ::= structure
{
currency_name: utf8-string,
currency_scale: integer,
currency_unit: enum
}

It is not correctly?

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

currency_name should be utf8-string, not octet-string.

BR,
Mikko

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

You are right. There is an error. I check the wrong bytes. This is now fixed and the new version is released today.

BR,
Mikko

Xanders08

6 years 1 month ago

Yes, octet_string is 0x09,

Ok, thanks for help

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,
This is now fixed. Restart GXDLMSDirector and update it to the new version.

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