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. Gurux.DLMS Python (proposedConformance)

Gurux.DLMS Python (proposedConformance)

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 HERO , 18 August, 2020
Forums
Gurux.DLMS

Hi,

I am working with Gurux.DLMS Python for electric meter. I am trying to set Conformance but It couldn't set to the wanted values.

I add this part in the code:
self.client.proposedConformance = Conformance.ACTION | Conformance.EVENT_NOTIFICATION | Conformance.SELECTIVE_ACCESS | Conformance.SET | Conformance.GET | Conformance.MULTIPLE_REFERENCES | Conformance.BLOCK_TRANSFER_WITH_ACTION | Conformance.BLOCK_TRANSFER_WITH_SET_OR_WRITE | Conformance.BLOCK_TRANSFER_WITH_GET_OR_READ | Conformance.ATTRIBUTE_0_SUPPORTED_WITH_GET | Conformance.PRIORITY_MGMT_SUPPORTED | Conformance.ATTRIBUTE_0_SUPPORTED_WITH_SET

The output:
aarqRequest
TX: 20:49:50 7E A0 2C 02 21 21 10 17 2A E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 80 10 FF FF 37 5B 7E
RX: 20:49:50 7E A0 38 21 02 21 30 84 D4 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 00 10 04 C8 00 07 DE 6D 7E
------------
<HDLC len="43" >
<TargetAddress Value="144" />
<SourceAddress Value="16" />
<!--AARQ frame.-->
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="6" />
<ProposedConformance>
<ConformanceBit Name="Get" />
<ConformanceBit Name="Attribute0SupportedWithSet" />
</ProposedConformance>
<ProposedMaxPduSize Value="65535" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>

###########################################################

The correct AARQ Request (I got it from the GXDLMSDirector software):

Send AARQ request.
TX: 7E A0 2C 02 21 21 10 17 2A E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7E
RX: 7E A0 2C 02 21 21 10 17 2A E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7E 7E A0 38 21 02 21 30 84 D4 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 19 04 C8 00 07 5C 76 7E
--------------------
<HDLC len="43" >
<TargetAddress Value="144" />
<SourceAddress Value="16" />
<!--AARQ frame.-->
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="6" />
<ProposedConformance>
<ConformanceBit Name="Action" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
</ProposedConformance>
<ProposedMaxPduSize Value="65535" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>

How Can be solved ?

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

There is a bug. I added an issue from this and this is fixed ASAP.
http://www.gurux.fi/node/16552

I know the reason so a new version is released soon.

BR,
Mikko

HERO

5 years 9 months ago

Hi,

Hi,

Yes.
The problem is solved with the update.

Thanks,

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Thank you from this info.

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