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

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<br />
Gurux <b>DLMS/COSEM for ANSI C</b> Protocol Component.

By hasan nasha, 13 June, 2025

Create gateway protocol in c

Forums
Gurux DLMS for ANSI C

Good day sir,
First of all, thank you for creating this DLMS library, it makes me able to learn and know so many things from my meter. I'm able to connect to meters using settings provided by the meter provider, and read needed values from it. Currently I'm able to read meter from EDMI, since that's what I have. I used Gurux DLMS C for that.
Now I want to learn how to create a gateway, so I can be able for example connect to multiple meter.
the connection is like this:
my windows pc -- raspberry pi -- meter 1

By Ankush, 11 June, 2025

Protocol Version in AARQ Packet

Forums
Gurux DLMS for ANSI C

Could you please clarify why the bit string 100001 is used as the value for the protocol-version field in the AARQ APDU?

I have analyzed multiple AARQ exchanges across different tools and interfaces, with specific focus on how the protocol-version field is BER-encoded and interpreted.

By Harshi_554, 5 June, 2025

DLMS server connection using serial port

Forums
Gurux DLMS for ANSI C

Hi,

Is it possible to communicate with the dlms server (which I'm using as virtual smart meter using PC) using serial port connection from dlms client?

By Harshi_554, 4 June, 2025

Accessing data from simulated meter

Forums
Gurux DLMS for ANSI C

Hii ...
I have successfully compiled the client and server source code from dlms c libraries. I am using server source code as simulated smart meter in my PC (I'm not using real smart meter). How to setup the tcp port (both client and server side) and access the data from simulated smart meter ?

By riteshP, 22 May, 2025

Reading all "Data" object type parameter together

Forums
Gurux DLMS for ANSI C

Hi,

I can able to read individual Data type object. Using following methods.
Client.init(true, 32, 1, DLMS_AUTHENTICATION_LOW, "xxxx", DLMS_INTERFACE_TYPE_HDLC);

cosem_init(BASE(ldn), DLMS_OBJECT_TYPE_DATA, "0.0.42.0.0.255");
com_read(BASE(ldn), 2);

By abk964, 16 May, 2025

Long reading ends with "Invalid frame ..." error.

Forums
Gurux DLMS for ANSI C

Long seances (hundreds of HDLC packets) ended with "Invalid frame..." errors. Same readings in Director are OK. Different devices.

What can I check by myself?

By riteshP, 15 May, 2025

Arduino 2.3.6 DLMS Clinet Compilation Error

Forums
Gurux DLMS for ANSI C

I want to build client.ino example for ESP32 from "GuruxDLMS.c\Arduino_IDE\client"
https://github.com/Gurux/GuruxDLMS.c/blob/master/Arduino_IDE/client/cli…

I have added following as Additional Board Manager URLs
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/pack…

By abk964, 13 May, 2025

gxaes.c can be compiled in current version under Linux

Forums
Gurux DLMS for ANSI C

gxaes.c include wrong file
#include "../include/errorCodes.h"
must be
#include "../include/errorcodes.h"

By abk964, 13 May, 2025

how to limit frame size on client side?

Forums
Gurux DLMS for ANSI C

Strange device works in "Director" only if checkbox "use frame size" is checked in "device properties".

How to set same option in C library?
Or is there other way to limit frame size?

By sekar, 12 May, 2025

I need function of below OBIS code

Forums
Gurux DLMS for ANSI C

please give document of below obis code

0,0,10,0,107,255
0,0,15,0,2,255
0,0,43,0,5,255
0,0,40,0,0,255

this OBIS required to firmware upgrade function

Pagination

  • 1
  • Next page
Gurux DLMS for ANSI C
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/17/2025 - 13:03
    Gurux.DLMS.Python 1.0.182
  • Wed, 06/04/2025 - 13:35
    gurux.dlms.c 9.0.2506.0401
  • Fri, 05/30/2025 - 08:30
    gurux.dlms.c 9.0.2505.3001
  • Tue, 05/27/2025 - 08:10
    Gurux.Serial.Android 2.0.12
  • Mon, 05/26/2025 - 08:39
    gurux.dlms.c 9.0.2505.2601

New forum topics

  • Day profile action item add error (String is not recognized as valid DateTime value)
  • Create gateway protocol in c
  • Error while reading event log object
  • GXDLMS Simulator – AssociationLogicalName Not Listed
  • Failed to read meter through raspberry pi 5 and probe
More

Who's new

  • wanghao-20
  • jin
  • MK_PY_2025
  • sm12345
  • jack 001
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin