Hello, I'm working in a project that requests the preparation of some Test Cases of General DLMS Meters, I have to translate those test cases to a Gurux-like manual.
We are actually using the Yellow Book 6th Edition.
So, I'm asking to know if anyone has already implemented Yellow Book Test Cases using gurux, I know the existence of Conformance Test in Gurux and that you can use some XML to make tests too, but it is quite obscure for me the link with DLMS Yellow Book.
GXDLMSDirector implements some of the test cases. Then there are additional test cases. All COSEM objects are tested as DLMS CTT. HDLC tests are also implemented as CTT 3.1.
Hi,
Your tests do not meet the Yellow Book tests. Starting with the first HDLC test. I can describe the tests with examples of requests and responses. If there is a desire...
Can you describe a little bit what you think doesn't meet?
Those test has been there a few years and I know that there are lots of new tests that aren't implemented.
If you let me know the missing test cases those can be added.
So. As you say, the C library is more relevant than C++.
Here are the test results with the C library (reference DLMS UA 1001-1 Ed. 5.0 V 1.0):
HDLC_FRAME_N4
RESULT: FAILED.
HDLC_ADDRESS_N1
RESULT: FAILED.
HDLC_INFO_N2
RESULT: FAILED.
HDLC_INFO_N3
RESULT: FAILED.
APPL_IDLE_N1
RESULT: FAILED.
APPL_OPEN_1
RESULT: FAILED.
APPL_OPEN_3
RESULT: FAILED.
APPL_OPEN_4
RESULT: FAILED.
APPL_OPEN_6
RESULT: FAILED.
APPL_OPEN_7
RESULT: FAILED.
APPL_OPEN_12
RESULT: FAILED.
APPL_OPEN_13
RESULT: FAILED.
APPL_OPEN_14
RESULT: FAILED.
APPL_DATA_LN_N1
RESULT: FAILED.
APPL_DATA_LN_N3
RESULT: FAILED.
APPL_DATA_LN_N4
RESULT: FAILED.
Hi,
Hi,
GXDLMSDirector implements some of the test cases. Then there are additional test cases. All COSEM objects are tested as DLMS CTT. HDLC tests are also implemented as CTT 3.1.
https://www.gurux.fi/GXDLMSDirector.ConformanceTest
BR,
Mikko
Hi again.
Hi again.
I wonder if you have disponible a way of easily mapping those test cases to equivalent YellowBook Tables or secctions.
Hi,
Hi,
HDLC and Application test are mapped almost directly. You should check this:
https://www.gurux.fi/gurux.dlms.ctt.tests
If you compare test cases, for example HDLC Conformance Tests #1 and CCT HDLC_FRAME_P1 you can see the mapping.
BR,
Mikko
Hi
Hi
For Application Conformance Tests, gurux.dlms.ctt.tests only list 4 test cases, where can I find other description of test cases?
BR
rick
Hi,
Hi,
Gurux DLMS Conformace tests are now integrated to GXDLMSDirector.
http://www.gurux.fi/gurux.dlms.ctt.tests
BR,
Mikko
Hi, Your tests do not meet…
Hi,
Your tests do not meet the Yellow Book tests. Starting with the first HDLC test. I can describe the tests with examples of requests and responses. If there is a desire...
Hi, Can you describe a…
Hi,
Can you describe a little bit what you think doesn't meet?
Those test has been there a few years and I know that there are lots of new tests that aren't implemented.
If you let me know the missing test cases those can be added.
BR,
Mikko
For our devices, I have made…
For our devices, I have made changes to your library. Now it corresponds to YB tests up to APPL_COSEM
I could do PR from my fork,…
I could do PR from my fork, but you don't accept them. So I decided to do it for my own purposes without notifying you.
Hi, May I ask what…
Hi,
May I ask what programming language you are using?
ANSI C will pass all Yellow Book tests.
Java, c#, ANSI C++ and python don't pass, because they are usually used in client-side applications.
What Yellow Book version you are using?
It's possible that your changes are accepted, but we must audit and test all the changes first.
BR,
Mikko
So. As you say, the C…
So. As you say, the C library is more relevant than C++.
Here are the test results with the C library (reference DLMS UA 1001-1 Ed. 5.0 V 1.0):
HDLC_FRAME_N4
RESULT: FAILED.
HDLC_ADDRESS_N1
RESULT: FAILED.
HDLC_INFO_N2
RESULT: FAILED.
HDLC_INFO_N3
RESULT: FAILED.
APPL_IDLE_N1
RESULT: FAILED.
APPL_OPEN_1
RESULT: FAILED.
APPL_OPEN_3
RESULT: FAILED.
APPL_OPEN_4
RESULT: FAILED.
APPL_OPEN_6
RESULT: FAILED.
APPL_OPEN_7
RESULT: FAILED.
APPL_OPEN_12
RESULT: FAILED.
APPL_OPEN_13
RESULT: FAILED.
APPL_OPEN_14
RESULT: FAILED.
APPL_DATA_LN_N1
RESULT: FAILED.
APPL_DATA_LN_N3
RESULT: FAILED.
APPL_DATA_LN_N4
RESULT: FAILED.
Can we use a different…
Can we use a different communication channel? Your forum is very inconvenient.
Mail me, please.
Hi, I have sent the email to…
Hi,
I have sent the email to you.
BR
Mikko