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. Invalid Response When Using GBT

Invalid response when using GBT

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 Chris_Zhu , 20 January, 2021
Forums
DLMSDirector

Hi,
I'm using GBT with DLMSDirector,but when reading object lists,after read finished,it says "Invalid response",I'm confused,is my GBT frame wrong?
this is part of the traffic:
14:09:42 Get Next Data block.
14:09:42 Collecting objects
00 01 00 01 00 01 00 23 DB 08 59 54 4C 66 30 00 27 11 18 30 00 00 00 4A CA 10 18 1B 8F DB 54 23 72 2A A5 E1 6A 96 E0 F1 4A 1B 63
14:09:42
00 01 00 01 00 01 00 E4 E0 81 00 01 00 4A 81 DC DB 08 59 54 4C 66 30 00 27 11 81 D0 30 00 00 00 4B 43 FC A0 78 26 75 58 35 54 0A 36 7B 8F 29 2F 8D ED 6E 85 B3 6B 4F 79 8A 3D 0C C4 29 B2 F4 44 85 AE F9 3A F6 E5 35 8D C5 6C 58 58 00 F2 0A 89 68 2F 10 47 66 B1 2D AB DE AF A3 71 2B 8F 38 2D 1F F1 E4 CB F8 C3 F0 7E 9F FA FA E6 43 08 88 37 8E 74 0D D8 86 B2 63 33 87 3B B4 1A 42 CE DD C2 E0 31 35 18 C4 06 A6 E9 75 9C 55 54 86 28 47 DA 04 8C 6B 89 D9 45 9D F2 3B 02 0C DA CB C0 A7 D6 57 C8 21 33 D3 6B 7B A0 8F 5C BA 07 AB 9A 27 90 BB 99 B0 CB B4 57 7B E5 9B D5 97 F0 49 D9 91 3E 55 3B 00 87 41 F5 BA DE B5 68 7D B6 97 53 0C AD 83 BD 60 4F 2F B7 CC 85 C2 C7 28 22 2F 56 F4 22 E7 D2 54 B9 17 FC CB C2 BD B2 84 4D
14:09:42 Get Next Data block.
14:09:42 Collecting objects
00 01 00 01 00 01 00 23 DB 08 59 54 4C 66 30 00 27 11 18 30 00 00 00 4B 47 FC A0 78 26 75 11 BA A4 DF 72 68 C9 23 A2 65 DF C1 19
14:09:42
00 01 00 01 00 01 00 D4 E0 81 00 01 00 4B 81 CC DB 08 59 54 4C 66 30 00 27 11 81 C0 30 00 00 00 4C 46 F0 D2 02 7F FA 97 70 8E 1B 44 55 7E 8B E9 5F 78 48 7C 07 6C A1 FB F0 7E 8A E6 14 E4 71 01 68 23 FB FA CD F4 96 09 83 9B 96 CF 38 FD 11 19 E1 8B 59 D8 8D 92 65 AF F5 96 D1 6E 93 8F F4 20 29 DB 85 C9 C5 38 2B 6C BC E8 7E DA 69 07 26 7B 90 D3 2C B7 A4 E6 2C 00 BD 9C 26 CA C7 C8 0C F2 09 0E AA 30 28 5C 12 ED CE D5 1D 4B 39 7D 6D 70 B9 20 33 3C 39 B8 C6 8E 9D 20 9A 20 91 1F 9E 91 8D C3 12 A3 E4 2F 1E 4A 1B BB AD 25 2E E1 E5 B0 FF E8 FB 42 46 F9 56 40 9D 0C 0B BE AB D3 36 E2 85 30 39 34 4C C4 80 D2 A7 DF 47 B6 9F 2C 85 E2 CC A5 AB AB D5 AE 17 61 06 CB DD 93
Gurux.DLMS.GXDLMSException: Invalid response.

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

Can you read the meter without ciphering? Now data is encrypted and I can't check the content of it.

BR,
Mikko

Chris_Zhu

5 years 4 months ago

In reply to Hi, by Kurumi

I am reading object lists,and

Hi,Mikko
follow is the first two response from meter in plain text ,The GBT format I think its correct,I check the green book,it says if read long attribute with GBT,meter should response with Get-Response-Normal,so I response like below:
RD:C4 01 C1 00 01 82 01 14 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 03 00 02 03 0F 04 16 01 00 02 03 0F 05 16 03 00 02 03 0F 06 16 03 00 02 03 0F 07 16 03 00 02 03 0F 08 16 03 00 02 03 0F 09 16 01 00 01 00 02 04 12 00 0F 11 01 09 06 00 00 28 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 01 04 02 02 0F 01 16 01 02 02 (09:27:30:808)

RD:C4 01 C1 00 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 04 12 00 11 11 00 09 06 00 00 29 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 01 11 00 09 06 00 00 2A 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 02 04 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 03 00 02 03 0F 04 16 03 00 02 03 0F 05 16 03 00 02 03 0F 06 16 03 00 02 03 0F 07 16 03 00 02 03 0F 08 16 03 00 02 03 0F 09 16 03 00 01 00 02 04 12 00 29 11 00 09 06 00 (09:27:32:531)

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

You are sending two normal get responses and this is not correct. In GBT you add all data to one get response and then split that get response to GBT blocks.

BR,
Mikko

BR,

Mikko

Chris_Zhu

5 years 4 months ago

In reply to Hi, by Kurumi

Hi,Mikko

Hi,Mikko
thanks for your reply,but I'm still having trouble now,I modified like you said,and I put the response data to the translator,it shows fine,I check Green book,there is a Additional_service_Parameter when use GBT in which the invocation_Type(COMPLETE,FIRST-PART,ONE-PART ,LAST-PART) parameter is mandatory, is it the possible reason?but I didn't find any example ,could you send me some examples about GBT and explain, appreciate !below is the data :
TD:C0 01 C1 00 0F 00 00 28 00 00 FF 02 00
RD:C4 01 C1 00 01 03 02 04 12 00 08 11 00 09 06 00 00 01 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 03 00 02 03 0F 03 16 03 00 02 03 0F 04 16 01 00 02 03 0F 05 16 03 00 02 03 0F 06 16 03 00 02 03 0F 07 16 03 00 02 03 0F 08 16 03 00 02 03 0F 09 16 01 00 01 00 02 04 12 00 0F 11 01 09 06 00 00 28 00 00 FF 02 02 01 09 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 02 03 0F 03 16 01 00 02 03 0F 04 16 01 00 02 03 0F 05 16 01 00 02 03 0F 06 16 01 00 02 03 0F 07 16 00 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 01 04 02 02 0F 01 16 01 02 02 0F 02 (10:07:20:834)

RD:16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 04 12 00 11 11 00 09 06 00 00 29 00 00 FF 02 02 01 02 02 03 0F 01 16 01 00 02 03 0F 02 16 01 00 01 00 (10:07:21:227)

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

Try to read server example with GBT.
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Server.E…

It will return correct data.

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