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. Rejected-permanent With Electricity Meter

Rejected-permanent with electricity meter

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 Mihai Enuta , 21 November, 2018
Forums
General discussion

Hi!

I am trying to connect to a meter (which is in server mode, as I understand it should be) using DMLS director. And whatever I try, I keep getting rejected.

What I send:
0001000B0001001F601DA109060760857405080101BE10040E01000000065F1F040060FEDFFFFF
decoded:
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="EventNotification" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Access" />
<ConformanceBit Name="DataNotification" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="Attribute0SupportedWithGet" />
<ConformanceBit Name="PriorityMgmtSupported" />
<ConformanceBit Name="Attribute0SupportedWithSet" />
<ConformanceBit Name="GeneralBlockTransfer" />
<ConformanceBit Name="GeneralProtection" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>

What I get: 00010001000B002B6129A109060760857405080101A203020101A305A1030201FFBE10040E0800065F1F040000181F00800007
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="01" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="FF" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="EventNotification" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="0080" />
<VaaName Value="0007" />
</InitiateResponse>
</AssociationResponse>

What am I doing wrong, here?
The diagnostic info from the meter is not very helpful.

Thank you!

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

Rejected-permanent with electricity meter

Hi,

What meter did you try to read? Returned Associate-source-diagnostic is invalid and it is not in the standard.
You should ask this from the meter manufacturer and ask them to fix this. Reason for the failure might be anything.

BR,

Mikko

Mihai Enuta

7 years 6 months ago

Rejected-permanent with electricity meter

The meter is a Ningbo Sanxing Electric Co.,Ltd SX5A2-SELS-04. It has a DMLS User Association Certification number 1248.
I also suspected they are not according to standard since Gurux and also Wireshark dissector are failing to read any of their responses.
Weird they have this certification that they passed DLMS/Cosem Conformance test.

Thank you for helping!

Profile picture for user Kurumi

Kurumi

7 years 6 months ago

Rejected-permanent with electricity meter

Hi,

One thing what you can try to do is change server address 1 and client address 10. Now it is 11 (0xB).

BR,

Mikko

Mihai Enuta

7 years 6 months ago

Unfortunately the result is

Unfortunately the result is the same:
0001000A0001001F601DA109060760857405080101BE10040E01000000065F1F040060FEDFFFFF

00010001000A002B6129A109060760857405080101A203020101A305A1030201FFBE10040E0800065F1F040000181F00800007

I tried several combinations of client and server address, without success.
I think only the manufacturer can help, if they are willing.

Thank you for your support!

Profile picture for user Kurumi

Kurumi

7 years 4 months ago

Rejected-permanent with electricity meter

Hi,

I checked meter reply and it's not correct. ResultSourceDiagnostic is 0xFF. This value is not correct. Standard defines values from 0 to 14. So there is an issue on the meter.

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