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. Test Case Failed While Proposed-dlms-version-number = 7

test case failed while proposed-dlms-version-number = 7

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

Hi Mikko,
T_APPL_OPEN_12: proposed-dlms-version-number = 7 :FAILED(Association could not be established)
test case failed while CTT Test.

Yellow book says that
The IUT shall accept only AAs with proposed-dlms-version-number > 6.
The negotiated-dlms-version-number shall be = 6.

in code i checked this:
we assigned in the code : it->xDLMSContextInfo.dlmsVersionNumber = 6;
if (settings->base.dlmsVersionNumber < 6)
{
xxx
}
I did not find check for if, version is greater than or equal to 6.
Please help me on this test case? how can i achieve this.

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

This is handled automatically by the framework. GXDLMSDiretor's AppTest12 tests this. Can you add sent and received bytes here so I can check this? Or can you send the results file to me by email so I can check what is the problem?

BR,
Mikko

Ashok_Chowdary

5 years 3 months ago

Hi Mikko,

Hi Mikko,
i tried this by using DLMS CTT tool also,
here dlms-version-number 5 this test is passed,
COSEM Application tests #12 succeeded with DMLS version 5.
COSEM Application test #12 passed.
I think here it is not checked with with version 7

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi Ashok,

Hi Ashok,

Our stack is passed the DLMS CTT tests, but I verified this from the yellow book this and you are right.
This is now fixed and the new version is released today.

BR,
Mikko

Ashok_Chowdary

5 years 3 months ago

Hi Mikko,

Hi Mikko,
Thank you for Reply,
New version OF ANSI-C released?

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

We have change this for ANSI C, but what is your CTT version. This is tested with
CTT 3.1 standard edition, 64bits, release 106
and it passed the test. I need to check that we don't break anything.
What is your version?

BR,
Mikko

Ashok_Chowdary

5 years 3 months ago

Hi Mikko,

Hi Mikko,
Thanks for reply,
we are using the CTT Version is: CTT 3.1 standard edition, 64bits, release 107

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi Ashok,

Hi Ashok,

I have study this more and now I'm not sure why this fails. It has pass DLMC CTT test version 106 and in Yellow book says this:

Do Establish a confirmed AA with the parameters declared but with AARQ.userinformation carrying InitiateRequest.proposed-dlms-version-number = 7.
FAILED if the procedure fails or the negotiated DLMS version is not equal to 6.

Negotiated DLMS version number is changed to 6 and it is returned.

It might be that if this is changed, it will no longer pass the DLMC CTT tests with older versions.

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