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.
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?
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
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.
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?
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.
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
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
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
Hi Mikko,
Hi Mikko,
Thank you for Reply,
New version OF ANSI-C released?
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
Hi Mikko,
Hi Mikko,
Thanks for reply,
we are using the CTT Version is: CTT 3.1 standard edition, 64bits, release 107
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