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. Conformance Issue

Conformance issue

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 rajacms , 23 February, 2021
Forums
General discussion

Dear Mikko

Please check following issue

associationNone.xDLMSContextInfo.conformance = (DLMS_CONFORMANCE)(DLMS_CONFORMANCE_GET | DLMS_CONFORMANCE_SET);

ProposedConformance - showing what i select in Gururx GXDLMSDirector

but NegotiatedConformance also same.

other meter coming like
NegotiatedConformance = (associationNone.xDLMSContextInfo.conformance & ProposedConformance)

NegotiatedConformance =(DLMS_CONFORMANCE)(DLMS_CONFORMANCE_GET | DLMS_CONFORMANCE_SET);

3: 7E A0 2B 03 21 10 FB AF 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
<HDLC len="2A" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<!-- AARQ frame. -->
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Action" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>
4: 7E A0 37 21 03 30 6C 7C 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 1E 1D 02 00 00 07 7A ED 7E
<HDLC len="36" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<!-- AARE frame. -->
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Action" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="0200" />
<VaaName Value="0007" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

The client proposes conformance and the meter will tell what conformance it will support.
There might different conformance for each of the associations. For this reason, negotiated conformance is updated internally on the server-side.

Please, set conformance only for the association and let the framework do the rest.¨
Like this:
associationNone.xDLMSContextInfo.conformance = DLMS_CONFORMANCE_GET;

BR,
Mikko

rajacms

5 years 3 months ago

Dear Mikko,

Dear Mikko,
This is conformance test failed issue we based

T_APPL_OPEN_13
0/0, ServerSAP = 1, ClientSAP = 16, LONG_NAMES, NO_SECURITY
1: Propose all services and capabilities in line
with the application context FAILED(Association could not be established)

Yellow book Test case for your reference

Subtest 1: Propose all possible services
Send an AARQ APDU with proposed-conformance = all possible services (including SN and LN services). Expect an AARE APDU.
Check the relevant fields of the AARE APDU. If:
• the result field is not Association-result = accepted (0); or
• the result-source-diagnostic field is not Associate-source-diagnostics = acse-service-user or the value is not null (0); or
• the negotiated-conformance is not equal to the conformance block declared in the CTI
the verdict is FAILED.
Release the AA.

Connected PC association gurux dlms c library request response:
already set this in PC association
associationNone.xDLMSContextInfo.conformance = (DLMS_CONFORMANCE)(DLMS_CONFORMANCE_GET | DLMS_CONFORMANCE_SET);
(AARQ response - T_APPL_OPEN_13 failed )

TX: 7E A0 07 03 21 93 0F 01 7E
16:46:06
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
16:46:06 Send AARQ request.
TX: 7E A0 2B 03 21 10 FB AF 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
16:46:06
RX: 7E A0 37 21 03 30 6C 7C 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 1E 1D 02 00 00 07 7A ED 7E

*******************
Other Meter request response :(AARQ response - T_APPL_OPEN_13 passed)

7E A0 07 03 21 93 0F 01 7E

7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

7E A0 2B 03 21 10 FB AF 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 60 FE DF FF FF DE 4E 7E

7E A0 37 21 03 30 6C 7C 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 10 10 02 00 00 07 AC A8 7E

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

There is one row missing from the example server. It's updated and the new version is released shortly.
I'm sorry for this hassle. I was testing this with a different server and not with the example server.
I created an issue from this.
http://gurux.fi/node/17948

BR,
Mikko

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

The new version is released where this is fixed.
Find this line:
settings->proposedConformance = a->xDLMSContextInfo.conformance;

It'll fix this.

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