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. GetAssociationView Error

GetAssociationView Error

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 simtheo , 8 August, 2019
Forums
Gurux.DLMS

Hi. I'm trying to create a simple C# Meter client, but after the connection configuration I have an error on GetAssociationView request. The message exception returned it's the seguent:

Gurux.DLMS.GXDLMSException: Access Error : Device reports a unavailable object.
in Gurux.DLMS.Reader.GXDLMSReader.ReadDLMSPacket(Byte[] data, GXReplyData reply) in ...

Thank for your support.

BR

MatteoS

Profile picture for user Kurumi

Kurumi

6 years 10 months ago

Hi,

Hi,

What meter did you try to read?

BR,

Mikko

simtheo

6 years 10 months ago

Hi MIkko, thanks for your

Hi MIkko, thanks for your answer.
The meter model is: MESURA G4 PRODIGI, based on italian standard meter units11291.

BR

MatteoS

Profile picture for user Kurumi

Kurumi

6 years 10 months ago

Hi,

Hi,

There might be a few reasons for this.
1. If you are using the pre-established connection, Italy meters don't always support Association View.
You must know what you want to read.
2. Association View is not implemented to the meter.
3. Some Italy meters don't implement "Current Association View" OBIS code 0.0.40.0.0.255. This is breaking DLMS standard, but for this reason, you can give OBIS code to GetObjectsRequest as a parameter. Change * in 0.0.40.0.*.255 to authentication level index number what you are using.

There are no conformance tests for the Italy standard. This is causing that there are variations between meter manufacturers.

BR,

Mikko

simtheo

6 years 9 months ago

In reply to Hi, by Kurumi

Thanks Mikko: you are right.

Thanks Mikko: you are right. Association view isn't implemented into italian meter.
In my case, I don't need the association view.

Now I have another problem: I tried to read a specific OBIS using my C# software; the meter answered "Invalid command", but if I try to read that OBIS using GXDLMSDirector, It works correctly.
I checked the DLMS messages printed into the GXDLMSDirector log and compared them with the ones generated by my software, and I found a little bit difference. I used the Gurux read method, the same used by the Director, with the same objects, but the message is different.
- This is the messages generated by the Director
7E A0 2D 03 03 10 E2 F4 E6 E6 00 DB 00 1E 30 00 00 00 01 D3 9D D6 A2 8B 50 C8 44 E6 9C BA DA 1F 6A 84 0B 59 0F 11 15 1C 6C 93 42 10 C7 C7 7E

- This is the messages generated by my program
7E A0 2D 03 03 10 E2 F4 E6 E6 00 DB 00 1E 30 00 00 00 01 D3 9D D6 A2 85 50 C8 44 E6 9C BA DA 1F 67 84 0C E6 27 85 FD A4 43 5F 90 0D CB 86 7E

Do you have any suggestion?
Thanks for your support.

BR

MatteoS

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi,

Hi,

Check following settings: System Title, Block Cipher Key, Authentication key and ServerSystemTitle.
Encrypted data is the same in both of the messages. Authentication part if different.

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