Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

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

Breadcrumb

  1. Home
  2. Crash In GXByteBuffer::SetPosition()

Crash in GXByteBuffer::SetPosition()

Profile picture for user Dmitry
By Dmitry , 18 February, 2025
Forums
Gurux.DLMS

Hi, Mikko!

I write my meter model (server) and try connect from DLMSDirector. But i get crash on connect.

Exchange:
15:00:51 Initializing Network connection.
15:00:51 Send SNRM request.
7E A0 07 03 61 93 69 47 7E
15:00:51
7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
15:00:51 Parsing UA reply succeeded.
15:00:51 Send AARQ request.
7E A0 4C 03 61 10 58 27 E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 45 5D 34 64 42 70 06 1B 4C 0D 66 10 36 5D 11 66 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF C6 37 7E
15:00:54
7E A0 5D 61 03 30 50 3F E6 E7 00 61 4F A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 0E A7 03 02 01 00 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 BA 90 46 5E CF 49 E6 22 62 C3 C8 F4 7C 40 15 63 BE 10 04 0E 08 00 06 5F 1F 04 00 40 1E 1D 04 00 00 07 CE AD 7E
15:00:54 Parsing AARE reply succeeded.
15:00:54 Authenticating.
7E A0 2B 03 61 32 8D EB E6 E6 00 C3 01 C1 00 0F 00 00 28 00 00 FF 01 01 09 10 B5 56 04 3E 2E F1 13 00 B6 13 59 CB 31 13 78 7F 21 1D 7E
//crash

If i in method CGXByteBuffer::Set() return old row: data->m_Position += count instead SetPosition(); --> OK. All works OK.

Profile picture for user Dmitry

Dmitry

1 year 5 months ago

Authentification: High,…

Authentification: High, Password: high_password

Profile picture for user Kurumi

Kurumi

1 year 5 months ago

Hi Dmitry, Thank you for…

Hi Dmitry,

Thank you for letting me know about this. This is now fixed. Get the latest version.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin