Hi there!
I´m getting an Not enought memory exception when reading a profile generic using the DLMS c# example app.
As soon as I was able to analize, it is because the meter negotiated pdu size is 512 but the raw data into the reply frame is 577 lenght.
Where could I increase the reply buffer size?
I saw another threads where you indicate it should be increased on the communication.c file... but that file is not into the c# app example.
Please find the comm logs:
TX: 10:08:44 AM 0001001200010047E6450C3033373231343830303539366036A1090607608574050801018A0207808B0760857405080201AC0A80083132333435363738BE10040E01000000065F1F0400201E5DFFFF
RX: 10:08:49 AM 000100010012003AE7450C3033373231343830303539366129A109060760857405080101A203020100A305A103020100BE10040E0800065F1F0400001A1D02000007
TX: 10:08:51 AM 000100120001004FE6450C303337323134383030353936C001C100070100630100FF0201010204020412000809060000010000FF0F02120000090C07E70919FF000000FF800000090C07E7091AFF000000FF8000000100
RX: 10:08:53 AM 000100010012013BE7450C303337323134383030353936C402C10000000001008201F401610206090C07E70919FF000000FF800000050000000005000000000500000000050000000005000000000206090C07E70919FF000F00FF800000050000000005000000000500000000050000000005000000000206090C07E70919FF001E00FF800000050000000005000000000500000000050000000005000000000206090C07E70919FF002D00FF800000050000000005000000000500000000050000000005000000000206090C07E70919FF010000FF800000050000000005000000000500000000050000000005000000000206090C07E70919FF010F00FF800000050000000005000000000500000000050000000005000000000206090C07E70919FF011E00FF800000050000000005000000000500000000050000000005000000
Not enough memory expection.
Thanks in advance,
regards,
Hi, The problem is that the…
Hi,
The problem is that the WRAPPER frame tells that the data size is 315 bytes and that is true, but the block size is 500 bytes and this is wrong. There are only 288 bytes.
You need to contact the meter vendor and ask if there is a firmware update available.
There is nothing you can do about this.
BR,
Mikko