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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • NnmIomcqcTDVWiDuCD
  • iRnseovnShdVWR…
  • HgGuaAJJjTLjzz…
  • HYpmSpMsbgNghuph
  • ocYOMgUlQIJbgMUiQdIn
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin