Skip to main content
Home
for DLMS smart meters

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

8 months 3 weeks ago

Authentification: High,…

Authentification: High, Password: high_password

Profile picture for user Kurumi

Kurumi

8 months 3 weeks 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

  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901
  • Thu, 10/16/2025 - 09:59
    gurux.dlms.java 4.0.83
  • Wed, 10/08/2025 - 10:21
    gurux.dlms.c 9.0.2510.0801
  • Fri, 09/26/2025 - 10:02
    gurux.dlms.cpp 9.0.2509.2601
  • Fri, 09/26/2025 - 09:45
    gurux.dlms.c 9.0.2509.2601

New forum topics

  • Guidance on using the source codes
  • How to get/convert user readable format data from readRowsByRange
  • Insufficient memory to continue the execution of the program.
  • The client instance code failed to connect to the electricity meter for authentication
  • Unable to Release Request when closing connection with meter.
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin