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. DLMS/COSEM Yellow Book Tests

DLMS/COSEM Yellow Book Tests

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 hugoabreu1002 , 22 October, 2019
Forums
DLMSDirector

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.

regards,

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

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

hugoabreu1002

6 years 7 months ago

Hi again.

Hi again.

I wonder if you have disponible a way of easily mapping those test cases to equivalent YellowBook Tables or secctions.

Profile picture for user Kurumi

Kurumi

6 years 7 months ago

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

meterrick

6 years 3 months ago

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

Profile picture for user Kurumi

Kurumi

6 years 3 months ago

Hi,

Hi,

Gurux DLMS Conformace tests are now integrated to GXDLMSDirector.

http://www.gurux.fi/gurux.dlms.ctt.tests

BR,
Mikko

trgv

2 years 10 months ago

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

Profile picture for user Kurumi

Kurumi

2 years 9 months ago

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

trgv

2 years 9 months ago

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

trgv

2 years 9 months ago

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.

Profile picture for user Kurumi

Kurumi

2 years 9 months ago

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

trgv

2 years 9 months ago

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.

trgv

2 years 9 months ago

Can we use a different…

Can we use a different communication channel? Your forum is very inconvenient.
Mail me, please.

Profile picture for user Kurumi

Kurumi

2 years 8 months ago

Hi, I have sent the email to…

Hi,

I have sent the email to you.

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