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. Forums
  3. Gurux.DLMS

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

Description

Questions and comments about
Gurux DLMS/COSEM Protocol Component.

Image
By mahsen , 15 September, 2021

memory error

Forums
Gurux.DLMS

hi dear,

By ybou04 , 14 September, 2021

cosem_init2

Forums
Gurux.DLMS

Hi,
I'm trying to use the server example from your directory NordicSemi on a PC, under National Instruments CVI IDE, before use it on a STM32 target.

I have an running error in cosem_init2() function, in cosem.c file, line 416 :

memset(object, 0, size);

When called from addLogicalDeviceName(), size is 32 (sizeof DLMS_OBJECT_TYPE_DATA) but gxObject* object is 16.

I've just replace this init line by :
memset(object, 0, sizeof(object));

Regards,
Yvan

By elvandry13 , 14 September, 2021

How to read terminal cover status?

Forums
Gurux.DLMS

Hi,

I want to read terminal cover status using GXDLMSDirector with logical name 0.0.97.97.2.255 (Error object #3). Before I open the terminal cover, the value is 000000000000. After I open the terminal cover, the meter go to tamper condition, but the value doesn't change, still 000000000000. Why the value doesn't change? Is there any alternative way to get terminal cover status?

I'm using EDMI MK7MI meter and GXDLMSDirector.
Thank you.

By Dmitry , 13 September, 2021

How to set low level security and high level security passwords?

Forums
Gurux.DLMS

Hi!
Is it possible on server side?
I want connect to server with low auth and high auth from DLMSDirector. But OBIS 0.0.40.0.0.255 (CGXDLMSAssociationLogicalName) support only single secret.

I added CGXDLMSAssociationLogicalName with name 1.1.40.1.3.255 with secret "high_passwd"

By r2aiv , 13 September, 2021

Creating data object with data type BIT_STRING

Forums
Gurux.DLMS

Hello! I'm trying to create bit string object, but DLMSDirector see it like uint16_t. Can anyone example me how i can do it using Gurux.DLMS.C. Thank you!

By ali_bahal , 11 September, 2021

ignore time part of GXDateTime

Forums
Gurux.DLMS

Hi, is there any way in c# version of library, I can create GXDateTime object that, it translate something like below ? I mean it put FF for time part of it?

<!-- 9/4/2021 *:*:* -->
<OctetString Value="07E50904FFFFFFFFFFFFFFFF" />

By Dmitry , 9 September, 2021

Crash on double read Clock object

Forums
Gurux.DLMS

Hi!
I write test program server side DLMS.cpp.
I created CGXDLMSClock object and add it to CGXDLMSObjectCollection.

Then i try read clock from DLMSDIrector. Read first time - ok, second time - my program crashed.

I think error in int CGXDLMSLNCommandHandler::HandleAccessRequest() method.

pointer *e allocates memory out of loop single time, push_back() to args several times (8 for clock) in loop and when function body ends destructor of CGXDLMSValueEventCollection several times delete memory of *e which allocated single time.

By Dmitry , 6 September, 2021

Wrong comparing on different passwords in example GuruxDLMSServerExample

Forums
Gurux.DLMS

Hi!
I made ValidateAuthentication() method like in GuruxDLMSServerExample folder, GXDLMSBase.cpp.
DLMS_SOURCE_DIAGNOSTIC CGXDLMSBase::ValidateAuthentication(DLMS_AUTHENTICATION authentication, CGXByteBuffer& password).

By jrudilla , 6 September, 2021

DLMS Translator

Forums
Gurux.DLMS

Hi,

I have to make a translator of the data already extracted from a meter in python but I am not being able to achieve it, in the translator located on the web I am not able to translate the frame, but in the Gurux DLMS Translator I can, specifically in the Data to XML tab -> Pdu To XML.
This is the code I am using to translate it and the frame.
from gurux_dlms import GXDLMSTranslator

By Bhaumik , 6 September, 2021

Get PlainText in Client

Forums
Gurux.DLMS

Hi Mikko,

I am creating one test application using Gurux.DLMS library.
In that I want to print plain text (decrypted) of request-response in log.

Is that possible to take plain text from client? Or anyother way

Please suggest.

Pagination

  • Previous page
  • 71
  • Next page
Gurux.DLMS
  • 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

Who's new

  • CorwXGlcWwyuiJawypxb
  • Vegazone-Casin…
  • VegaZone-lBit
  • Vegazone-Sverige-Fug
  • UIRlLOZQoyTZHC…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin