I think this could be a bug

2 posts / 0 new
Last post
Fatih
I think this could be a bug

Hello.
When receieve this data from meter, Gurux, throwing System.OutOfMemoryException

Data: 7E A0 0A 07 00 22 2A 65 97 58 36 7E

ExceptionMethod:
GetUInt
Gurux.DLMS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Gurux.DLMS.GXByteBuffer
Byte GetUInt8(Int32)
at:
Gurux.DLMS.GXByteBuffer.GetUInt8(Int32 index)
Gurux.DLMS.GXByteBuffer.GetUInt8()
Gurux.DLMS.Internal.GXAPDU.ParsePDU(GXDLMSSettings settings, GXICipher cipher, GXByteBuffer buff, GXDLMSTranslatorStructure xml)
Gurux.DLMS.GXDLMSClient.ParseAAREResponse(GXByteBuffer reply)

Best regards

kurumi
kurumi's picture
Unacceptable Frame

Hi,
Your meter is returning Unacceptable Frame error.
We'll add an error check for this to the example.

Check your client and server addresses. I believe that this is the reason why you are receiving this error.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
Hermiankatu 6-8 H 33720 TAMPERE, FINLAND
Phone: +358 3 265 1244
Home page: http://www.gurux.org