Every 5 secs, we read 6 registers from dlms meter (from L&T). Occasionally we
get "Not enough memory available" error:
If I close connection, com port and open again, it works. And then error
repeats after some time.
I also made following change in the code:
con_initializeBuffers(connection, 50 + 1024);
Below logs show successful packets, followed by error packets and then
successful packets after reconnect.
Please let me know how to fix the issue.
Thanks and Best regards,
Prakash
Read 21 bytes.
hex:[7e a0 13 41 03 fc fe 88 e6 e7 00 c4 01 c1 00 12 13 7e 03 94 7e ]
Read 23 bytes.
hex:[7e a0 15 41 03 1e 78 07 e6 e7 00 c4 01 c1 00 06 00 00 00 0e 03 f1 7e ]
Read 23 bytes.
hex:[7e a0 05 41 03 30 04 cf e6 e7 00 c4 01 c1 00 05 00 00 00 00 b1 05 7e ]
dlms data send failed. try to resend 1/3
Read 9 bytes.
hex:[7e a0 07 41 03 31 5a 24 7e ]
ReadObject failed Register 1.0.1.7.0.255:2 Not enough memory available.
com_readValue failed: 260
The meter is asking for the next frame. I can't say why, because there are no read requests. This might be a random meter issue. I propose that when this happens you close the connection and read the values again.
Hi,
Hi,
The meter is asking for the next frame. I can't say why, because there are no read requests. This might be a random meter issue. I propose that when this happens you close the connection and read the values again.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thanks for the reply.
We've implemented your suggestion. The problem occurs often. We'll contact the manufacturer for any solution.
Thanks,
Prakash