Hi,
I am trying to pull Billing Profile from 2 meters which consists of 103 objects & 64 objects from an embedded device. As a process i am reading capture objects and going for data read.
Data from the meter is completely read and during the parse stack at the embedded module is throwing an OUT_OF_MEMORY error (0X0104).
Meter 1 Info
Communication Mode:- Serial (UART)
Communication Protocol:- TCP Wrapper
Communication Interface:- NIC Port
Meter 2 Info
Communication Mode:- Serial (UART)
Communication Protocol:- HDLC
Communication Interface:- NIC Port
I tried to recreate the same thing from the source code (ran the code in linux pc) available in github . Here it worked and the process was success in both the meters. I got both capture objects and data.
Meter 1
Communication Protocol:- HDLC
Communication Interface:- Optical Port
Meter 2
Communication Protocol:- HDLC
Communication Interface:- Optical Port
What could be the reason? Any Macros to be enabled or disabled?
Regards
Murali
Hi Murali, Your device doesn…
Hi Murali,
Your device doesn't have enough heap. On the server-side, this is easier to do because the device knows what data to send to the client. The client doesn't know this, and it needs more memory.
You need to read the profile generic buffer from the meter and then parse the values by yourself. This will work if all the meters are configured in the same way, but if the meters vary, you need to check what meter you are reading.
BR,
Mikko