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. Forums
  3. HDLC_FRAME_P2: InterframeTimeout

HDLC_FRAME_P2: InterframeTimeout

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 PaulAdebo , 10 February, 2021
Forums
DLMSDirector

Hello,

Using the GXDLMSdirector to test my server application, the HDLC test #2 failed.
I am not sure why this test scheme failed.

Here is the Trace result from GXDLMSdirector

HDLC test #2. SNRM request
TX: 7E A0 07 03 21 93 0F 01 7E
RX: 7E A0 20 21 03 73 73 98 81 80 14 05 02 00 E6 06 02 00 E6 07 04 00 00 00 01 08 04 00 00 00 01 B5 F3 7E
SNRM request succeeded. MaxInfoLengthTransmit: 230 MaxInfoLengthReceive: 230 WindowSizeTransmit: 1 WindowSizeReceive: 1

HDLC test #2. Illegal frame.
TX: 7E A0 07 03 21 53 03 C7
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
Failed to receive reply from the device in given time.
Timeout.

HDLC test #2. Receiver Ready
TX: 7E A0 07 03 21 11 15 A6 7E
RX: 7E A0 07 21 03 11 15 00 7E

HDLC test #2. Disconnect request
TX: 7E A0 07 03 21 53 03 C7 7E
RX: 7E A0 07 21 03 73 01 40 7E

<a href="https://www.gurux.fi/gurux.dlms.ctt.tests#hdlc2">Test #2 failed.</a>

According to the ATS_DL_V5, the IUT responded correctly. Is there any reason why the test failed.

Thanks.

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

The default settings are re-sending the frame and it will break this test. I created an issue from this:
https://www.gurux.fi/node/17848

It's fixed for the next release.

BR,
Mikko

PaulAdebo

5 years 4 months ago

Okay Mikko,

Okay Mikko,

Noted!

You might also want to check the "COSEM Application test #6" as well. The LLC bytes was sent twice in the AARQ frame.

COSEM Application test #6. SNRM
TX: 7E A0 07 03 21 93 0F 01 7E
RX: 7E A0 20 21 03 73 73 98 81 80 14 05 02 00 E6 06 02 00 E6 07 04 00 00 00 01 08 04 00 00 00 01 B5 F3 7E

COSEM Application test #6. AARQ
TX: 7E A0 47 03 21 10 2B A1 E6 E6 00 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 A2 03 04 01 44 A3 03 04 01 44 A4 03 02 01 00 A5 03 02 01 00 A8 03 02 01 00 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 60 FE DF FF FF F6 FD 7E

Failed to receive reply from the device in given time.
COSEM Application tests #6 failed. Failed to receive reply from the device in given time.

HDLC test #6. Disconnect request
TX: 7E A0 07 03 21 53 03 C7 7E
RX: 7E A0 07 21 03 73 01 40 7E

COSEM Application test #6. SNRM
TX: 7E A0 07 03 21 93 0F 01 7E
RX: 7E A0 20 21 03 73 73 98 81 80 14 05 02 00 E6 06 02 00 E6 07 04 00 00 00 01 08 04 00 00 00 01 B5 F3 7E

<a href="https://www.gurux.fi/gurux.dlms.ctt.tests#app6">COSEM Application test #6 failed.</a>

Thanks.
Paul.

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi Paul,

Hi Paul,

This is also fixed for the next release.

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