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 3 months ago

Authentification: High,…

Authentification: High, Password: high_password

Profile picture for user Kurumi

Kurumi

1 year 3 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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin