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 tim_kay , 22 September, 2020

Very basic meter reading sample code with TCP in C#

Forums
Gurux.DLMS

Hello. i am trying to write a code to connect and read data from a meter using tcp/ip in C#(VS2017).

I get the sample codes from official site. I downloaded the nugets.
However there are undefined variables, some terms unkown by .dll's. I could not clean the errors

Is there any simplest, shortest sample codes for doing basic job, please?

By hhkx , 21 September, 2020

Connecting with transparent mode before Dlms read

Forums
Gurux.DLMS

Hi,

I have a modem that needs to be start with transparent mode to connect by sending a special command then continue Dlms reading.

Is there an option in Gurux to set a command after settings.Media.Open(); before reader.InitializeConnection(); ?

Should below code do the job? And what is "receiver" in this case?

settings.Media.Open();
settings.media.Send("command-to-switch", receiver);
reader.InitializeConnection();

By Vasanth , 21 September, 2020

Image Transfer not working - DLMS C, IGNORE_MALLOC

Forums
Gurux.DLMS

Hello Mikko,

We are using Gurux DLMS C library with IGNORE_MALLOC in our Three phase meter. Currently we trying to do Image Transfer using Gurux Director. But meter replied with error ( Device reports read / write failed).

Issue area:

in invoke_ImageTransfer function, imageActivateInfo.size value is 0.
if ((ret = arr_getByIndex(&target->imageActivateInfo, target->imageActivateInfo.size, (void**)&item, sizeof(gxImageActivateInfo))) != 0)
{
return ret;
}

Trace Details:

By youserj , 16 September, 2020

Clock object

Forums
Gurux.DLMS

Hi, Mikko!
How can I set TimeZone and Status into attribute 'time' of Clock (class_id: 8), not in separated attributes it?
For filling last 3 bytes of datetime struct, ex.: 07 E4 09 09 FF 16 0F 00 FF <80 00 00>.
And what better use Clock_obj.time.value.datetime.tzinfo or Clock_obj.time.timezone?

By hhkx , 16 September, 2020

Meter doesn't seem to be sending push message at the time

Forums
Gurux.DLMS

Hi,

I have managed to set listener on my machine and arrange push list on the meter. When I trigger pushing from GXDLMSDirector by pressing the push button, meter connects and sends the push list.

However, it doesn't send anything when I set the date time via Communication Window panel. It's written on the meter, but meter doesn't send push by itself.

By jonasfoyth , 15 September, 2020

Profile Generic - ReadByRange Python

Forums
Gurux.DLMS

Hi Mikko,

I'm trying to read Profile Generic parameters by range, but it's not working. I'm able to read by entry without problem (using latest python lib version).

By KhushbuBadheka , 11 September, 2020

Prepayment metering in Indian Standard

Forums
Gurux.DLMS

Hi Mikko,

Can you please provide details on Prepayment metering for Indian Standard?

Thanks & Regards,
Khushbu

By José Torres , 9 September, 2020

Read and write clock

Forums
Gurux.DLMS

Hi

When I use Director I can read from and write to clock.
However, using Gurux.DLMS.c, I can only read the clock, the write operation does not return any data and does not update the clock.
I am using HLS, and I have filled the object struct like this:

data = {0x07, 0xE4, 0x09, 0x08, 0x02, 0x11, 0x00, 0x00, 0xFF, 0x80, 0x00, 0x00};
LN = {0, 0, 1, 0, 0, 255};
memcpy(object.logicalName, LN, 6);
object.objectType = dlms_Object_Type_Clock;
bb_set(&object.access->attributeAccessModes, data, sizeof(data));

By Jayaraj , 8 September, 2020

custom dlms test tool in c#

Forums
Gurux.DLMS

hi gurux,

I am a newbie to dlms and I want to build a custom dlms test tool using gurux nuget pkgs in c#. my quick questions on this are

a. Can i do it? use gurux nuget pkg to build my custom app,
b. I could not find any help on nuget pkg/ APIs / call sequence, it would be great if you could help me with.

thanks,
Jayaraj

By Bhaumik , 8 September, 2020

Push Event parsing received from meter

Forums
Gurux.DLMS

Hi Mikko,

After doing the connect/disconnect load and getting push event from meter.

I have configured the following properties of the Client to decode and parse push events.

Client.Ciphering.SystemTitle
Client.Ciphering.AuthenticationKey
Client.Ciphering.BlockCipherKey

But, From Client.GetData(eventsData, replyData, notify) got following error:

"Data is ciphered using different security level. Actual: 48. Expected: 0"

Can you please provide an update on this ?

Pagination

  • Previous page
  • 89
  • 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

  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • 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
More

Who's new

  • PedarIgnow
  • mrnabdulai
  • jYpAOiZIuAAkFD…
  • EdwinObjef
  • LutzG
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin