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. Unable Get Response For "Read" Request

Unable get response for "Read" request

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 anudeep02 , 29 May, 2020
Forums
DLMSDirector

I'm using Gurux DLMS Director to test my smart meter code having dlms functionality. i'm using STM32 micro controller. The steps I followed:
1) I added device, with manufacturer as "Saudi Electricity Company", start protocol as DLMS, logical name referencing, low level authentication and added respective details.
2) I'm testing my meter for Serial(RS485) port, so added COM port and baud rate with rspective details.
3) After adding all the details, I tried to connect with meter. Connection is formed.
But when i'm trying to perform "Read", I'm getting a response as "GetObject fail".

Can you please suggest what should I do to get response for the "Read" request.

Thank you.

anudeep02

6 years 1 month ago

Please respond as early as

Please respond as early as possible

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Please, don't send notification emails. It doesn't help you to get an answer any faster.
Can you read your meter without authentication? How many objects you have implemented?

BR,
Mikko

anudeep02

6 years 1 month ago

Hello Mikko,

Hello Mikko,
Thank you for response. And sorry for the notification mail, I'll take care about the same.
Currently I have Implemented 500 objects. I'll try to test meter without authentication.

Thank you.

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

If you have 500 objects it might be that you don't enough memory. How much memory you have?
Are you using malloc?

BR,
Mikko

anudeep02

6 years 1 month ago

Hello,

Hello,

As per your suggestion, I have tested without authentication for 500 objects. I'm able to read all objects.
But when I'm trying with Authentication, I'm not able to read the data.

About memory, we are using internal flash and RAM memory of microcontroller STM32L476RG, which is, flash - 512KB, and SRAM - 96KB.

Thank you and regards,

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi Anudeep,

Hi Anudeep,

Have you set the password? I believe that is the problem.
Check your low authentication association view.
Do you have created two association view? One for Low authentication and one without authentication?

BR,
Miko

anudeep02

6 years 1 month ago

Hi Mikko,

Hi Mikko,

Yes, I have set the password, and all the security keys as well. Also created different associations for no authentication, low authentication and high authentication. Still facing problem while reading the data. Can you suggest what may be another issue?

Thanks and regards,

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

in svr_findObject return always low authentication and in svr_isTarget return always true.
if it still fails return DLMS_SOURCE_DIAGNOSTIC_NONE in svr_validateAuthentication.

Now the password is not checked at all and connection succeeds everytime.

BR,
Mikko

anudeep02

6 years 1 month ago

Hi Mikko,

Hi Mikko,

Surely I'll check with the modifications, and let you know the status.

Have a Great day!

Thanks and regards,

anudeep02

6 years 1 month ago

Hi Mikko,

Hi Mikko,

We are not using GuruX stack code for meter, we have our meter's code. So I have done changes suggested by you in our side of the code, but I'm getting an error message dialog box of "Frame not fully receive". Can you please help with that.

Have a Great Day!

Thanks and regards,

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Frame is not fully received. You need to check what is causing that. Check that amount of the bytes is correct.

BR,
Mikko

anudeep02

6 years 1 month ago

Hello Mikko,

Hello Mikko,
Sorry for the delay in response. I have checked code from our side and now I'm able to get response from meter as well as the error "Frame not received fully" is also resolved.
I have tested my meter on GuruX DLMS Director for Indian Standard as well, and is working fine.

Thank you for your kind support!

Thanks & Regards,

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • 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
More

Who's new

  • ksFhuuipOxKrxk…
  • sherylrk3
  • OLaneHycle
  • LxfgLnoisbruoL…
  • SunbetLith
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin