Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Not Enough Memory Available. (ReadObject Failed) COM_READ

Not enough memory available. (ReadObject failed) COM_READ

By Somesh_8073, 17 April, 2025
Forums
Gurux DLMS for ANSI C

hello,

I am trying to read ProfileGeneric - Meter Block Load Profile 1.0.99.1.0.255 using DLMS C library. I get Not enough memory available.

com_read --> com_readDataBlock --> readDLMSPacket --> cl_getData

this is the flow and cl_getData stating above "not enough memory "error.

TRACE for your reference sir, ----------------------------------------------------

[uart_send_data]---> Packet Sending: 7e: a0: 26: 03: 61: fe: 62: 6c: e6: e6: 00: c8: 18: 30: 00: 00: 00: 30: 0a: 75: 24: 78: d5: 94: 98: 54: bf: e8: 22: ea: 60: de: 42: dc: c9: 32: 67: 85: 09: 7e

[17:37:33.438] [uart_interrupt_callback]Complete Packet Received

[17:37:33.464] [com_read]com_read failed Not enough memory available.

[17:37:33.464] [uart_send_data]---> Packet Sending: 7e: a0: 5f: 03: 61: 10: 34: c1: e6: e6: 00: c8: 51: 30: 00: 00: 00: 31: 56: 69: 1f: 7a: 18: 3b: 7e: 46: 34: 9f: 9f: 95: ed: de: 34: 19: b9: 6f: 62: 89: c8: 74: 8a: 20: f3: 9a: dd: c0: 67: f8: 44: 42: 39: 5c: 29: d5: 97: 14: 0d: da: 26: bb: 76: 48: ec: 29: 6a: e1: 4d: 76: 87: d6: 8a: 3f: 52: 57: 43: d9: 46: 27: db: d2: 77: 29: b8: 04: 1f: 61: 19: 4c: 46: c4: 9a: 08: 1c: d0: 69: 42: 7e

[17:37:34.057] [uart_interrupt_callback]Complete Packet Received

[17:37:34.483] [com_readRowsByRange]com_readRowsByRange failed Invalid parameter.

[17:37:37.481] [uart_send_data]---> Packet Sending: 7e: a0: 36: 03: 61: 32: a3: a3: e6: e6: 00: 62: 28: 80: 01: 00: be: 23: 04: 21: 21: 1f: 30: 00: 00: 00: 32: 69: b1: 13: ed: b3: cf: ec: e2: a5: c9: 7b: f9: 64: fd: 1a: 73: 82: 32: fe: a1: dd: e7: 90: 57: 37: 94: d6: 13: 7e

[17:37:37.681] [uart_interrupt_callback]Complete Packet Received

[17:37:38.523] [uart_send_data]---> Packet Sending: 7e: a0: 07: 03: 61: 53: 65: 81: 7e

[17:37:38.729] [uart_interrupt_callback]Complete Packet Received

Profile picture for user Kurumi

Kurumi

1 month ago

Hi, I need the block cipher…

Hi,

I need the block cipher key to decrypt the message.

BR,
Mikko

Somesh_8073

1 month ago

hello, Block Cipher Key - …

hello,
Block Cipher Key - DgVcL03iNt18SmPj

Thank You

Profile picture for user Kurumi

Kurumi

1 month ago

Hi, I also need the AARQ and…

Hi,
I also need the AARQ and AARE messages. Make the connection to the meter and add the first four messages here.

BR,
Mikko

Somesh_8073

4 weeks 1 day ago

hello, TRACE for your…

hello,

TRACE for your reference sir ------------------>

[Trace removed]

Profile picture for user Kurumi

Kurumi

4 weeks 1 day ago

Hi, It looks like your meter…

Hi,

It looks like your meter is returning invalid data for com_readRowsByRange.
Because meter replies are missing, I can't check the reason.

I noticed that your start and end times are the same. Check that. It might help.

BR,
Mikko

Somesh_8073

3 weeks 6 days ago

hello,sir start time and end…

hello,sir

start time and end time are not same, we are trying to read data of 1 hour.

TRACE for your reference sir ------------------> can you please check one more time, below logs

[Trace removed]

Somesh_8073

2 days 12 hours ago

HI, can you just help me out…

HI,
can you just help me out with the function name ?

when we are trying to read instantaneous profile using DLMSDirector, by chossing "ALL" option to read data, we are able to read data on dlmsdirector.
but in code ByRange & ByEntry function are not able to read, is there any other function which is used to read all data of "instantaneous Profile".

Profile picture for user Kurumi

Kurumi

1 day 13 hours ago

Hi, Your meter is returning…

Hi,

Your meter is returning invalid data. You need to ask meter manufacturer to fix it. Please, create a new topic if you have a new question.

You can read the instant profile only with all because there is only one row.

I'll remove the hex trace so this is easier to read.

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
  • Issue with "ServiceError Initiate Error exception. Service UNSUPPORTED"
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin