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 ?
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 ?
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.
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.
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.
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.
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
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
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
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
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
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
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…
Thank you for the log from
Thank you for the log from CTT tool.
Probably, I misunderstood the format of this field.
Regards,
Vitaly
Hi Vitaly,
Hi Vitaly,
I'm glad if this is a little bit more clear now and you can solve your problem.
BR,
Mikko