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. On Com_close() Getting Error of 258

on com_close() getting error of 258

By mightyChamp , 6 July, 2023
Forums
Gurux.DLMS

Hello,

I am using Arduino code, DLMS C lib, Everything is works as expected, but on com_close() function it always return 258, instead of 0.

So, request to help in this matter.

Thank You

Profile picture for user Kurumi

Kurumi

2 years 10 months ago

Hi, Can you get the hex…

Hi,

Can you get the hex trace of what the meter is returning?
If you can't, try to read your meter with GXDLMSDirector and then get the log when you close the connection. Please, add only those last rows so I can check what the meter is returning.

BR,
Mikko

mightyChamp

2 years 10 months ago

I have tried a previous c…

I have tried a previous c library (don't know version, but 4 month ago), in this I didn't get this error with same meter, and also everything works ok.
And in guruxDirector also, doesn't face this type of error.

mightyChamp

2 years 10 months ago

Any update or query…

Any update or query regrading this?

Profile picture for user Kurumi

Kurumi

2 years 10 months ago

Hi, There are no changes to…

Hi,

There are no changes to this in ANSI C. I need the hex trace to solve this.
I can't solve this if I don't know what the meter is returning.

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