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. GetObjects Failed. Invalid Count

GetObjects failed. Invalid count

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 , 20 November, 2020
Forums
Gurux.DLMS

Hello,
I increased the MAX TX field of the UA response frame from 71bytes to 230 bytes, during SNRM frame negotiation.

However, when I request the object list, I get a response "GetObjects failed. Invalid count". See frame below,

8:29:16 AM Send SNRM request.
7E A0 07 03 23 93 BF 32 7E
8:29:16 AM
7E A0 20 23 03 73 CB 2D 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
08:29:16 Parsing UA reply succeeded.
8:29:16 AM Send AARQ request.
7E A0 44 03 23 10 56 B7 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 31 31 31 31 31 31 31 31 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF D4 34 7E
8:29:16 AM
7E A0 37 23 03 30 D4 C9 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 19 00 F1 00 07 56 16 7E
08:29:16 Parsing AARE reply succeeded.
08:29:18 --- Collecting objects. ---
8:29:18 AM Collecting objects
7E A0 19 03 23 32 DF EB E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 02 00 91 53 7E
8:29:18 AM
7E A0 EA 23 03 52 37 FA E6 E7 00 C4 02 C1 00 00 00 00 01 00 D4 01 81 C2 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 01 00 02 03 0F 04 16 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 00 00 02 03 0F 08 16 00 00 02 03 0F 09 16 00 00 01 06 02 02 0F 01 16 00 02 02 0F 02 16 00 02 02 0F 03 16 00 02 02 0F 04 16 00 02 02 0F 05 16 00 02 02 0F 06 16 00 02 04 12 00 0F 11 03 09 06 00 00 28 00 00 FF 02 02 01 0B 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 00 00 02 03 0F 05 16 00 00 02 03 0F 06 16 00 00 02 03 0F 07 16 03 00 02 03 0F 08 16 01 00 02 03 0F 09 16 01 00 02 03 0F 0A 16 00 00 43 2E 7E
System.Exception: GetObjects failed. Invalid count.
at GXDLMSDirector.MainForm.RefreshDevice(GXDLMSMeter dev, Boolean bRefresh)
at GXDLMSDirector.MainForm.Refresh(Object sender, GXAsyncWork work, Object[] parameters)

I check all the necessary length fields, and I can not figure out where why I got such a response.

Kindly advice!

Regards
Paul.

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

Your GBT data is wrong. That is causing the problem. Check the bytes before the array data.

BR,
Mikko

PaulAdebo

5 years 6 months ago

Hello Mikko,

Hello Mikko,

Thanks once again for your reply.

I actually figured that out and fixed it when I saw the block length was more than 128, so it should be 2 bytes.

Thanks once again.

  • 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