Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Protocol Version In Conformance Test.

Protocol Version in conformance test.

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 VitalyP, 15 November, 2021
Forums
DLMSDirector

Hello, Mikko

Can you explain, why do you use "100001" bit string as value for "protocol version" field of AARQ in conformance testing ?
Conformance test APPL_OPEN_4 check for DLMS protocol version support.
DLMS Green Book assumes the only Version1 (0) have to be supported.
In my understanding it means verification for bit string "1" for "protocol version" field.
But you use "100001" bit string.
Why ?

Regards
Vitaly

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

100001 is used in T_APPL_OPEN_4 Subtest 1.
Protocol-version present and containing the version1 (default value is 100001).

From GB: In ISO/IEC 15954, protocol-version is mandatory in the AARQ and optional in the AARE.

CTT test will fail if the meter doesn't accept bit-string 100001.

BR,
Mikko

VitalyP

4 years 5 months ago

Hi,

Hi,

it's still unclear for me why default value is 100001 for version1.
This value mean, that bit 0 and bit 5 are set.
But GB define only bit 0 as version1.
Why bit5 is also set ?

BR,
Vitaly

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

Bits are defined on standard, but I can't remember the name of the standard at the moment.
But you must handle those bits or DLMS conformance test fails.

BR,
Mikko

VitalyP

4 years 5 months ago

Please, let me know if you

Please, let me know if you remember the document.

The yellow book, which is "DLMS/COSEM Conformance Testing Process" for APPL_OPEN_4 test says:
Expected result:
The IUT shall establish the proposed AA only if the protocol-version field is not present, or if it is present and its value is {version 1 (0)}. Otherwise, it shall reject the proposed AA and shall send back an AARE APDU with correct diagnostic information.

Please note, that version1 assumes only bit 0 is set.

Regards,
Vitaly

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi Vitaly,

Hi Vitaly,

This is the same sub-test that is in APPL_OPEN_4. This is the data that you are receiving in APPL_OPEN_4 when you are running the DLMS conformance tests and those bits are set.

BR,
Mikko

VitalyP

4 years 5 months ago

Hi, Mikko/

Hi, Mikko/

I receive "100001" bitstring in protocol version, i.e (5,0). While version 1 is (0). And the test have to expect (0), but not (5,0)

BR,
Vitaly

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi Vitaly,

Hi Vitaly,

You need to talk with DLMS UA about this. This is the PDU that the DLMS CTT tool sends.
This is a trace when you run the CTT tool. It's using WRAPPER, but PDU is the same.

CTT 3.1 extended edition, 64bits, release 109:

https://www.gurux.fi/GuruxDLMSTranslator?translate=00010010000100236021…

VitalyP

4 years 5 months ago

Thank you for the log from

Thank you for the log from CTT tool.
Probably, I misunderstood the format of this field.

Regards,
Vitaly

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi Vitaly,

Hi Vitaly,

I'm glad if this is a little bit more clear now and you can solve your problem.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 04/14/2026 - 11:47
    gurux.dlms.java 4.0.93
  • Mon, 04/13/2026 - 16:12
    gurux.dlms.java 4.0.92
  • Mon, 04/13/2026 - 11:39
    Gurux.DLMS.Net 9.0.2604.1301
  • Tue, 04/07/2026 - 17:17
    Gurux.DLMS.Python 1.0.197
  • Tue, 04/07/2026 - 15:03
    gurux.dlms.c 9.0.2604.0701

New forum topics

  • Connecting To iskrameco ME382- Single Phase Meter with Optical Probe
  • Create custom AARQ Request for encrypted communication
  • Issue when reading Itron Type620 meter
  • Handling Unexpected Disconnects
  • DLMS Communication Issue – No Response (L&T Meter via USB Probe)
More

Who's new

  • csmc2858
  • alokennedy
  • atei
  • marcel.mueller3
  • pospisil
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin