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. [GuruxDLMS.c][Invalid Frame 10. Expected 30.]

[GuruxDLMS.c][Invalid frame 10. Expected 30.]

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 jozsad , 9 February, 2023
Forums
Gurux.DLMS

Hi,

I am trying to communicate with SL7000 meter using GuruxDLMS.c library.

I've made a cross compilation for i.MX6 processor for the library and the GuruxDLMSClientExample.

The Processor card is connecting to the meter using RS232, when I tried to connect I got an error message : Invalid frame 10. Expected 30.

I attached to log for the communication.

Can you help me to solved this problem ?

Thank you for the information and your feedback,

Best regards,
Dávid

Image
Profile picture for user Kurumi

Kurumi

3 years 4 months ago

Hi, Can you share this as a…

Hi,

Can you share this as a text? Picture is so hard to read.

BR,

Mikko

jozsad

3 years 4 months ago

In reply to Hi, Can you share this as a… by Kurumi

The .log file format is not…

The .log file format is not a valid extension for upload form, so I put it to comment.

Log:
# ./gurux.dlms.client.bin -S /dev/ttymxc2 -t Verbose -i HDLC -c 1
InitializeConnection

TX: 7E A0 07 03 03 93 8C 11 7E

RX: 7E A0 07 03 03 93 8C 11 7E

TX: 7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7E

RX: 7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7EInvalid frame 10. Expected 30.

Data send failed. Try to resend 1/3
7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7EInvalid frame 10. Expected 30.

Data send failed. Try to resend 2/3
7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7EInvalid frame 10. Expected 30.

Data send failed. Try to resend 3/3
7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF C5 E4 7EInvalid frame 10. Expected 30.

AARQRequest failed Data receive failed.

TX: 7E A0 07 03 03 53 80 D7 7E

RX: 7E A0 07 03 03 53 80 D7 7E
Data receive failed.

============================================================================================

./gurux.dlms.client.bin -S /dev/ttymxc2 -t Verbose -i HDLC -c 1 -a Low -P ABCDEFGH
InitializeConnection

TX: 7E A0 07 03 03 93 8C 11 7E

RX: 7E A0 07 03 03 93 8C 11 7E

TX: 7E A0 44 03 03 10 65 94 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 19 02 7E

RX: 7E A0 44 03 03 10 65 94 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 19 02 7EInvalid frame 10. Expected 30.

Data send failed. Try to resend 1/3
7E A0 44 03 03 10 65 94 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 19 02 7EInvalid frame 10. Expected 30.

Data send failed. Try to resend 2/3
7E A0 44 03 03 10 65 94 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 19 02 7EInvalid frame 10. Expected 30.

Data send failed. Try to resend 3/3
7E A0 44 03 03 10 65 94 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 19 02 7EInvalid frame 10. Expected 30.

AARQRequest failed Data receive failed.

TX: 7E A0 07 03 03 53 80 D7 7E

RX: 7E A0 07 03 03 53 80 D7 7E
Data receive failed.

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

In reply to The .log file format is not… by jozsad

Hi, You are only receiving…

Hi,

You are only receiving the echo from the RS-232 converter. If you remove the device you get the same reply. The meter doesn't reply for some reason.

Your server address might also be different than the meter expects. Try this:

-S /dev/ttymxc2 -t Verbose -i HDLC -s 145

Check your cables if you still don't can't connect to the meter.

BR,
Mikko

jozsad

3 years 3 months ago

In reply to Hi, You are only receiving… by Kurumi

Hi, The echo problem is…

Hi,

The echo problem is solved, there was an RS485 cable instead of RS232.

Unfortunately after I request the meter there is no reply data.

Best regards,
Dávid

  • 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